115#define LOAD_TOP_RIGHT_EDGE\
116 av_unused const unsigned t4 = topright[0];\
117 av_unused const unsigned t5 = topright[1];\
118 av_unused const unsigned t6 = topright[2];\
119 av_unused const unsigned t7 = topright[3];\
121#define LOAD_DOWN_LEFT_EDGE\
122 av_unused const unsigned l4 = src[-1+4*stride];\
123 av_unused const unsigned l5 = src[-1+5*stride];\
124 av_unused const unsigned l6 = src[-1+6*stride];\
125 av_unused const unsigned l7 = src[-1+7*stride];\
127#define LOAD_LEFT_EDGE\
128 av_unused const unsigned l0 = src[-1+0*stride];\
129 av_unused const unsigned l1 = src[-1+1*stride];\
130 av_unused const unsigned l2 = src[-1+2*stride];\
131 av_unused const unsigned l3 = src[-1+3*stride];\
133#define LOAD_TOP_EDGE\
134 av_unused const unsigned t0 = src[ 0-1*stride];\
135 av_unused const unsigned t1 = src[ 1-1*stride];\
136 av_unused const unsigned t2 = src[ 2-1*stride];\
137 av_unused const unsigned t3 = src[ 3-1*stride];\
170 const pixel *topright = (
const pixel*)_topright;
195 const uint8_t *topright,
223 const uint8_t *_topright,
227 const pixel *topright = (
const pixel*)_topright;
276 const uint8_t *topright,
337#define PREDICT_16x16_DC(v)\
338 for(i=0; i<16; i++){\
339 AV_WN4PA(src+ 0, v);\
340 AV_WN4PA(src+ 4, v);\
341 AV_WN4PA(src+ 8, v);\
342 AV_WN4PA(src+12, v);\
395#define PRED16x16_X(n, v) \
396static void FUNCC(pred16x16_##n##_dc)(uint8_t *_src, ptrdiff_t stride)\
399 pixel *src = (pixel*)_src;\
400 stride >>= sizeof(pixel)-1;\
401 PREDICT_16x16_DC(PIXEL_SPLAT_X4(v));\
410static inline void FUNCC(pred16x16_plane_compat)(uint8_t *
_src,
424 for(k=2; k<=8; ++k) {
430 H = ( 5*(
H/4) ) / 16;
431 V = ( 5*(
V/4) ) / 16;
436 H = (
H + (
H>>2) ) >> 4;
437 V = (
V + (
V>>2) ) >> 4;
444 for(j=16; j>0; --j) {
447 for(
i=-16;
i<0;
i+=4) {
516#define PRED8x8_X(n, v)\
517static void FUNCC(pred8x8_##n##_dc)(uint8_t *_src, ptrdiff_t stride)\
520 const pixel4 a = PIXEL_SPLAT_X4(v);\
521 pixel *src = (pixel*)_src;\
522 stride >>= sizeof(pixel)-1;\
524 AV_WN4PA(((pixel4*)(src+i*stride))+0, a);\
525 AV_WN4PA(((pixel4*)(src+i*stride))+1, a);\
545 pixel4 dc0splat, dc2splat;
577 pixel4 dc0splat, dc1splat;
603 pixel4 dc0splat, dc1splat;
625 pixel4 dc0splat, dc1splat, dc2splat, dc3splat;
653 int dc0, dc1, dc2, dc3, dc4;
654 pixel4 dc0splat, dc1splat, dc2splat, dc3splat, dc4splat, dc5splat, dc6splat, dc7splat;
658 dc0=dc1=dc2=dc3=dc4=0;
687 for(
i=12;
i<16;
i++){
757 for(k=2; k<=4; ++k) {
762 H = ( 17*
H+16 ) >> 5;
763 V = ( 17*
V+16 ) >> 5;
793 for (k = 2; k <= 4; ++k) {
798 for (; k <= 8; ++k) {
807 for(j=16; j>0; --j) {
822#define SRC(x,y) src[(x)+(y)*stride]
824 const int l##y = (SRC(-1,y-1) + 2*SRC(-1,y) + SRC(-1,y+1) + 2) >> 2;
825#define PREDICT_8x8_LOAD_LEFT \
826 const int l0 = ((has_topleft ? SRC(-1,-1) : SRC(-1,0)) \
827 + 2*SRC(-1,0) + SRC(-1,1) + 2) >> 2; \
828 PL(1) PL(2) PL(3) PL(4) PL(5) PL(6) \
829 av_unused const int l7 = (SRC(-1,6) + 3*SRC(-1,7) + 2) >> 2
832 const int t##x = (SRC(x-1,-1) + 2*SRC(x,-1) + SRC(x+1,-1) + 2) >> 2;
833#define PREDICT_8x8_LOAD_TOP \
834 const int t0 = ((has_topleft ? SRC(-1,-1) : SRC(0,-1)) \
835 + 2*SRC(0,-1) + SRC(1,-1) + 2) >> 2; \
836 PT(1) PT(2) PT(3) PT(4) PT(5) PT(6) \
837 av_unused const int t7 = ((has_topright ? SRC(8,-1) : SRC(7,-1)) \
838 + 2*SRC(7,-1) + SRC(6,-1) + 2) >> 2
841 t##x = (SRC(x-1,-1) + 2*SRC(x,-1) + SRC(x+1,-1) + 2) >> 2;
842#define PREDICT_8x8_LOAD_TOPRIGHT \
843 int t8, t9, t10, t11, t12, t13, t14, t15; \
845 PTR(8) PTR(9) PTR(10) PTR(11) PTR(12) PTR(13) PTR(14) \
846 t15 = (SRC(14,-1) + 3*SRC(15,-1) + 2) >> 2; \
847 } else t8=t9=t10=t11=t12=t13=t14=t15= SRC(7,-1);
849#define PREDICT_8x8_LOAD_TOPLEFT \
850 const int lt = (SRC(-1,0) + 2*SRC(-1,-1) + SRC(0,-1) + 2) >> 2
852#define PREDICT_8x8_DC(v) \
854 for( y = 0; y < 8; y++ ) { \
855 AV_WN4PA(((pixel4*)src)+0, v); \
856 AV_WN4PA(((pixel4*)src)+1, v); \
861 int has_topright, ptrdiff_t
_stride)
869 int has_topright, ptrdiff_t
_stride)
879 int has_topright, ptrdiff_t
_stride)
889 int has_topright, ptrdiff_t
_stride)
897 +t0+t1+t2+t3+t4+t5+t6+t7+8) >> 4);
901 int has_topright, ptrdiff_t
_stride)
908#define ROW(y) a = PIXEL_SPLAT_X4(l##y); \
909 AV_WN4PA(src+y*stride, a); \
910 AV_WN4PA(src+y*stride+4, a);
915 int has_topright, ptrdiff_t
_stride)
933 for( y = 1; y < 8; y++ ) {
939 int has_topright, ptrdiff_t
_stride)
945 SRC(0,0)= (t0 + 2*t1 + t2 + 2) >> 2;
946 SRC(0,1)=
SRC(1,0)= (t1 + 2*t2 + t3 + 2) >> 2;
947 SRC(0,2)=
SRC(1,1)=
SRC(2,0)= (t2 + 2*t3 + t4 + 2) >> 2;
948 SRC(0,3)=
SRC(1,2)=
SRC(2,1)=
SRC(3,0)= (t3 + 2*t4 + t5 + 2) >> 2;
949 SRC(0,4)=
SRC(1,3)=
SRC(2,2)=
SRC(3,1)=
SRC(4,0)= (t4 + 2*t5 + t6 + 2) >> 2;
955 SRC(3,7)=
SRC(4,6)=
SRC(5,5)=
SRC(6,4)=
SRC(7,3)= (t10 + 2*t11 + t12 + 2) >> 2;
956 SRC(4,7)=
SRC(5,6)=
SRC(6,5)=
SRC(7,4)= (t11 + 2*t12 + t13 + 2) >> 2;
957 SRC(5,7)=
SRC(6,6)=
SRC(7,5)= (t12 + 2*t13 + t14 + 2) >> 2;
958 SRC(6,7)=
SRC(7,6)= (t13 + 2*t14 +
t15 + 2) >> 2;
959 SRC(7,7)= (t14 + 3*
t15 + 2) >> 2;
962 int has_topright, ptrdiff_t
_stride)
969 SRC(0,7)= (l7 + 2*l6 + l5 + 2) >> 2;
970 SRC(0,6)=
SRC(1,7)= (l6 + 2*l5 + l4 + 2) >> 2;
971 SRC(0,5)=
SRC(1,6)=
SRC(2,7)= (l5 + 2*l4 + l3 + 2) >> 2;
972 SRC(0,4)=
SRC(1,5)=
SRC(2,6)=
SRC(3,7)= (l4 + 2*l3 + l2 + 2) >> 2;
973 SRC(0,3)=
SRC(1,4)=
SRC(2,5)=
SRC(3,6)=
SRC(4,7)= (l3 + 2*l2 + l1 + 2) >> 2;
979 SRC(3,0)=
SRC(4,1)=
SRC(5,2)=
SRC(6,3)=
SRC(7,4)= (t1 + 2*t2 + t3 + 2) >> 2;
980 SRC(4,0)=
SRC(5,1)=
SRC(6,2)=
SRC(7,3)= (t2 + 2*t3 + t4 + 2) >> 2;
981 SRC(5,0)=
SRC(6,1)=
SRC(7,2)= (t3 + 2*t4 + t5 + 2) >> 2;
982 SRC(6,0)=
SRC(7,1)= (t4 + 2*t5 + t6 + 2) >> 2;
983 SRC(7,0)= (t5 + 2*t6 + t7 + 2) >> 2;
986 int has_topright, ptrdiff_t
_stride)
993 SRC(0,6)= (l5 + 2*l4 + l3 + 2) >> 2;
994 SRC(0,7)= (l6 + 2*l5 + l4 + 2) >> 2;
995 SRC(0,4)=
SRC(1,6)= (l3 + 2*l2 + l1 + 2) >> 2;
996 SRC(0,5)=
SRC(1,7)= (l4 + 2*l3 + l2 + 2) >> 2;
997 SRC(0,2)=
SRC(1,4)=
SRC(2,6)= (l1 + 2*l0 + lt + 2) >> 2;
998 SRC(0,3)=
SRC(1,5)=
SRC(2,7)= (l2 + 2*l1 + l0 + 2) >> 2;
999 SRC(0,1)=
SRC(1,3)=
SRC(2,5)=
SRC(3,7)= (l0 + 2*lt + t0 + 2) >> 2;
1000 SRC(0,0)=
SRC(1,2)=
SRC(2,4)=
SRC(3,6)= (lt + t0 + 1) >> 1;
1001 SRC(1,1)=
SRC(2,3)=
SRC(3,5)=
SRC(4,7)= (lt + 2*t0 + t1 + 2) >> 2;
1002 SRC(1,0)=
SRC(2,2)=
SRC(3,4)=
SRC(4,6)= (t0 + t1 + 1) >> 1;
1003 SRC(2,1)=
SRC(3,3)=
SRC(4,5)=
SRC(5,7)= (t0 + 2*t1 + t2 + 2) >> 2;
1004 SRC(2,0)=
SRC(3,2)=
SRC(4,4)=
SRC(5,6)= (t1 + t2 + 1) >> 1;
1005 SRC(3,1)=
SRC(4,3)=
SRC(5,5)=
SRC(6,7)= (t1 + 2*t2 + t3 + 2) >> 2;
1006 SRC(3,0)=
SRC(4,2)=
SRC(5,4)=
SRC(6,6)= (t2 + t3 + 1) >> 1;
1007 SRC(4,1)=
SRC(5,3)=
SRC(6,5)=
SRC(7,7)= (t2 + 2*t3 + t4 + 2) >> 2;
1008 SRC(4,0)=
SRC(5,2)=
SRC(6,4)=
SRC(7,6)= (t3 + t4 + 1) >> 1;
1009 SRC(5,1)=
SRC(6,3)=
SRC(7,5)= (t3 + 2*t4 + t5 + 2) >> 2;
1010 SRC(5,0)=
SRC(6,2)=
SRC(7,4)= (t4 + t5 + 1) >> 1;
1011 SRC(6,1)=
SRC(7,3)= (t4 + 2*t5 + t6 + 2) >> 2;
1012 SRC(6,0)=
SRC(7,2)= (t5 + t6 + 1) >> 1;
1013 SRC(7,1)= (t5 + 2*t6 + t7 + 2) >> 2;
1014 SRC(7,0)= (t6 + t7 + 1) >> 1;
1017 int has_topright, ptrdiff_t
_stride)
1024 SRC(0,7)= (l6 + l7 + 1) >> 1;
1025 SRC(1,7)= (l5 + 2*l6 + l7 + 2) >> 2;
1026 SRC(0,6)=
SRC(2,7)= (l5 + l6 + 1) >> 1;
1027 SRC(1,6)=
SRC(3,7)= (l4 + 2*l5 + l6 + 2) >> 2;
1028 SRC(0,5)=
SRC(2,6)=
SRC(4,7)= (l4 + l5 + 1) >> 1;
1029 SRC(1,5)=
SRC(3,6)=
SRC(5,7)= (l3 + 2*l4 + l5 + 2) >> 2;
1030 SRC(0,4)=
SRC(2,5)=
SRC(4,6)=
SRC(6,7)= (l3 + l4 + 1) >> 1;
1031 SRC(1,4)=
SRC(3,5)=
SRC(5,6)=
SRC(7,7)= (l2 + 2*l3 + l4 + 2) >> 2;
1032 SRC(0,3)=
SRC(2,4)=
SRC(4,5)=
SRC(6,6)= (l2 + l3 + 1) >> 1;
1033 SRC(1,3)=
SRC(3,4)=
SRC(5,5)=
SRC(7,6)= (l1 + 2*l2 + l3 + 2) >> 2;
1034 SRC(0,2)=
SRC(2,3)=
SRC(4,4)=
SRC(6,5)= (l1 + l2 + 1) >> 1;
1035 SRC(1,2)=
SRC(3,3)=
SRC(5,4)=
SRC(7,5)= (l0 + 2*l1 + l2 + 2) >> 2;
1036 SRC(0,1)=
SRC(2,2)=
SRC(4,3)=
SRC(6,4)= (l0 + l1 + 1) >> 1;
1037 SRC(1,1)=
SRC(3,2)=
SRC(5,3)=
SRC(7,4)= (lt + 2*l0 + l1 + 2) >> 2;
1038 SRC(0,0)=
SRC(2,1)=
SRC(4,2)=
SRC(6,3)= (lt + l0 + 1) >> 1;
1039 SRC(1,0)=
SRC(3,1)=
SRC(5,2)=
SRC(7,3)= (l0 + 2*lt + t0 + 2) >> 2;
1040 SRC(2,0)=
SRC(4,1)=
SRC(6,2)= (t1 + 2*t0 + lt + 2) >> 2;
1041 SRC(3,0)=
SRC(5,1)=
SRC(7,2)= (t2 + 2*t1 + t0 + 2) >> 2;
1042 SRC(4,0)=
SRC(6,1)= (t3 + 2*t2 + t1 + 2) >> 2;
1043 SRC(5,0)=
SRC(7,1)= (t4 + 2*t3 + t2 + 2) >> 2;
1044 SRC(6,0)= (t5 + 2*t4 + t3 + 2) >> 2;
1045 SRC(7,0)= (t6 + 2*t5 + t4 + 2) >> 2;
1048 int has_topright, ptrdiff_t
_stride)
1054 SRC(0,0)= (t0 + t1 + 1) >> 1;
1055 SRC(0,1)= (t0 + 2*t1 + t2 + 2) >> 2;
1056 SRC(0,2)=
SRC(1,0)= (t1 + t2 + 1) >> 1;
1057 SRC(0,3)=
SRC(1,1)= (t1 + 2*t2 + t3 + 2) >> 2;
1058 SRC(0,4)=
SRC(1,2)=
SRC(2,0)= (t2 + t3 + 1) >> 1;
1059 SRC(0,5)=
SRC(1,3)=
SRC(2,1)= (t2 + 2*t3 + t4 + 2) >> 2;
1060 SRC(0,6)=
SRC(1,4)=
SRC(2,2)=
SRC(3,0)= (t3 + t4 + 1) >> 1;
1061 SRC(0,7)=
SRC(1,5)=
SRC(2,3)=
SRC(3,1)= (t3 + 2*t4 + t5 + 2) >> 2;
1062 SRC(1,6)=
SRC(2,4)=
SRC(3,2)=
SRC(4,0)= (t4 + t5 + 1) >> 1;
1063 SRC(1,7)=
SRC(2,5)=
SRC(3,3)=
SRC(4,1)= (t4 + 2*t5 + t6 + 2) >> 2;
1064 SRC(2,6)=
SRC(3,4)=
SRC(4,2)=
SRC(5,0)= (t5 + t6 + 1) >> 1;
1065 SRC(2,7)=
SRC(3,5)=
SRC(4,3)=
SRC(5,1)= (t5 + 2*t6 + t7 + 2) >> 2;
1066 SRC(3,6)=
SRC(4,4)=
SRC(5,2)=
SRC(6,0)= (t6 + t7 + 1) >> 1;
1067 SRC(3,7)=
SRC(4,5)=
SRC(5,3)=
SRC(6,1)= (t6 + 2*t7 + t8 + 2) >> 2;
1068 SRC(4,6)=
SRC(5,4)=
SRC(6,2)=
SRC(7,0)= (t7 + t8 + 1) >> 1;
1069 SRC(4,7)=
SRC(5,5)=
SRC(6,3)=
SRC(7,1)= (t7 + 2*t8 + t9 + 2) >> 2;
1070 SRC(5,6)=
SRC(6,4)=
SRC(7,2)= (t8 + t9 + 1) >> 1;
1071 SRC(5,7)=
SRC(6,5)=
SRC(7,3)= (t8 + 2*t9 + t10 + 2) >> 2;
1072 SRC(6,6)=
SRC(7,4)= (t9 + t10 + 1) >> 1;
1073 SRC(6,7)=
SRC(7,5)= (t9 + 2*t10 + t11 + 2) >> 2;
1074 SRC(7,6)= (t10 + t11 + 1) >> 1;
1075 SRC(7,7)= (t10 + 2*t11 + t12 + 2) >> 2;
1078 int has_topright, ptrdiff_t
_stride)
1083 SRC(0,0)= (l0 + l1 + 1) >> 1;
1084 SRC(1,0)= (l0 + 2*l1 + l2 + 2) >> 2;
1085 SRC(0,1)=
SRC(2,0)= (l1 + l2 + 1) >> 1;
1086 SRC(1,1)=
SRC(3,0)= (l1 + 2*l2 + l3 + 2) >> 2;
1087 SRC(0,2)=
SRC(2,1)=
SRC(4,0)= (l2 + l3 + 1) >> 1;
1088 SRC(1,2)=
SRC(3,1)=
SRC(5,0)= (l2 + 2*l3 + l4 + 2) >> 2;
1089 SRC(0,3)=
SRC(2,2)=
SRC(4,1)=
SRC(6,0)= (l3 + l4 + 1) >> 1;
1090 SRC(1,3)=
SRC(3,2)=
SRC(5,1)=
SRC(7,0)= (l3 + 2*l4 + l5 + 2) >> 2;
1091 SRC(0,4)=
SRC(2,3)=
SRC(4,2)=
SRC(6,1)= (l4 + l5 + 1) >> 1;
1092 SRC(1,4)=
SRC(3,3)=
SRC(5,2)=
SRC(7,1)= (l4 + 2*l5 + l6 + 2) >> 2;
1093 SRC(0,5)=
SRC(2,4)=
SRC(4,3)=
SRC(6,2)= (l5 + l6 + 1) >> 1;
1094 SRC(1,5)=
SRC(3,4)=
SRC(5,3)=
SRC(7,2)= (l5 + 2*l6 + l7 + 2) >> 2;
1095 SRC(0,6)=
SRC(2,5)=
SRC(4,4)=
SRC(6,3)= (l6 + l7 + 1) >> 1;
1096 SRC(1,6)=
SRC(3,5)=
SRC(5,4)=
SRC(7,3)= (l6 + 3*l7 + 2) >> 2;
1104 int has_topright, ptrdiff_t
_stride)
1136 memset(_block, 0,
sizeof(
dctcoef) * 64);
1140 int has_topright, ptrdiff_t
_stride)
1172 memset(_block, 0,
sizeof(
dctcoef) * 64);
1175#undef PREDICT_8x8_LOAD_LEFT
1176#undef PREDICT_8x8_LOAD_TOP
1177#undef PREDICT_8x8_LOAD_TOPLEFT
1178#undef PREDICT_8x8_LOAD_TOPRIGHT
1179#undef PREDICT_8x8_DC
1203 memset(_block, 0,
sizeof(
dctcoef) * 16);
1223 memset(_block, 0,
sizeof(
dctcoef) * 16);
1248 memset(_block, 0,
sizeof(
dctcoef) * 64);
1272 memset(_block, 0,
sizeof(
dctcoef) * 64);
1285 const int *block_offset,
1322 const int *block_offset,
uint8_t ptrdiff_t const uint8_t * _src
#define PIXEL_SPLAT_X4(x)
#define i(width, name, range_min, range_max)
#define PREDICT_16x16_DC(v)
static void FUNCC pred8x8l_horizontal_add(uint8_t *_pix, int16_t *_block, ptrdiff_t stride)
static void FUNC pred8x16_mad_cow_dc_0lt(uint8_t *src, ptrdiff_t stride)
static void FUNCC pred4x4_vertical_right(uint8_t *_src, const uint8_t *topright, ptrdiff_t _stride)
static void FUNCC pred16x16_plane(uint8_t *src, ptrdiff_t stride)
#define LOAD_TOP_RIGHT_EDGE
static void FUNCC pred16x16_dc(uint8_t *_src, ptrdiff_t stride)
static void FUNCC pred4x4_top_dc(uint8_t *_src, const uint8_t *topright, ptrdiff_t _stride)
static void FUNCC pred8x8l_vertical_add(uint8_t *_pix, int16_t *_block, ptrdiff_t stride)
static void FUNCC pred8x8l_vertical_filter_add(uint8_t *_src, int16_t *_block, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNCC pred16x16_left_dc(uint8_t *_src, ptrdiff_t stride)
#define PREDICT_8x8_LOAD_LEFT
static void FUNCC pred16x16_horizontal_add(uint8_t *pix, const int *block_offset, int16_t *block, ptrdiff_t stride)
static void FUNCC pred8x8l_left_dc(uint8_t *_src, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNCC pred8x8_horizontal(uint8_t *_src, ptrdiff_t stride)
#define PREDICT_8x8_LOAD_TOP
static void FUNC pred8x8_mad_cow_dc_l0t(uint8_t *src, ptrdiff_t stride)
static void FUNCC pred4x4_horizontal_up(uint8_t *_src, const uint8_t *topright, ptrdiff_t _stride)
static void FUNCC pred8x8l_down_left(uint8_t *_src, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNCC pred4x4_vertical_add(uint8_t *_pix, int16_t *_block, ptrdiff_t stride)
#define PREDICT_8x8_LOAD_TOPLEFT
static void FUNCC pred4x4_128_dc(uint8_t *_src, const uint8_t *topright, ptrdiff_t _stride)
static void FUNC pred8x8_mad_cow_dc_l00(uint8_t *src, ptrdiff_t stride)
static void FUNC pred8x16_mad_cow_dc_l0t(uint8_t *src, ptrdiff_t stride)
static void FUNCC pred4x4_vertical(uint8_t *_src, const uint8_t *topright, ptrdiff_t _stride)
static void FUNCC pred8x8l_vertical(uint8_t *_src, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNC pred8x8_mad_cow_dc_0l0(uint8_t *src, ptrdiff_t stride)
static void FUNCC pred8x8l_vertical_left(uint8_t *_src, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNCC pred8x8l_horizontal_filter_add(uint8_t *_src, int16_t *_block, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNCC pred8x16_horizontal_add(uint8_t *pix, const int *block_offset, int16_t *block, ptrdiff_t stride)
static void FUNCC pred8x8_dc(uint8_t *_src, ptrdiff_t stride)
static void FUNCC pred8x8l_top_dc(uint8_t *_src, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNCC pred4x4_horizontal_down(uint8_t *_src, const uint8_t *topright, ptrdiff_t _stride)
static void FUNCC pred8x8l_vertical_right(uint8_t *_src, int has_topleft, int has_topright, ptrdiff_t _stride)
FUNCC pred8x8_128_dc(_src+8 *stride, stride)
static void FUNCC pred8x8l_128_dc(uint8_t *_src, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNC pred8x16_mad_cow_dc_l00(uint8_t *src, ptrdiff_t stride)
static void FUNC pred8x8_mad_cow_dc_0lt(uint8_t *src, ptrdiff_t stride)
static void FUNCC pred4x4_dc(uint8_t *_src, const uint8_t *topright, ptrdiff_t _stride)
static void FUNCC pred8x8l_dc(uint8_t *_src, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNCC pred16x16_vertical_add(uint8_t *pix, const int *block_offset, int16_t *block, ptrdiff_t stride)
static void FUNCC pred8x16_top_dc(uint8_t *_src, ptrdiff_t stride)
static void FUNCC pred4x4_horizontal_add(uint8_t *_pix, int16_t *_block, ptrdiff_t stride)
#define PRED16x16_X(n, v)
static void FUNCC pred8x8_top_dc(uint8_t *_src, ptrdiff_t stride)
static void FUNCC pred8x8_plane(uint8_t *_src, ptrdiff_t _stride)
static void FUNCC pred8x8l_horizontal_down(uint8_t *_src, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNCC pred16x16_vertical(uint8_t *_src, ptrdiff_t _stride)
static void FUNCC pred8x16_vertical(uint8_t *_src, ptrdiff_t _stride)
static void FUNCC pred8x16_left_dc(uint8_t *_src, ptrdiff_t stride)
static void FUNCC pred8x8l_down_right(uint8_t *_src, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNCC pred16x16_top_dc(uint8_t *_src, ptrdiff_t stride)
static void FUNCC pred8x8_horizontal_add(uint8_t *pix, const int *block_offset, int16_t *block, ptrdiff_t stride)
static void FUNCC pred8x8l_horizontal_up(uint8_t *_src, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNCC pred4x4_vertical_left(uint8_t *_src, const uint8_t *_topright, ptrdiff_t _stride)
static void FUNC pred8x16_mad_cow_dc_0l0(uint8_t *src, ptrdiff_t stride)
static void FUNCC pred8x16_plane(uint8_t *_src, ptrdiff_t _stride)
static void FUNCC pred4x4_down_left(uint8_t *_src, const uint8_t *_topright, ptrdiff_t _stride)
static void FUNCC pred8x8_vertical_add(uint8_t *pix, const int *block_offset, int16_t *block, ptrdiff_t stride)
static void FUNCC pred16x16_horizontal(uint8_t *_src, ptrdiff_t stride)
static void FUNCC pred8x16_horizontal(uint8_t *_src, ptrdiff_t stride)
static void FUNCC pred4x4_horizontal(uint8_t *_src, const uint8_t *topright, ptrdiff_t _stride)
static void FUNCC pred8x16_vertical_add(uint8_t *pix, const int *block_offset, int16_t *block, ptrdiff_t stride)
static void FUNCC pred8x16_dc(uint8_t *_src, ptrdiff_t stride)
#define PREDICT_8x8_DC(v)
ptrdiff_t const int const int rv40
static void FUNCC pred8x8_vertical(uint8_t *_src, ptrdiff_t _stride)
static void FUNCC pred8x8l_horizontal(uint8_t *_src, int has_topleft, int has_topright, ptrdiff_t _stride)
static void FUNCC pred4x4_left_dc(uint8_t *_src, const uint8_t *topright, ptrdiff_t _stride)
static void FUNCC pred8x8_left_dc(uint8_t *_src, ptrdiff_t stride)
static void FUNCC pred4x4_down_right(uint8_t *_src, const uint8_t *topright, ptrdiff_t _stride)
#define PREDICT_8x8_LOAD_TOPRIGHT
static int t15(InterplayACMContext *s, unsigned ind, unsigned col)