SCALEBITS 31 libavutil/colorspace.h #define ONE_HALF (1 << (SCALEBITS - 1)) SCALEBITS 32 libavutil/colorspace.h #define FIX(x) ((int) ((x) * (1<<SCALEBITS) + 0.5)) SCALEBITS 47 libavutil/colorspace.h r = cm[(y + r_add) >> SCALEBITS];\ SCALEBITS 48 libavutil/colorspace.h g = cm[(y + g_add) >> SCALEBITS];\ SCALEBITS 49 libavutil/colorspace.h b = cm[(y + b_add) >> SCALEBITS];\ SCALEBITS 63 libavutil/colorspace.h y = (y1) << SCALEBITS;\ SCALEBITS 64 libavutil/colorspace.h r = cm[(y + r_add) >> SCALEBITS];\ SCALEBITS 65 libavutil/colorspace.h g = cm[(y + g_add) >> SCALEBITS];\ SCALEBITS 66 libavutil/colorspace.h b = cm[(y + b_add) >> SCALEBITS];\ SCALEBITS 70 libavutil/colorspace.h cm[((y) * FIX(255.0/219.0) + (ONE_HALF - 16 * FIX(255.0/219.0))) >> SCALEBITS] SCALEBITS 73 libavutil/colorspace.h (((y) * FIX(219.0/255.0) + (ONE_HALF + (16 << SCALEBITS))) >> SCALEBITS) SCALEBITS 76 libavutil/colorspace.h cm[(((y) - 128) * FIX(127.0/112.0) + (ONE_HALF + (128 << SCALEBITS))) >> SCALEBITS] SCALEBITS 80 libavutil/colorspace.h y = (((y - 128) * FIX(112.0/127.0) + (ONE_HALF + (128 << SCALEBITS))) >> SCALEBITS); SCALEBITS 89 libavutil/colorspace.h FIX(0.11400) * (b) + ONE_HALF) >> SCALEBITS) SCALEBITS 93 libavutil/colorspace.h FIX(0.50000) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) SCALEBITS 97 libavutil/colorspace.h FIX(0.08131) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) SCALEBITS 101 libavutil/colorspace.h FIX(0.11400*219.0/255.0) * (b) + (ONE_HALF + (16 << SCALEBITS))) >> SCALEBITS) SCALEBITS 105 libavutil/colorspace.h FIX(0.50000*224.0/255.0) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) SCALEBITS 109 libavutil/colorspace.h FIX(0.08131*224.0/255.0) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) SCALEBITS 27 tests/utils.c #define ONE_HALF (1 << (SCALEBITS - 1)) SCALEBITS 28 tests/utils.c #define FIX(x) ((int) ((x) * (1 << SCALEBITS) + 0.5)) SCALEBITS 57 tests/utils.c FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; SCALEBITS 65 tests/utils.c FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; SCALEBITS 76 tests/utils.c FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; SCALEBITS 84 tests/utils.c FIX(0.11400) * b + ONE_HALF) >> SCALEBITS; SCALEBITS 87 tests/utils.c FIX(0.50000) * b1 + 4 * ONE_HALF - 1) >> (SCALEBITS + 2)) + 128; SCALEBITS 89 tests/utils.c FIX(0.08131) * b1 + 4 * ONE_HALF - 1) >> (SCALEBITS + 2)) + 128;