summaryrefslogtreecommitdiff
path: root/data/frames/gen-lut.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-04-04 02:17:34 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-04-09 02:29:27 +0300
commitb1f56af99a92ddcf146f45dad5ff7f7b38f1ddc8 (patch)
tree113580dd703647f94f2009bb20a19ef593692559 /data/frames/gen-lut.py
parent14ed7467627ed3ad80030f8d97601bbcf78a6907 (diff)
gen-image: Update the RGB to YCbCr conversion to match VSP hardware
RGB to YCbCr conversion is only used at the moment to generate images for test cases that run fully YUV pipelines. The exact value of the RGB to YCbCr conversion matrices hasn't mattered much so far. However, this will change with introduction of tests that perform RGB to YCbCr conversion. To achieve pixel-perfect match between the reference and hardware frames, reference images need to be generated with the exact method used by the VSP. Replace the current coefficients by values obtained from reverse-engineering of the RGB to YCbCr conversion performed by the VSP1. Remove support for SMPTE240 and BT.2020, as the VSP hardware supports BT.601 and BT.709 only. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'data/frames/gen-lut.py')
0 files changed, 0 insertions, 0 deletions