Revision 55fde95e libavcodec/cavsdsp.c

View differences:

libavcodec/cavsdsp.c
184 184
static void cavs_idct8_add_c(uint8_t *dst, DCTELEM *block, int stride) {
185 185
    int i;
186 186
    DCTELEM (*src)[8] = (DCTELEM(*)[8])block;
187
    uint8_t *cm = cropTbl + MAX_NEG_CROP;
187
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
188 188

  
189 189
    src[0][0] += 8;
190 190

  
......
260 260
#define CAVS_SUBPIX(OPNAME, OP, NAME, A, B, C, D, E, F) \
261 261
static void OPNAME ## cavs_filt8_h_ ## NAME(uint8_t *dst, uint8_t *src, int dstStride, int srcStride){\
262 262
    const int h=8;\
263
    uint8_t *cm = cropTbl + MAX_NEG_CROP;\
263
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
264 264
    int i;\
265 265
    for(i=0; i<h; i++)\
266 266
    {\
......
279 279
\
280 280
static void OPNAME ## cavs_filt8_v_  ## NAME(uint8_t *dst, uint8_t *src, int dstStride, int srcStride){\
281 281
    const int w=8;\
282
    uint8_t *cm = cropTbl + MAX_NEG_CROP;\
282
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
283 283
    int i;\
284 284
    for(i=0; i<w; i++)\
285 285
    {\
......
333 333
    int16_t *tmp = temp;\
334 334
    const int h=8;\
335 335
    const int w=8;\
336
    uint8_t *cm = cropTbl + MAX_NEG_CROP;\
336
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\
337 337
    int i;\
338 338
    src1 -= 2*srcStride;\
339 339
    for(i=0; i<h+5; i++)\

Also available in: Unified diff