diff options
Diffstat (limited to 'tools_common.c')
-rw-r--r-- | tools_common.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tools_common.c b/tools_common.c index fe3401c79..5c28037fc 100644 --- a/tools_common.c +++ b/tools_common.c @@ -16,11 +16,11 @@ #include "./tools_common.h" -#if CONFIG_VP8_ENCODER || CONFIG_VP9_ENCODER +#if CONFIG_VP8_ENCODER || CONFIG_VP9_ENCODER || CONFIG_VP10_ENCODER #include "vpx/vp8cx.h" #endif -#if CONFIG_VP8_DECODER || CONFIG_VP9_DECODER +#if CONFIG_VP8_DECODER || CONFIG_VP9_DECODER || CONFIG_VP10_DECODER #include "vpx/vp8dx.h" #endif @@ -140,6 +140,10 @@ static const VpxInterface vpx_encoders[] = { #if CONFIG_VP9_ENCODER {"vp9", VP9_FOURCC, &vpx_codec_vp9_cx}, #endif + +#if CONFIG_VP10_ENCODER + {"vp10", VP10_FOURCC, &vpx_codec_vp10_cx}, +#endif }; int get_vpx_encoder_count(void) { @@ -174,6 +178,10 @@ static const VpxInterface vpx_decoders[] = { #if CONFIG_VP9_DECODER {"vp9", VP9_FOURCC, &vpx_codec_vp9_dx}, #endif + +#if CONFIG_VP10_DECODER + {"vp10", VP10_FOURCC, &vpx_codec_vp10_dx}, +#endif }; int get_vpx_decoder_count(void) { |