aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-12-19 09:34:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-12-19 09:34:18 +0000
commit6a1846eb4abcb7839e3ef2a52f8f73ff78b0aac0 (patch)
tree5cb8479a5898afaa0f2202302c7b44e728fb8446
parenta5805aa9d1d4bb9497bc4c12277d591ef776d440 (diff)
downloadffmpeg-6a1846eb4abcb7839e3ef2a52f8f73ff78b0aac0.tar.gz
Document new idct requirements.
Originally committed as revision 16237 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/dsputil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index d4df99bafe..5beda8b423 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -442,6 +442,10 @@ typedef struct DSPContext {
#define EDGE_WIDTH 16
/* h264 functions */
+ /* NOTE!!! if you implement any of h264_idct8_add, h264_idct8_add4 then you must implement all of them
+ NOTE!!! if you implement any of h264_idct_add, h264_idct_add16, h264_idct_add16intra, h264_idct_add8 then you must implement all of them
+ The reason for above, is that no 2 out of one list may use a different permutation.
+ */
void (*h264_idct_add)(uint8_t *dst/*align 4*/, DCTELEM *block/*align 16*/, int stride);
void (*h264_idct8_add)(uint8_t *dst/*align 8*/, DCTELEM *block/*align 16*/, int stride);
void (*h264_idct_dc_add)(uint8_t *dst/*align 4*/, DCTELEM *block/*align 16*/, int stride);