|
|
|
@ -363,7 +363,7 @@ static void gmc1_c(uint8_t *dst, uint8_t *src, int stride, int h, int x16, int y |
|
|
|
|
|
|
|
|
|
#define QPEL_MC(r, OPNAME, RND, OP) \ |
|
|
|
|
static void OPNAME ## mpeg4_qpel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h){\
|
|
|
|
|
uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
|
|
|
|
|
const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
|
|
|
|
|
do {\
|
|
|
|
|
uint8_t *s = src; \
|
|
|
|
|
int src0,src1,src2,src3,src4,src5,src6,src7,src8;\
|
|
|
|
@ -390,7 +390,7 @@ static void OPNAME ## mpeg4_qpel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstS |
|
|
|
|
}\
|
|
|
|
|
\
|
|
|
|
|
static void OPNAME ## mpeg4_qpel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride){\
|
|
|
|
|
uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
|
|
|
|
|
const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
|
|
|
|
|
int w=8;\
|
|
|
|
|
do{\
|
|
|
|
|
uint8_t *s = src, *d=dst;\
|
|
|
|
@ -418,7 +418,7 @@ static void OPNAME ## mpeg4_qpel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstS |
|
|
|
|
}\
|
|
|
|
|
\
|
|
|
|
|
static void OPNAME ## mpeg4_qpel16_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h){\
|
|
|
|
|
uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
|
|
|
|
|
const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
|
|
|
|
|
do {\
|
|
|
|
|
uint8_t *s = src;\
|
|
|
|
|
int src0,src1,src2,src3,src4,src5,src6,src7,src8;\
|
|
|
|
@ -462,7 +462,7 @@ static void OPNAME ## mpeg4_qpel16_h_lowpass(uint8_t *dst, uint8_t *src, int dst |
|
|
|
|
}\
|
|
|
|
|
\
|
|
|
|
|
static void OPNAME ## mpeg4_qpel16_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride){\
|
|
|
|
|
uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
|
|
|
|
|
const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
|
|
|
|
|
int w=16;\
|
|
|
|
|
do {\
|
|
|
|
|
uint8_t *s = src, *d=dst;\
|
|
|
|
@ -754,7 +754,7 @@ QPEL_MC(0, avg_ , _ , op_avg) |
|
|
|
|
#undef op_put_no_rnd |
|
|
|
|
|
|
|
|
|
static void wmv2_mspel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h){ |
|
|
|
|
uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; |
|
|
|
|
const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; |
|
|
|
|
|
|
|
|
|
do{ |
|
|
|
|
int src_1,src0,src1,src2,src3,src4,src5,src6,src7,src8,src9; |
|
|
|
@ -784,7 +784,7 @@ static void wmv2_mspel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){ |
|
|
|
|
uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; |
|
|
|
|
const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; |
|
|
|
|
|
|
|
|
|
do{ |
|
|
|
|
int src_1,src0,src1,src2,src3,src4,src5,src6,src7,src8,src9; |
|
|
|
|