SCALEBITS 2414 ffmpeg.c #define ONE_HALF (1 << (SCALEBITS - 1)) SCALEBITS 2415 ffmpeg.c #define FIX(x) ((int) ((x) * (1<<SCALEBITS) + 0.5)) SCALEBITS 2419 ffmpeg.c FIX(0.11400) * (b) + ONE_HALF) >> SCALEBITS) SCALEBITS 2423 ffmpeg.c FIX(0.50000) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) SCALEBITS 2427 ffmpeg.c FIX(0.08131) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) SCALEBITS 392 ffplay.c #define ONE_HALF (1 << (SCALEBITS - 1)) SCALEBITS 393 ffplay.c #define FIX(x) ((int) ((x) * (1<<SCALEBITS) + 0.5)) SCALEBITS 397 ffplay.c FIX(0.11400*219.0/255.0) * (b) + (ONE_HALF + (16 << SCALEBITS))) >> SCALEBITS) SCALEBITS 401 ffplay.c FIX(0.50000*224.0/255.0) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) SCALEBITS 405 ffplay.c FIX(0.08131*224.0/255.0) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) SCALEBITS 31 libavcodec/colorspace.h #define ONE_HALF (1 << (SCALEBITS - 1)) SCALEBITS 32 libavcodec/colorspace.h #define FIX(x) ((int) ((x) * (1<<SCALEBITS) + 0.5)) SCALEBITS 47 libavcodec/colorspace.h r = cm[(y + r_add) >> SCALEBITS];\ SCALEBITS 48 libavcodec/colorspace.h g = cm[(y + g_add) >> SCALEBITS];\ SCALEBITS 49 libavcodec/colorspace.h b = cm[(y + b_add) >> SCALEBITS];\ SCALEBITS 63 libavcodec/colorspace.h y = (y1) << SCALEBITS;\ SCALEBITS 64 libavcodec/colorspace.h r = cm[(y + r_add) >> SCALEBITS];\ SCALEBITS 65 libavcodec/colorspace.h g = cm[(y + g_add) >> SCALEBITS];\ SCALEBITS 66 libavcodec/colorspace.h b = cm[(y + b_add) >> SCALEBITS];\ SCALEBITS 70 libavcodec/colorspace.h cm[((y) * FIX(255.0/219.0) + (ONE_HALF - 16 * FIX(255.0/219.0))) >> SCALEBITS] SCALEBITS 73 libavcodec/colorspace.h (((y) * FIX(219.0/255.0) + (ONE_HALF + (16 << SCALEBITS))) >> SCALEBITS) SCALEBITS 76 libavcodec/colorspace.h cm[(((y) - 128) * FIX(127.0/112.0) + (ONE_HALF + (128 << SCALEBITS))) >> SCALEBITS] SCALEBITS 80 libavcodec/colorspace.h y = (((y - 128) * FIX(112.0/127.0) + (ONE_HALF + (128 << SCALEBITS))) >> SCALEBITS); SCALEBITS 89 libavcodec/colorspace.h FIX(0.11400) * (b) + ONE_HALF) >> SCALEBITS) SCALEBITS 93 libavcodec/colorspace.h FIX(0.50000) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) SCALEBITS 97 libavcodec/colorspace.h FIX(0.08131) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) SCALEBITS 101 libavcodec/colorspace.h FIX(0.11400*219.0/255.0) * (b) + (ONE_HALF + (16 << SCALEBITS))) >> SCALEBITS) SCALEBITS 105 libavcodec/colorspace.h FIX(0.50000*224.0/255.0) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) SCALEBITS 109 libavcodec/colorspace.h FIX(0.08131*224.0/255.0) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) SCALEBITS 52 tests/rotozoom.c #define ONE_HALF (1 << (SCALEBITS - 1)) SCALEBITS 53 tests/rotozoom.c #define FIX(x) ((int) ((x) * (1L<<SCALEBITS) + 0.5)) SCALEBITS 75 tests/rotozoom.c FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; SCALEBITS 83 tests/rotozoom.c FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; SCALEBITS 94 tests/rotozoom.c FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; SCALEBITS 102 tests/rotozoom.c FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; SCALEBITS 105 tests/rotozoom.c FIX(0.50000) * b1 + 4 * ONE_HALF - 1) >> (SCALEBITS + 2)) + 128; SCALEBITS 107 tests/rotozoom.c FIX(0.08131) * b1 + 4 * ONE_HALF - 1) >> (SCALEBITS + 2)) + 128; SCALEBITS 29 tests/videogen.c #define ONE_HALF (1 << (SCALEBITS - 1)) SCALEBITS 30 tests/videogen.c #define FIX(x) ((int) ((x) * (1L<<SCALEBITS) + 0.5)) SCALEBITS 51 tests/videogen.c FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; SCALEBITS 59 tests/videogen.c FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; SCALEBITS 70 tests/videogen.c FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; SCALEBITS 78 tests/videogen.c FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; SCALEBITS 81 tests/videogen.c FIX(0.50000) * b1 + 4 * ONE_HALF - 1) >> (SCALEBITS + 2)) + 128; SCALEBITS 83 tests/videogen.c FIX(0.08131) * b1 + 4 * ONE_HALF - 1) >> (SCALEBITS + 2)) + 128; SCALEBITS 65 vhook/drawtext.c #define ONE_HALF (1 << (SCALEBITS - 1)) SCALEBITS 66 vhook/drawtext.c #define FIX(x) ((int) ((x) * (1<<SCALEBITS) + 0.5)) SCALEBITS 69 vhook/drawtext.c yuv_color[0] = (FIX(0.29900) * rgb_color[0] + FIX(0.58700) * rgb_color[1] + FIX(0.11400) * rgb_color[2] + ONE_HALF) >> SCALEBITS; \ SCALEBITS 70 vhook/drawtext.c yuv_color[2] = ((FIX(0.50000) * rgb_color[0] - FIX(0.41869) * rgb_color[1] - FIX(0.08131) * rgb_color[2] + ONE_HALF - 1) >> SCALEBITS) + 128; \ SCALEBITS 71 vhook/drawtext.c yuv_color[1] = ((- FIX(0.16874) * rgb_color[0] - FIX(0.33126) * rgb_color[1] + FIX(0.50000) * rgb_color[2] + ONE_HALF - 1) >> SCALEBITS) + 128; \ SCALEBITS 56 vhook/fish.c #define ONE_HALF (1 << (SCALEBITS - 1)) SCALEBITS 57 vhook/fish.c #define FIX(x) ((int) ((x) * (1<<SCALEBITS) + 0.5)) SCALEBITS 72 vhook/fish.c r = cm[(yt + r_add) >> SCALEBITS];\ SCALEBITS 73 vhook/fish.c g = cm[(yt + g_add) >> SCALEBITS];\ SCALEBITS 74 vhook/fish.c b = cm[(yt + b_add) >> SCALEBITS];\