mirror of https://git.ffmpeg.org/ffmpeg.git
swscale/yuv2rgb: cosmetics
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
bae2ae62ba
commit
7c8ad72f1c
|
@ -983,9 +983,10 @@ av_cold int ff_yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4],
|
|||
y_table32[i + 2 * table_plane_size] = yval << bbase;
|
||||
yb += cy;
|
||||
}
|
||||
if (isNotNe)
|
||||
for (i = 0; i < table_plane_size * 3; i++)
|
||||
y_table32[i] = av_bswap32(y_table32[i]);
|
||||
if (isNotNe) {
|
||||
for (i = 0; i < table_plane_size * 3; i++)
|
||||
y_table32[i] = av_bswap32(y_table32[i]);
|
||||
}
|
||||
fill_table(c->table_rV, 4, crv, y_table32 + yoffs);
|
||||
fill_table(c->table_gU, 4, cgu, y_table32 + yoffs + table_plane_size);
|
||||
fill_table(c->table_bU, 4, cbu, y_table32 + yoffs + 2 * table_plane_size);
|
||||
|
|
Loading…
Reference in New Issue