aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2022-08-13 00:44:14 +0200
committerMauro Carvalho Chehab <[email protected]>2022-09-24 08:37:19 +0200
commitf7aa2d234377c8e69bfcc52d7384b784ab513460 (patch)
treea8142cda3e166c3b2035c869dd6db4e39b48dabb /tools/perf/scripts/python/netdev-times.py
parent711d91497e203b058cf0a08c0f7d41c04efbde76 (diff)
media: rkisp1: Configure CSM based on YCbCr encoding
The driver currently only implements the Rec. 601 YCbCr encoding, extend it with support for the other encodings defined by V4L2 (Rec. 709, Rec. 2020 and SMPTE240m). The coefficients have been calculated by rounding the floating point values to the nearest Q1.7 fixed-point value, adjusting the rounding to ensure that the sum of each line in the matrix is preserved to avoid overflows. At the hardware level, the RGB to YUV conversion matrix is fully configurable, custom encoding could be supported by extending the ISP parameters if desired. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Dafna Hirschfeld <[email protected]> Reviewed-by: Paul Elder <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions