mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
media: rockchip: ispp: fix scl config error
Change-Id: I88825ec754e479c555fc3036e3e8a7b67828f530 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -867,9 +867,9 @@ static int config_scl(struct rkispp_stream *stream)
|
||||
set_vir_stride(stream, ALIGN(stream->out_fmt.width * mult, 16) >> 2);
|
||||
set_scl_factor(stream, vy_fac << 16 | hy_fac);
|
||||
value = SW_SCL_ENABLE | bypass | fmt->wr_fmt << 3 |
|
||||
(fmt->fourcc != V4L2_PIX_FMT_GREY) ? 0 : SW_SCL_WR_UV_DIS |
|
||||
(stream->out_fmt.quantization != V4L2_QUANTIZATION_LIM_RANGE) ?
|
||||
0 : SW_SCL_WR_YUV_LIMIT;
|
||||
((fmt->fourcc != V4L2_PIX_FMT_GREY) ? 0 : SW_SCL_WR_UV_DIS) |
|
||||
((stream->out_fmt.quantization != V4L2_QUANTIZATION_LIM_RANGE) ?
|
||||
0 : SW_SCL_WR_YUV_LIMIT);
|
||||
set_ctrl(stream, value);
|
||||
|
||||
v4l2_dbg(1, rkispp_debug, &dev->v4l2_dev,
|
||||
|
||||
Reference in New Issue
Block a user