Searched refs:BAYER_SHIFT (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libswscale/ |
D | bayer_template.c | 36 #define BAYER_SHIFT 0 macro 41 #define BAYER_SHIFT 8 macro 46 #define BAYER_SHIFT 8 macro 60 R(1, 0) = S(1, 1) >> BAYER_SHIFT; \ 62 G(0, 1) = S(0, 1) >> BAYER_SHIFT; \ 64 G(1, 1) = (T(0, 1) + T(1, 0)) >> (1 + BAYER_SHIFT); \ 65 G(1, 0) = S(1, 0) >> BAYER_SHIFT; \ 70 B(1, 0) = S(0, 0) >> BAYER_SHIFT; 72 R(0, 0) = (T(-1, -1) + T(-1, 1) + T(1, -1) + T(1, 1)) >> (2 + BAYER_SHIFT); \ 73 G(0, 0) = (T(-1, 0) + T( 0, -1) + T(0, 1) + T(1, 0)) >> (2 + BAYER_SHIFT); \ [all …]
|