diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-08 05:41:13 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-26 15:42:09 +0300 |
commit | 3fad116f89e0d3497567043cbf6d8c49f1c102db (patch) | |
tree | 230c7d4d2231d2fbd908814b55f7441844d8b740 /utils/rkisp1/rkisp1-capture.sh | |
parent | 951522c1795485d122fb317ef6fe7f25a853008f (diff) |
utils: rkisp1: Add script to generate CSC coefficients
This script generates fixed-point integer coefficients for the YCbCr
encoding 3x3 matrix. The encoding, quantization and fixed-point
precision can be selected through command line arguments.
The main purpose of the script is to generate coefficient tables to
extend the rkisp1 driver with support for additional YCbCr encodings,
but it may be useful for other purposes as well given that the rounding
isn't trivial.
The Rec. 601 full and limited range coefficients have been verified to
match the values currently used by the rkisp1 driver.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'utils/rkisp1/rkisp1-capture.sh')
0 files changed, 0 insertions, 0 deletions