Set VP9 as vpxenc default encoder
Change-Id: Idb8a133364fc29ac762ad344262bcc47c568a55c
This commit is contained in:
@@ -133,6 +133,10 @@ int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame) {
|
|||||||
#if CONFIG_ENCODERS
|
#if CONFIG_ENCODERS
|
||||||
|
|
||||||
static const VpxInterface vpx_encoders[] = {
|
static const VpxInterface vpx_encoders[] = {
|
||||||
|
#if CONFIG_VP10_ENCODER
|
||||||
|
{"vp10", VP10_FOURCC, &vpx_codec_vp10_cx},
|
||||||
|
#endif
|
||||||
|
|
||||||
#if CONFIG_VP8_ENCODER
|
#if CONFIG_VP8_ENCODER
|
||||||
{"vp8", VP8_FOURCC, &vpx_codec_vp8_cx},
|
{"vp8", VP8_FOURCC, &vpx_codec_vp8_cx},
|
||||||
#endif
|
#endif
|
||||||
@@ -140,10 +144,6 @@ static const VpxInterface vpx_encoders[] = {
|
|||||||
#if CONFIG_VP9_ENCODER
|
#if CONFIG_VP9_ENCODER
|
||||||
{"vp9", VP9_FOURCC, &vpx_codec_vp9_cx},
|
{"vp9", VP9_FOURCC, &vpx_codec_vp9_cx},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_VP10_ENCODER
|
|
||||||
{"vp10", VP10_FOURCC, &vpx_codec_vp10_cx},
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int get_vpx_encoder_count(void) {
|
int get_vpx_encoder_count(void) {
|
||||||
|
|||||||
Reference in New Issue
Block a user