Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: patches/to_upstream/06_remove_decode_on_config_no_svq3.patch

Issue 4533003: patched ffmpeg nov 2 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 diff -rpu -N orig/libavcodec/h264.h ffmpeg-mt/libavcodec/h264.h 1 diff -wurp -N orig/libavcodec/h264.h ffmpeg-mt/libavcodec/h264.h
2 --- orig/libavcodec/h264.h» 2010-10-11 16:54:40 -0700 2 --- orig/libavcodec/h264.h» 2010-11-04 08:06:46 -0700
3 +++ ffmpeg-mt/libavcodec/h264.h»2010-10-11 16:54:43 -0700 3 +++ ffmpeg-mt/libavcodec/h264.h»2010-11-04 08:06:51 -0700
4 @@ -602,9 +602,20 @@ typedef struct H264Context{ 4 @@ -602,9 +602,20 @@ typedef struct H264Context{
5 5
6 extern const uint8_t ff_h264_chroma_qp[52]; 6 extern const uint8_t ff_h264_chroma_qp[52];
7 7
8 +#if CONFIG_SVQ3_DECODER 8 +#if CONFIG_SVQ3_DECODER
9 void ff_svq3_luma_dc_dequant_idct_c(DCTELEM *block, int qp); 9 void ff_svq3_luma_dc_dequant_idct_c(DCTELEM *block, int qp);
10 10
11 void ff_svq3_add_idct_c(uint8_t *dst, DCTELEM *block, int stride, int qp, int d c); 11 void ff_svq3_add_idct_c(uint8_t *dst, DCTELEM *block, int stride, int qp, int d c);
12 +#else 12 +#else
13 + 13 +
14 +#define SVQ3_DISABLED_FUNC { av_log(NULL, AV_LOG_FATAL, "Calling svq3 when disa bled.\n"); } 14 +#define SVQ3_DISABLED_FUNC { av_log(NULL, AV_LOG_FATAL, "Calling svq3 when disa bled.\n"); }
15 + 15 +
16 +static void inline ff_svq3_luma_dc_dequant_idct_c(DCTELEM *block, int qp) SVQ3_ DISABLED_FUNC; 16 +static void inline ff_svq3_luma_dc_dequant_idct_c(DCTELEM *block, int qp) SVQ3_ DISABLED_FUNC;
17 + 17 +
18 +static void inline ff_svq3_add_idct_c(uint8_t *dst, DCTELEM *block, int stride, int qp, int dc) SVQ3_DISABLED_FUNC; 18 +static void inline ff_svq3_add_idct_c(uint8_t *dst, DCTELEM *block, int stride, int qp, int dc) SVQ3_DISABLED_FUNC;
19 + 19 +
20 +#endif 20 +#endif
21 + 21 +
22 22
23 /** 23 /**
24 * Decode SEI 24 * Decode SEI
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698