|
|
@ -27,7 +27,7 @@ public class SrsEncoder {
|
|
|
|
public static final String ACODEC = "audio/mp4a-latm";
|
|
|
|
public static final String ACODEC = "audio/mp4a-latm";
|
|
|
|
public static final int VPREV_WIDTH = 1280;
|
|
|
|
public static final int VPREV_WIDTH = 1280;
|
|
|
|
public static final int VPREV_HEIGHT = 720;
|
|
|
|
public static final int VPREV_HEIGHT = 720;
|
|
|
|
public static final int VOUT_WIDTH = 368;
|
|
|
|
public static final int VOUT_WIDTH = 384;
|
|
|
|
public static final int VOUT_HEIGHT = 640;
|
|
|
|
public static final int VOUT_HEIGHT = 640;
|
|
|
|
public static int vOutWidth = VOUT_WIDTH; // Note: the stride of resolution must be set as 16x for hard encoding with some chip like MTK
|
|
|
|
public static int vOutWidth = VOUT_WIDTH; // Note: the stride of resolution must be set as 16x for hard encoding with some chip like MTK
|
|
|
|
public static int vOutHeight = VOUT_HEIGHT; // Since Y component is quadruple size as U and V component, the stride must be set as 32x
|
|
|
|
public static int vOutHeight = VOUT_HEIGHT; // Since Y component is quadruple size as U and V component, the stride must be set as 32x
|
|
|
|