|
|
@@ -991,13 +991,13 @@ int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4], |
|
|
|
c->srcFormatBpp = av_get_bits_per_pixel(desc_src); |
|
|
|
|
|
|
|
if (!isYUV(c->dstFormat) && !isGray(c->dstFormat)) { |
|
|
|
ff_yuv2rgb_c_init_tables(c, inv_table, srcRange, brightness, |
|
|
|
contrast, saturation); |
|
|
|
// FIXME factorize |
|
|
|
ff_yuv2rgb_c_init_tables(c, inv_table, srcRange, brightness, |
|
|
|
contrast, saturation); |
|
|
|
// FIXME factorize |
|
|
|
|
|
|
|
if (ARCH_PPC) |
|
|
|
ff_yuv2rgb_init_tables_ppc(c, inv_table, brightness, |
|
|
|
contrast, saturation); |
|
|
|
if (ARCH_PPC) |
|
|
|
ff_yuv2rgb_init_tables_ppc(c, inv_table, brightness, |
|
|
|
contrast, saturation); |
|
|
|
} |
|
|
|
|
|
|
|
fill_rgb2yuv_table(c, table, dstRange); |
|
|
|