mbox series

[0/3] Fix full range quantization on rkisp1 based devices

Message ID 20250227114558.3097101-1-stefan.klug@ideasonboard.com (mailing list archive)
Headers show
Series Fix full range quantization on rkisp1 based devices | expand

Message

Stefan Klug Feb. 27, 2025, 11:44 a.m. UTC
Hi all,

After I sent a patch too early yesterday, I'm sending the corrected
version now. This series fixes two issues with the rkisp1 driver and
full range quantization. It was developed and tested on a imx8mp board
(Debix Som). With the current code it is impossible to get full range
YUV data by selecting color space JPEG (fixed by patch 1). But even
explicitly setting the range to full range results in image artifacts
due to incorrect range handling in CPROC (fixed by patch 2).

Please see the individual patches for more details.

Best regards,
Stefan

Stefan Klug (3):
  media: rkisp1: Set format defaults based on requested color space
  media: rkisp1: Fix the quantization settings of CPROC
  media: rkisp1: Remove unnecessary defines

 .../media/platform/rockchip/rkisp1/rkisp1-isp.c   | 15 ++++++++++++++-
 .../platform/rockchip/rkisp1/rkisp1-params.c      |  8 +-------
 .../media/platform/rockchip/rkisp1/rkisp1-regs.h  |  7 -------
 3 files changed, 15 insertions(+), 15 deletions(-)