if (win->csc) {
vop_load_csc_table(vop, win->csc->y2r_offset, y2r_table);
vop_load_csc_table(vop, win->csc->r2r_offset, r2r_table);
- vop_load_csc_table(vop, win->csc->r2r_offset, r2y_table);
+ vop_load_csc_table(vop, win->csc->r2y_offset, r2y_table);
VOP_WIN_SET_EXT(vop, win, csc, y2r_en, !!y2r_table);
VOP_WIN_SET_EXT(vop, win, csc, r2r_en, !!r2r_table);
VOP_WIN_SET_EXT(vop, win, csc, r2y_en, !!r2y_table);
static const uint32_t vop_csc_r2y_bt709[] = {
0x027500bb, 0xff99003f, 0x01c2fea5, 0xfe6801c2,
- 0xffd7fe68, 0x00010200, 0x00080200, 0x00080200,
+ 0x0000ffd7, 0x00010200, 0x00080200, 0x00080200,
};
static const uint32_t vop_csc_y2r_bt2020[] = {