Revision 55fde95e libavcodec/sh4/qpel.c

View differences:

libavcodec/sh4/qpel.c
633 633

  
634 634
#define QPEL_MC(r, OPNAME, RND, OP) \
635 635
static void OPNAME ## mpeg4_qpel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h){\
636
    uint8_t *cm = cropTbl + MAX_NEG_CROP;\
636
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
637 637
    do {\
638 638
        uint8_t *s = src; \
639 639
        int src0,src1,src2,src3,src4,src5,src6,src7,src8;\
......
660 660
}\
661 661
\
662 662
static void OPNAME ## mpeg4_qpel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride){\
663
    uint8_t *cm = cropTbl + MAX_NEG_CROP;\
663
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
664 664
    int w=8;\
665 665
    do{\
666 666
        uint8_t *s = src, *d=dst;\
......
688 688
}\
689 689
\
690 690
static void OPNAME ## mpeg4_qpel16_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h){\
691
    uint8_t *cm = cropTbl + MAX_NEG_CROP;\
691
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
692 692
    do {\
693 693
        uint8_t *s = src;\
694 694
        int src0,src1,src2,src3,src4,src5,src6,src7,src8;\
......
732 732
}\
733 733
\
734 734
static void OPNAME ## mpeg4_qpel16_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride){\
735
    uint8_t *cm = cropTbl + MAX_NEG_CROP;\
735
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
736 736
    int w=16;\
737 737
    do {\
738 738
        uint8_t *s = src, *d=dst;\
......
1158 1158
#if 1
1159 1159
#define H264_LOWPASS(OPNAME, OP, OP2) \
1160 1160
static inline void OPNAME ## h264_qpel_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride,int w,int h){\
1161
    uint8_t *cm = cropTbl + MAX_NEG_CROP;\
1161
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
1162 1162
    do {\
1163 1163
        int srcB,srcA,src0,src1,src2,src3,src4,src5,src6;\
1164 1164
        uint8_t *s = src-2;\
......
1211 1211
}\
1212 1212
\
1213 1213
static inline void OPNAME ## h264_qpel_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride,int w,int h){\
1214
    uint8_t *cm = cropTbl + MAX_NEG_CROP;\
1214
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
1215 1215
    do{\
1216 1216
        int srcB,srcA,src0,src1,src2,src3,src4,src5,src6;\
1217 1217
        uint8_t *s = src-2*srcStride,*d=dst;\
......
1264 1264
}\
1265 1265
\
1266 1266
static inline void OPNAME ## h264_qpel_hv_lowpass(uint8_t *dst, int16_t *tmp, uint8_t *src, int dstStride, int tmpStride, int srcStride,int w,int h){\
1267
    uint8_t *cm = cropTbl + MAX_NEG_CROP;\
1267
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
1268 1268
    int i;\
1269 1269
    src -= 2*srcStride;\
1270 1270
    i= h+5; \
......
1559 1559
#endif
1560 1560

  
1561 1561
static void wmv2_mspel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h){
1562
    uint8_t *cm = cropTbl + MAX_NEG_CROP;
1562
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
1563 1563

  
1564 1564
    do{
1565 1565
        int src_1,src0,src1,src2,src3,src4,src5,src6,src7,src8,src9;
......
1589 1589
}
1590 1590

  
1591 1591
static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){
1592
    uint8_t *cm = cropTbl + MAX_NEG_CROP;
1592
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
1593 1593

  
1594 1594
    do{
1595 1595
        int src_1,src0,src1,src2,src3,src4,src5,src6,src7,src8,src9;

Also available in: Unified diff