| OLD | NEW |
| 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 |
| OLD | NEW |