Added
Link Here
|
1 |
--- contrib/ffmpeg/A90-libvpx-1.5.0.patch.orig 2015-11-11 20:38:40 UTC |
2 |
+++ contrib/ffmpeg/A90-libvpx-1.5.0.patch |
3 |
@@ -0,0 +1,39 @@ |
4 |
+commit 6540fe0 |
5 |
+Author: James Zern <jzern@google.com> |
6 |
+Date: Mon Oct 19 22:44:11 2015 -0700 |
7 |
+ |
8 |
+ libvpxenc: remove some unused ctrl id mappings |
9 |
+ |
10 |
+ VP8E_UPD_ENTROPY, VP8E_UPD_REFERENCE, VP8E_USE_REFERENCE were removed |
11 |
+ from libvpx and the remaining values were never used here |
12 |
+ |
13 |
+ Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> |
14 |
+ Signed-off-by: James Zern <jzern@google.com> |
15 |
+--- |
16 |
+ libavcodec/libvpxenc.c | 8 -------- |
17 |
+ 1 file changed, 8 deletions(-) |
18 |
+ |
19 |
+diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c |
20 |
+index 5f39783..992122c 100644 |
21 |
+--- a/libavcodec/libvpxenc.c |
22 |
++++ b/libavcodec/libvpxenc.c |
23 |
+@@ -104,19 +104,11 @@ typedef struct VP8EncoderContext { |
24 |
+ |
25 |
+ /** String mappings for enum vp8e_enc_control_id */ |
26 |
+ static const char *const ctlidstr[] = { |
27 |
+- [VP8E_UPD_ENTROPY] = "VP8E_UPD_ENTROPY", |
28 |
+- [VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE", |
29 |
+- [VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE", |
30 |
+- [VP8E_SET_ROI_MAP] = "VP8E_SET_ROI_MAP", |
31 |
+- [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP", |
32 |
+- [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE", |
33 |
+ [VP8E_SET_CPUUSED] = "VP8E_SET_CPUUSED", |
34 |
+ [VP8E_SET_ENABLEAUTOALTREF] = "VP8E_SET_ENABLEAUTOALTREF", |
35 |
+ [VP8E_SET_NOISE_SENSITIVITY] = "VP8E_SET_NOISE_SENSITIVITY", |
36 |
+- [VP8E_SET_SHARPNESS] = "VP8E_SET_SHARPNESS", |
37 |
+ [VP8E_SET_STATIC_THRESHOLD] = "VP8E_SET_STATIC_THRESHOLD", |
38 |
+ [VP8E_SET_TOKEN_PARTITIONS] = "VP8E_SET_TOKEN_PARTITIONS", |
39 |
+- [VP8E_GET_LAST_QUANTIZER] = "VP8E_GET_LAST_QUANTIZER", |
40 |
+ [VP8E_SET_ARNR_MAXFRAMES] = "VP8E_SET_ARNR_MAXFRAMES", |
41 |
+ [VP8E_SET_ARNR_STRENGTH] = "VP8E_SET_ARNR_STRENGTH", |
42 |
+ [VP8E_SET_ARNR_TYPE] = "VP8E_SET_ARNR_TYPE", |