30 #ifndef AVCODEC_DSPUTIL_H
31 #define AVCODEC_DSPUTIL_H
46 #define MAX_NEG_CROP 1024
52 #define PUTAVG_PIXELS(depth)\
53 void ff_put_pixels8x8_ ## depth ## _c(uint8_t *dst, uint8_t *src, int stride);\
54 void ff_avg_pixels8x8_ ## depth ## _c(uint8_t *dst, uint8_t *src, int stride);\
55 void ff_put_pixels16x16_ ## depth ## _c(uint8_t *dst, uint8_t *src, int stride);\
56 void ff_avg_pixels16x16_ ## depth ## _c(uint8_t *dst, uint8_t *src, int stride);
64 #define ff_put_pixels8x8_c ff_put_pixels8x8_8_c
65 #define ff_avg_pixels8x8_c ff_avg_pixels8x8_8_c
66 #define ff_put_pixels16x16_c ff_put_pixels16x16_8_c
67 #define ff_avg_pixels16x16_c ff_avg_pixels16x16_8_c
100 #define DEF_OLD_QPEL(name)\
101 void ff_put_ ## name (uint8_t *dst, uint8_t *src, int stride);\
102 void ff_put_no_rnd_ ## name (uint8_t *dst, uint8_t *src, int stride);\
103 void ff_avg_ ## name (uint8_t *dst, uint8_t *src, int stride);
118 #define CALL_2X_PIXELS(a, b, n)\
119 static void a(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h){\
120 b(block , pixels , line_size, h);\
121 b(block+n, pixels+n, line_size, h);\
140 int idct_permutation_type);
324 #define FF_NO_IDCT_PERM 1
325 #define FF_LIBMPEG2_IDCT_PERM 2
326 #define FF_SIMPLE_IDCT_PERM 3
327 #define FF_TRANSPOSE_IDCT_PERM 4
328 #define FF_PARTTRANS_IDCT_PERM 5
329 #define FF_SSE2_IDCT_PERM 6
333 #define BASIS_SHIFT 16
334 #define RECON_SHIFT 6
337 #define EDGE_WIDTH 16
339 #define EDGE_BOTTOM 2
368 const int16_t *window,
unsigned int len);