Searched refs:cbu (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libswscale/ |
D | yuv2rgb.c | 807 int64_t cbu = inv_table[1]; in ff_yuv2rgb_c_init_tables() local 819 cbu = (cbu * 224) / 255; in ff_yuv2rgb_c_init_tables() 826 cbu = (cbu * contrast * saturation) >> 32; in ff_yuv2rgb_c_init_tables() 835 c->ubCoeff = roundToInt16(cbu * (1 << 13)) * 0x0001000100010001ULL; in ff_yuv2rgb_c_init_tables() 845 c->yuv2rgb_u2b_coeff = (int16_t)roundToInt16(cbu * (1 << 13)); in ff_yuv2rgb_c_init_tables() 849 cbu = ((cbu * (1 << 16)) + 0x8000) / FFMAX(cy, 1); in ff_yuv2rgb_c_init_tables() 888 fill_table(c->table_bU, 1, cbu, y_table + yoffs + 2*table_plane_size); in ff_yuv2rgb_c_init_tables() 907 fill_table(c->table_bU, 1, cbu, y_table + yoffs + 2*table_plane_size); in ff_yuv2rgb_c_init_tables() 929 fill_table(c->table_bU, 2, cbu, y_table16 + yoffs + 2*table_plane_size); in ff_yuv2rgb_c_init_tables() 952 fill_table(c->table_bU, 2, cbu, y_table16 + yoffs + 2*table_plane_size); in ff_yuv2rgb_c_init_tables() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | colorspacedsp_template.c | 67 int cbu = yuv2rgb_coeffs[2][1][0]; in fn() local 111 rgb2[x << SS_W] = av_clip_int16((y00 * cy + cbu * u + rnd) >> sh); in fn() 113 rgb2[2 * x + 1] = av_clip_int16((y01 * cy + cbu * u + rnd) >> sh); in fn() 115 rgb2[2 * x + rgb_stride] = av_clip_int16((y10 * cy + cbu * u + rnd) >> sh); in fn() 116 rgb2[2 * x + rgb_stride + 1] = av_clip_int16((y11 * cy + cbu * u + rnd) >> sh); in fn()
|