Changes in / [5f49e92:024a5f7] in ffmpeg
- Location:
- libavcodec
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
libavcodec/bfin/vp3_bfin.c
r5f49e92 r024a5f7 31 31 static void bfin_vp3_idct_put(uint8_t *dest, int line_size, int16_t *block) 32 32 { 33 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP + 128;33 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP + 128; 34 34 int i,j; 35 35 -
libavcodec/dvdsubdec.c
r5f49e92 r024a5f7 41 41 static void yuv_a_to_rgba(const uint8_t *ycbcr, const uint8_t *alpha, uint32_t *rgba, int num_values) 42 42 { 43 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;43 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 44 44 uint8_t r, g, b; 45 45 int i, y, cb, cr; -
libavcodec/imgconvert.c
r5f49e92 r024a5f7 484 484 int size) 485 485 { 486 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;486 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 487 487 int sum; 488 488 … … 507 507 uint8_t *lum, int size) 508 508 { 509 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;509 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 510 510 int sum; 511 511 -
libavcodec/rv30.c
r5f49e92 r024a5f7 125 125 const int stride, const int lim) 126 126 { 127 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;127 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 128 128 int i, diff; 129 129 -
libavcodec/rv30dsp.c
r5f49e92 r024a5f7 33 33 static av_unused void OPNAME ## rv30_tpel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, const int C1, const int C2){\ 34 34 const int h = 8;\ 35 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\35 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ 36 36 int i;\ 37 37 for(i = 0; i < h; i++)\ … … 52 52 static void OPNAME ## rv30_tpel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, const int C1, const int C2){\ 53 53 const int w = 8;\ 54 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\54 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ 55 55 int i;\ 56 56 for(i = 0; i < w; i++)\ … … 83 83 const int w = 8;\ 84 84 const int h = 8;\ 85 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\85 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ 86 86 int i, j;\ 87 87 for(j = 0; j < h; j++){\ … … 102 102 const int w = 8;\ 103 103 const int h = 8;\ 104 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\104 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ 105 105 int i, j;\ 106 106 for(j = 0; j < h; j++){\ … … 121 121 const int w = 8;\ 122 122 const int h = 8;\ 123 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\123 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ 124 124 int i, j;\ 125 125 for(j = 0; j < h; j++){\ … … 140 140 const int w = 8;\ 141 141 const int h = 8;\ 142 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\142 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ 143 143 int i, j;\ 144 144 for(j = 0; j < h; j++){\ -
libavcodec/rv40dsp.c
r5f49e92 r024a5f7 34 34 static av_unused void OPNAME ## rv40_qpel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride,\ 35 35 const int h, const int C1, const int C2, const int SHIFT){\ 36 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\36 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ 37 37 int i;\ 38 38 for(i = 0; i < h; i++)\ … … 53 53 static void OPNAME ## rv40_qpel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride,\ 54 54 const int w, const int C1, const int C2, const int SHIFT){\ 55 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\55 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ 56 56 int i;\ 57 57 for(i = 0; i < w; i++)\ … … 352 352 const int lim_p1) 353 353 { 354 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;354 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 355 355 int i, t, u, diff; 356 356 -
libavcodec/sh4/dsputil_sh4.c
r5f49e92 r024a5f7 57 57 { 58 58 int i; 59 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;59 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 60 60 ff_idct_sh4(block); 61 61 for(i=0;i<8;i++) { … … 75 75 { 76 76 int i; 77 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;77 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 78 78 ff_idct_sh4(block); 79 79 for(i=0;i<8;i++) { -
libavcodec/sh4/qpel.c
r5f49e92 r024a5f7 364 364 #define QPEL_MC(r, OPNAME, RND, OP) \ 365 365 static void OPNAME ## mpeg4_qpel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h){\ 366 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\366 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ 367 367 do {\ 368 368 uint8_t *s = src; \ … … 391 391 \ 392 392 static void OPNAME ## mpeg4_qpel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride){\ 393 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\393 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ 394 394 int w=8;\ 395 395 do{\ … … 419 419 \ 420 420 static void OPNAME ## mpeg4_qpel16_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h){\ 421 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\421 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ 422 422 do {\ 423 423 uint8_t *s = src;\ … … 463 463 \ 464 464 static void OPNAME ## mpeg4_qpel16_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride){\ 465 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\465 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ 466 466 int w=16;\ 467 467 do {\ … … 755 755 756 756 static void wmv2_mspel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h){ 757 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;757 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 758 758 759 759 do{ … … 785 785 786 786 static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){ 787 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;787 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 788 788 789 789 do{ -
libavcodec/vp3.c
r5f49e92 r024a5f7 382 382 int qscale= i ? ac_scale_factor : dc_scale_factor; 383 383 384 s->qmat[qpi][inter][plane][s->idct_permutation[i]]= av_clip((qscale * coeff)/100 * 4, qmin, 4096); 384 s->qmat[qpi][inter][plane][s->idct_permutation[i]] = 385 av_clip((qscale * coeff) / 100 * 4, qmin, 4096); 385 386 } 386 387 // all DC coefficients use the same quant so as not to interfere with DC prediction -
libavcodec/vp8dsp.c
r5f49e92 r024a5f7 161 161 LOAD_PIXELS 162 162 int a, f1, f2; 163 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;163 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 164 164 165 165 a = 3*(q0 - p0); … … 216 216 { 217 217 int a0, a1, a2, w; 218 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;218 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 219 219 220 220 LOAD_PIXELS … … 338 338 { \ 339 339 const uint8_t *filter = subpel_filters[mx-1]; \ 340 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; \340 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; \ 341 341 int x, y; \ 342 342 \ … … 352 352 { \ 353 353 const uint8_t *filter = subpel_filters[my-1]; \ 354 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; \354 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; \ 355 355 int x, y; \ 356 356 \ … … 366 366 { \ 367 367 const uint8_t *filter = subpel_filters[mx-1]; \ 368 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; \368 const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; \ 369 369 int x, y; \ 370 370 uint8_t tmp_array[(2*SIZE+VTAPS-1)*SIZE]; \
Note:
See TracChangeset
for help on using the changeset viewer.