diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-27 23:34:52 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-30 15:25:35 +0300 |
commit | 4baaecb4ff220d6decb959bef14d91385cbba1ad (patch) | |
tree | 32d28b0827bc34091cd6fc36ce51220b5bc4f6a0 /src/cam | |
parent | 4267e0bab86d2c542d2948a2e25e18bb3310fd24 (diff) |
utils: rkisp1: gen-csc-table: Specify coefficients with full precision
The Rec01, Rec709, Rec2020 and SMTPE 240M standards specify the Cb and
Cr coefficients of the RGB to Y'CbCr conversion matrix using a quotient
of two values. Use the exact same formulas instead of hardcoding the
division results with a lower precision.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Florian Sylvestre <fsylvestre@baylibre.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/cam')
0 files changed, 0 insertions, 0 deletions