BAYER_SHIFT 60 libswscale/bayer_template.c R(1, 0) = S(1, 1) >> BAYER_SHIFT; \ BAYER_SHIFT 62 libswscale/bayer_template.c G(0, 1) = S(0, 1) >> BAYER_SHIFT; \ BAYER_SHIFT 64 libswscale/bayer_template.c G(1, 1) = (T(0, 1) + T(1, 0)) >> (1 + BAYER_SHIFT); \ BAYER_SHIFT 65 libswscale/bayer_template.c G(1, 0) = S(1, 0) >> BAYER_SHIFT; \ BAYER_SHIFT 70 libswscale/bayer_template.c B(1, 0) = S(0, 0) >> BAYER_SHIFT; BAYER_SHIFT 72 libswscale/bayer_template.c R(0, 0) = (T(-1, -1) + T(-1, 1) + T(1, -1) + T(1, 1)) >> (2 + BAYER_SHIFT); \ BAYER_SHIFT 73 libswscale/bayer_template.c G(0, 0) = (T(-1, 0) + T( 0, -1) + T(0, 1) + T(1, 0)) >> (2 + BAYER_SHIFT); \ BAYER_SHIFT 74 libswscale/bayer_template.c B(0, 0) = S(0, 0) >> BAYER_SHIFT; \ BAYER_SHIFT 76 libswscale/bayer_template.c R(0, 1) = (T(-1, 1) + T(1, 1)) >> (1 + BAYER_SHIFT); \ BAYER_SHIFT 77 libswscale/bayer_template.c G(0, 1) = S(0, 1) >> BAYER_SHIFT; \ BAYER_SHIFT 78 libswscale/bayer_template.c B(0, 1) = (T(0, 0) + T(0, 2)) >> (1 + BAYER_SHIFT); \ BAYER_SHIFT 80 libswscale/bayer_template.c R(1, 0) = (T(1, -1) + T(1, 1)) >> (1 + BAYER_SHIFT); \ BAYER_SHIFT 81 libswscale/bayer_template.c G(1, 0) = S(1, 0) >> BAYER_SHIFT; \ BAYER_SHIFT 82 libswscale/bayer_template.c B(1, 0) = (T(0, 0) + T(2, 0)) >> (1 + BAYER_SHIFT); \ BAYER_SHIFT 84 libswscale/bayer_template.c R(1, 1) = S(1, 1) >> BAYER_SHIFT; \ BAYER_SHIFT 85 libswscale/bayer_template.c G(1, 1) = (T(0, 1) + T(1, 0) + T(1, 2) + T(2, 1)) >> (2 + BAYER_SHIFT); \ BAYER_SHIFT 86 libswscale/bayer_template.c B(1, 1) = (T(0, 0) + T(0, 2) + T(2, 0) + T(2, 2)) >> (2 + BAYER_SHIFT); BAYER_SHIFT 92 libswscale/bayer_template.c R(1, 0) = S(1, 0) >> BAYER_SHIFT; \ BAYER_SHIFT 94 libswscale/bayer_template.c G(0, 0) = S(0, 0) >> BAYER_SHIFT; \ BAYER_SHIFT 95 libswscale/bayer_template.c G(1, 1) = S(1, 1) >> BAYER_SHIFT; \ BAYER_SHIFT 97 libswscale/bayer_template.c G(1, 0) = (T(0, 0) + T(1, 1)) >> (1 + BAYER_SHIFT); \ BAYER_SHIFT 102 libswscale/bayer_template.c B(1, 0) = S(0, 1) >> BAYER_SHIFT; BAYER_SHIFT 104 libswscale/bayer_template.c R(0, 0) = (T(-1, 0) + T(1, 0)) >> (1 + BAYER_SHIFT); \ BAYER_SHIFT 105 libswscale/bayer_template.c G(0, 0) = S(0, 0) >> BAYER_SHIFT; \ BAYER_SHIFT 106 libswscale/bayer_template.c B(0, 0) = (T(0, -1) + T(0, 1)) >> (1 + BAYER_SHIFT); \ BAYER_SHIFT 108 libswscale/bayer_template.c R(0, 1) = (T(-1, 0) + T(-1, 2) + T(1, 0) + T(1, 2)) >> (2 + BAYER_SHIFT); \ BAYER_SHIFT 109 libswscale/bayer_template.c G(0, 1) = (T(-1, 1) + T(0, 0) + T(0, 2) + T(1, 1)) >> (2 + BAYER_SHIFT); \ BAYER_SHIFT 110 libswscale/bayer_template.c B(0, 1) = S(0, 1) >> BAYER_SHIFT; \ BAYER_SHIFT 112 libswscale/bayer_template.c R(1, 0) = S(1, 0) >> BAYER_SHIFT; \ BAYER_SHIFT 113 libswscale/bayer_template.c G(1, 0) = (T(0, 0) + T(1, -1) + T(1, 1) + T(2, 0)) >> (2 + BAYER_SHIFT); \ BAYER_SHIFT 114 libswscale/bayer_template.c B(1, 0) = (T(0, -1) + T(0, 1) + T(2, -1) + T(2, 1)) >> (2 + BAYER_SHIFT); \ BAYER_SHIFT 116 libswscale/bayer_template.c R(1, 1) = (T(1, 0) + T(1, 2)) >> (1 + BAYER_SHIFT); \ BAYER_SHIFT 117 libswscale/bayer_template.c G(1, 1) = S(1, 1) >> BAYER_SHIFT; \ BAYER_SHIFT 118 libswscale/bayer_template.c B(1, 1) = (T(0, 1) + T(2, 1)) >> (1 + BAYER_SHIFT);