The vertical subsampling factor is currently not considered in the
offset calculation for plane cropping done in rpf_configure_partition.
This causes a distortion (shift of the color plane) when formats with
the vsub factor larger than 1 are used (e.g. NV12, see
vsp1_video_formats in vsp1_pipe.c). This commit considers vsub factor
for all planes except plane 0 (luminance).
Drop generalization of the offset calculation to reduce the binary size.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
vsp1.h | ||
vsp1_brx.c | ||
vsp1_brx.h | ||
vsp1_clu.c | ||
vsp1_clu.h | ||
vsp1_dl.c | ||
vsp1_dl.h | ||
vsp1_drm.c | ||
vsp1_drm.h | ||
vsp1_drv.c | ||
vsp1_entity.c | ||
vsp1_entity.h | ||
vsp1_hgo.c | ||
vsp1_hgo.h | ||
vsp1_hgt.c | ||
vsp1_hgt.h | ||
vsp1_histo.c | ||
vsp1_histo.h | ||
vsp1_hsit.c | ||
vsp1_hsit.h | ||
vsp1_lif.c | ||
vsp1_lif.h | ||
vsp1_lut.c | ||
vsp1_lut.h | ||
vsp1_pipe.c | ||
vsp1_pipe.h | ||
vsp1_regs.h | ||
vsp1_rpf.c | ||
vsp1_rwpf.c | ||
vsp1_rwpf.h | ||
vsp1_sru.c | ||
vsp1_sru.h | ||
vsp1_uds.c | ||
vsp1_uds.h | ||
vsp1_uif.c | ||
vsp1_uif.h | ||
vsp1_video.c | ||
vsp1_video.h | ||
vsp1_wpf.c |