RGB2YUV_SHIFT      54 libswscale/input.c         dst[i] = (ry*r + gy*g + by*b + (0x2001<<(RGB2YUV_SHIFT-1))) >> RGB2YUV_SHIFT;
RGB2YUV_SHIFT      72 libswscale/input.c         dstU[i] = (ru*r + gu*g + bu*b + (0x10001<<(RGB2YUV_SHIFT-1))) >> RGB2YUV_SHIFT;
RGB2YUV_SHIFT      73 libswscale/input.c         dstV[i] = (rv*r + gv*g + bv*b + (0x10001<<(RGB2YUV_SHIFT-1))) >> RGB2YUV_SHIFT;
RGB2YUV_SHIFT      91 libswscale/input.c         dstU[i]= (ru*r + gu*g + bu*b + (0x10001<<(RGB2YUV_SHIFT-1))) >> RGB2YUV_SHIFT;
RGB2YUV_SHIFT      92 libswscale/input.c         dstV[i]= (rv*r + gv*g + bv*b + (0x10001<<(RGB2YUV_SHIFT-1))) >> RGB2YUV_SHIFT;
RGB2YUV_SHIFT     142 libswscale/input.c         dst[i] = (ry*r + gy*g + by*b + (0x2001 << (RGB2YUV_SHIFT - 1))) >> RGB2YUV_SHIFT;
RGB2YUV_SHIFT     163 libswscale/input.c         dstU[i] = (ru*r + gu*g + bu*b + (0x10001 << (RGB2YUV_SHIFT - 1))) >> RGB2YUV_SHIFT;
RGB2YUV_SHIFT     164 libswscale/input.c         dstV[i] = (rv*r + gv*g + bv*b + (0x10001 << (RGB2YUV_SHIFT - 1))) >> RGB2YUV_SHIFT;
RGB2YUV_SHIFT     188 libswscale/input.c         dstU[i] = (ru*r + gu*g + bu*b + (0x10001 << (RGB2YUV_SHIFT - 1))) >> RGB2YUV_SHIFT;
RGB2YUV_SHIFT     189 libswscale/input.c         dstV[i] = (rv*r + gv*g + bv*b + (0x10001 << (RGB2YUV_SHIFT - 1))) >> RGB2YUV_SHIFT;
RGB2YUV_SHIFT     378 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_BGR32,    bgr32,  16, 0,  0, 0, 0xFF0000, 0xFF00,   0x00FF,  8, 0,  8, RGB2YUV_SHIFT + 8)
RGB2YUV_SHIFT     379 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_BGR32_1,  bgr321, 16, 0,  0, 8, 0xFF0000, 0xFF00,   0x00FF,  8, 0,  8, RGB2YUV_SHIFT + 8)
RGB2YUV_SHIFT     380 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_RGB32,    rgb32,   0, 0, 16, 0,   0x00FF, 0xFF00, 0xFF0000,  8, 0,  8, RGB2YUV_SHIFT + 8)
RGB2YUV_SHIFT     381 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_RGB32_1,  rgb321,  0, 0, 16, 8,   0x00FF, 0xFF00, 0xFF0000,  8, 0,  8, RGB2YUV_SHIFT + 8)
RGB2YUV_SHIFT     382 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_BGR565LE, bgr16le, 0, 0,  0, 0,   0x001F, 0x07E0,   0xF800, 11, 5,  0, RGB2YUV_SHIFT + 8)
RGB2YUV_SHIFT     383 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_BGR555LE, bgr15le, 0, 0,  0, 0,   0x001F, 0x03E0,   0x7C00, 10, 5,  0, RGB2YUV_SHIFT + 7)
RGB2YUV_SHIFT     384 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_BGR444LE, bgr12le, 0, 0,  0, 0,   0x000F, 0x00F0,   0x0F00,  8, 4,  0, RGB2YUV_SHIFT + 4)
RGB2YUV_SHIFT     385 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_RGB565LE, rgb16le, 0, 0,  0, 0,   0xF800, 0x07E0,   0x001F,  0, 5, 11, RGB2YUV_SHIFT + 8)
RGB2YUV_SHIFT     386 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_RGB555LE, rgb15le, 0, 0,  0, 0,   0x7C00, 0x03E0,   0x001F,  0, 5, 10, RGB2YUV_SHIFT + 7)
RGB2YUV_SHIFT     387 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_RGB444LE, rgb12le, 0, 0,  0, 0,   0x0F00, 0x00F0,   0x000F,  0, 4,  8, RGB2YUV_SHIFT + 4)
RGB2YUV_SHIFT     388 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_BGR565BE, bgr16be, 0, 0,  0, 0,   0x001F, 0x07E0,   0xF800, 11, 5,  0, RGB2YUV_SHIFT + 8)
RGB2YUV_SHIFT     389 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_BGR555BE, bgr15be, 0, 0,  0, 0,   0x001F, 0x03E0,   0x7C00, 10, 5,  0, RGB2YUV_SHIFT + 7)
RGB2YUV_SHIFT     390 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_BGR444BE, bgr12be, 0, 0,  0, 0,   0x000F, 0x00F0,   0x0F00,  8, 4,  0, RGB2YUV_SHIFT + 4)
RGB2YUV_SHIFT     391 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_RGB565BE, rgb16be, 0, 0,  0, 0,   0xF800, 0x07E0,   0x001F,  0, 5, 11, RGB2YUV_SHIFT + 8)
RGB2YUV_SHIFT     392 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_RGB555BE, rgb15be, 0, 0,  0, 0,   0x7C00, 0x03E0,   0x001F,  0, 5, 10, RGB2YUV_SHIFT + 7)
RGB2YUV_SHIFT     393 libswscale/input.c rgb16_32_wrapper(AV_PIX_FMT_RGB444BE, rgb12be, 0, 0,  0, 0,   0x0F00, 0x00F0,   0x000F,  0, 4,  8, RGB2YUV_SHIFT + 4)
RGB2YUV_SHIFT     410 libswscale/input.c         dstU[i] = (ru*r + gu*g + bu*b + (0x4001<<(RGB2YUV_SHIFT-6))) >> (RGB2YUV_SHIFT-6+1);
RGB2YUV_SHIFT     411 libswscale/input.c         dstV[i] = (rv*r + gv*g + bv*b + (0x4001<<(RGB2YUV_SHIFT-6))) >> (RGB2YUV_SHIFT-6+1);
RGB2YUV_SHIFT     668 libswscale/input.c         dst[i] = ((ry*r + gy*g + by*b + (32<<(RGB2YUV_SHIFT-1)) + (1<<(RGB2YUV_SHIFT-7)))>>(RGB2YUV_SHIFT-6));
RGB2YUV_SHIFT     685 libswscale/input.c         dstU[i] = (ru*r + gu*g + bu*b + (256<<(RGB2YUV_SHIFT-1)) + (1<<(RGB2YUV_SHIFT-7)))>>(RGB2YUV_SHIFT-6);
RGB2YUV_SHIFT     686 libswscale/input.c         dstV[i] = (rv*r + gv*g + bv*b + (256<<(RGB2YUV_SHIFT-1)) + (1<<(RGB2YUV_SHIFT-7)))>>(RGB2YUV_SHIFT-6);
RGB2YUV_SHIFT     704 libswscale/input.c         dstU[i] = (ru*r + gu*g + bu*b + (256<<RGB2YUV_SHIFT) + (1<<(RGB2YUV_SHIFT-6)))>>(RGB2YUV_SHIFT-5);
RGB2YUV_SHIFT     705 libswscale/input.c         dstV[i] = (rv*r + gv*g + bv*b + (256<<RGB2YUV_SHIFT) + (1<<(RGB2YUV_SHIFT-6)))>>(RGB2YUV_SHIFT-5);
RGB2YUV_SHIFT     721 libswscale/input.c         dst[i] = ((ry*r + gy*g + by*b + (32<<(RGB2YUV_SHIFT-1)) + (1<<(RGB2YUV_SHIFT-7)))>>(RGB2YUV_SHIFT-6));
RGB2YUV_SHIFT     739 libswscale/input.c         dstU[i] = (ru*r + gu*g + bu*b + (256<<(RGB2YUV_SHIFT-1)) + (1<<(RGB2YUV_SHIFT-7)))>>(RGB2YUV_SHIFT-6);
RGB2YUV_SHIFT     740 libswscale/input.c         dstV[i] = (rv*r + gv*g + bv*b + (256<<(RGB2YUV_SHIFT-1)) + (1<<(RGB2YUV_SHIFT-7)))>>(RGB2YUV_SHIFT-6);
RGB2YUV_SHIFT     758 libswscale/input.c         dstU[i] = (ru*r + gu*g + bu*b + (256<<RGB2YUV_SHIFT) + (1<<(RGB2YUV_SHIFT-6)))>>(RGB2YUV_SHIFT-5);
RGB2YUV_SHIFT     759 libswscale/input.c         dstV[i] = (rv*r + gv*g + bv*b + (256<<RGB2YUV_SHIFT) + (1<<(RGB2YUV_SHIFT-6)))>>(RGB2YUV_SHIFT-5);
RGB2YUV_SHIFT     773 libswscale/input.c         dst[i] = (ry*r + gy*g + by*b + (0x801<<(RGB2YUV_SHIFT-7))) >> (RGB2YUV_SHIFT-6);
RGB2YUV_SHIFT     797 libswscale/input.c         dstU[i] = (ru*r + gu*g + bu*b + (0x4001<<(RGB2YUV_SHIFT-7))) >> (RGB2YUV_SHIFT-6);
RGB2YUV_SHIFT     798 libswscale/input.c         dstV[i] = (rv*r + gv*g + bv*b + (0x4001<<(RGB2YUV_SHIFT-7))) >> (RGB2YUV_SHIFT-6);
RGB2YUV_SHIFT     817 libswscale/input.c         dst[i] = ((ry*r + gy*g + by*b + (33 << (RGB2YUV_SHIFT + bpc - 9))) >> (RGB2YUV_SHIFT + shift - 14));
RGB2YUV_SHIFT     837 libswscale/input.c         dstU[i] = (ru*r + gu*g + bu*b + (257 << (RGB2YUV_SHIFT + bpc - 9))) >> (RGB2YUV_SHIFT + shift - 14);
RGB2YUV_SHIFT     838 libswscale/input.c         dstV[i] = (rv*r + gv*g + bv*b + (257 << (RGB2YUV_SHIFT + bpc - 9))) >> (RGB2YUV_SHIFT + shift - 14);
RGB2YUV_SHIFT     112 libswscale/rgb2rgb.c #define BY ((int)( 0.098 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     113 libswscale/rgb2rgb.c #define BV ((int)(-0.071 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     114 libswscale/rgb2rgb.c #define BU ((int)( 0.439 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     115 libswscale/rgb2rgb.c #define GY ((int)( 0.504 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     116 libswscale/rgb2rgb.c #define GV ((int)(-0.368 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     117 libswscale/rgb2rgb.c #define GU ((int)(-0.291 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     118 libswscale/rgb2rgb.c #define RY ((int)( 0.257 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     119 libswscale/rgb2rgb.c #define RV ((int)( 0.439 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     120 libswscale/rgb2rgb.c #define RU ((int)(-0.148 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     634 libswscale/rgb2rgb_template.c             unsigned int Y = ((ry * r + gy * g + by * b) >> RGB2YUV_SHIFT) +  16;
RGB2YUV_SHIFT     635 libswscale/rgb2rgb_template.c             unsigned int V = ((rv * r + gv * g + bv * b) >> RGB2YUV_SHIFT) + 128;
RGB2YUV_SHIFT     636 libswscale/rgb2rgb_template.c             unsigned int U = ((ru * r + gu * g + bu * b) >> RGB2YUV_SHIFT) + 128;
RGB2YUV_SHIFT     646 libswscale/rgb2rgb_template.c             Y = ((ry * r + gy * g + by * b) >> RGB2YUV_SHIFT) + 16;
RGB2YUV_SHIFT     660 libswscale/rgb2rgb_template.c             unsigned int Y = ((ry * r + gy * g + by * b) >> RGB2YUV_SHIFT) + 16;
RGB2YUV_SHIFT     668 libswscale/rgb2rgb_template.c             Y = ((ry * r + gy * g + by * b) >> RGB2YUV_SHIFT) + 16;
RGB2YUV_SHIFT     969 libswscale/swscale.c #define BY ( (int) (0.114 * 219 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     970 libswscale/swscale.c #define BV (-(int) (0.081 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     971 libswscale/swscale.c #define BU ( (int) (0.500 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     972 libswscale/swscale.c #define GY ( (int) (0.587 * 219 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     973 libswscale/swscale.c #define GV (-(int) (0.419 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     974 libswscale/swscale.c #define GU (-(int) (0.331 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     975 libswscale/swscale.c #define RY ( (int) (0.299 * 219 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     976 libswscale/swscale.c #define RV ( (int) (0.500 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     977 libswscale/swscale.c #define RU (-(int) (0.169 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
RGB2YUV_SHIFT     979 libswscale/swscale.c             y = av_clip_uint8((RY * r + GY * g + BY * b + ( 33 << (RGB2YUV_SHIFT - 1))) >> RGB2YUV_SHIFT);
RGB2YUV_SHIFT     980 libswscale/swscale.c             u = av_clip_uint8((RU * r + GU * g + BU * b + (257 << (RGB2YUV_SHIFT - 1))) >> RGB2YUV_SHIFT);
RGB2YUV_SHIFT     981 libswscale/swscale.c             v = av_clip_uint8((RV * r + GV * g + BV * b + (257 << (RGB2YUV_SHIFT - 1))) >> RGB2YUV_SHIFT);
RGB2YUV_SHIFT     395 libswscale/swscale_internal.h #define RGB2YUV_SHIFT 15
RGB2YUV_SHIFT     758 libswscale/utils.c     c->input_rgb2yuv_table[RY_IDX] = -ROUNDED_DIV((1 << RGB2YUV_SHIFT)*V        , Cy);
RGB2YUV_SHIFT     759 libswscale/utils.c     c->input_rgb2yuv_table[GY_IDX] =  ROUNDED_DIV((1 << RGB2YUV_SHIFT)*ONE*ONE  , Cy);
RGB2YUV_SHIFT     760 libswscale/utils.c     c->input_rgb2yuv_table[BY_IDX] = -ROUNDED_DIV((1 << RGB2YUV_SHIFT)*W        , Cy);
RGB2YUV_SHIFT     762 libswscale/utils.c     c->input_rgb2yuv_table[RU_IDX] =  ROUNDED_DIV((1 << RGB2YUV_SHIFT)*V        , Cu);
RGB2YUV_SHIFT     763 libswscale/utils.c     c->input_rgb2yuv_table[GU_IDX] = -ROUNDED_DIV((1 << RGB2YUV_SHIFT)*ONE*ONE  , Cu);
RGB2YUV_SHIFT     764 libswscale/utils.c     c->input_rgb2yuv_table[BU_IDX] =  ROUNDED_DIV((1 << RGB2YUV_SHIFT)*(Z+W)    , Cu);
RGB2YUV_SHIFT     766 libswscale/utils.c     c->input_rgb2yuv_table[RV_IDX] =  ROUNDED_DIV((1 << RGB2YUV_SHIFT)*(V+Z)    , Cv);
RGB2YUV_SHIFT     767 libswscale/utils.c     c->input_rgb2yuv_table[GV_IDX] = -ROUNDED_DIV((1 << RGB2YUV_SHIFT)*ONE*ONE  , Cv);
RGB2YUV_SHIFT     768 libswscale/utils.c     c->input_rgb2yuv_table[BV_IDX] =  ROUNDED_DIV((1 << RGB2YUV_SHIFT)*W        , Cv);
RGB2YUV_SHIFT     771 libswscale/utils.c         c->input_rgb2yuv_table[BY_IDX] =  ((int)(0.114 * 219 / 255 * (1 << RGB2YUV_SHIFT) + 0.5));
RGB2YUV_SHIFT     772 libswscale/utils.c         c->input_rgb2yuv_table[BV_IDX] = (-(int)(0.081 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5));
RGB2YUV_SHIFT     773 libswscale/utils.c         c->input_rgb2yuv_table[BU_IDX] =  ((int)(0.500 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5));
RGB2YUV_SHIFT     774 libswscale/utils.c         c->input_rgb2yuv_table[GY_IDX] =  ((int)(0.587 * 219 / 255 * (1 << RGB2YUV_SHIFT) + 0.5));
RGB2YUV_SHIFT     775 libswscale/utils.c         c->input_rgb2yuv_table[GV_IDX] = (-(int)(0.419 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5));
RGB2YUV_SHIFT     776 libswscale/utils.c         c->input_rgb2yuv_table[GU_IDX] = (-(int)(0.331 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5));
RGB2YUV_SHIFT     777 libswscale/utils.c         c->input_rgb2yuv_table[RY_IDX] =  ((int)(0.299 * 219 / 255 * (1 << RGB2YUV_SHIFT) + 0.5));
RGB2YUV_SHIFT     778 libswscale/utils.c         c->input_rgb2yuv_table[RV_IDX] =  ((int)(0.500 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5));
RGB2YUV_SHIFT     779 libswscale/utils.c         c->input_rgb2yuv_table[RU_IDX] = (-(int)(0.169 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5));
RGB2YUV_SHIFT      83 libswscale/x86/rgb2rgb.c #define BY ((int)( 0.098*(1<<RGB2YUV_SHIFT)+0.5))
RGB2YUV_SHIFT      84 libswscale/x86/rgb2rgb.c #define BV ((int)(-0.071*(1<<RGB2YUV_SHIFT)+0.5))
RGB2YUV_SHIFT      85 libswscale/x86/rgb2rgb.c #define BU ((int)( 0.439*(1<<RGB2YUV_SHIFT)+0.5))
RGB2YUV_SHIFT      86 libswscale/x86/rgb2rgb.c #define GY ((int)( 0.504*(1<<RGB2YUV_SHIFT)+0.5))
RGB2YUV_SHIFT      87 libswscale/x86/rgb2rgb.c #define GV ((int)(-0.368*(1<<RGB2YUV_SHIFT)+0.5))
RGB2YUV_SHIFT      88 libswscale/x86/rgb2rgb.c #define GU ((int)(-0.291*(1<<RGB2YUV_SHIFT)+0.5))
RGB2YUV_SHIFT      89 libswscale/x86/rgb2rgb.c #define RY ((int)( 0.257*(1<<RGB2YUV_SHIFT)+0.5))
RGB2YUV_SHIFT      90 libswscale/x86/rgb2rgb.c #define RV ((int)( 0.439*(1<<RGB2YUV_SHIFT)+0.5))
RGB2YUV_SHIFT      91 libswscale/x86/rgb2rgb.c #define RU ((int)(-0.148*(1<<RGB2YUV_SHIFT)+0.5))