# HG changeset patch # User michael # Date 1229679258 0 # Node ID c9918d072bdb00e82d31b17127aa219b7a90548c # Parent 0199857f9000719d06617675b05e32d849b7903b Document new idct requirements. diff -r 0199857f9000 -r c9918d072bdb dsputil.h --- a/dsputil.h Fri Dec 19 09:21:54 2008 +0000 +++ b/dsputil.h Fri Dec 19 09:34:18 2008 +0000 @@ -442,6 +442,10 @@ #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);