projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbb9ca4
)
Set VP9 as vpxenc default encoder
author
Jingning Han
<jingning@google.com>
Sat, 15 Aug 2015 22:57:54 +0000
(15:57 -0700)
committer
Jingning Han
<jingning@google.com>
Sat, 15 Aug 2015 22:59:18 +0000
(15:59 -0700)
Change-Id: Idb8a133364fc29ac762ad344262bcc47c568a55c
tools_common.c
patch
|
blob
|
history
diff --git
a/tools_common.c
b/tools_common.c
index
77e6bec
..
20b259c
100644
(file)
--- a/
tools_common.c
+++ b/
tools_common.c
@@
-133,6
+133,10
@@
int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame) {
#if CONFIG_ENCODERS
static const VpxInterface vpx_encoders[] = {
+#if CONFIG_VP10_ENCODER
+ {"vp10", VP10_FOURCC, &vpx_codec_vp10_cx},
+#endif
+
#if CONFIG_VP8_ENCODER
{"vp8", VP8_FOURCC, &vpx_codec_vp8_cx},
#endif
@@
-140,10
+144,6
@@
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) {