diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-09-13 00:36:59 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-09-13 00:39:16 +0300 |
commit | f0d6dfc637194a98861e5565556144076fe1b789 (patch) | |
tree | 562ee1368572d1e46b9cc7d7bf2683cf4de77fd4 /scripts/histo2png.py | |
parent | 8fb25dd94a574db88a24d3351bca1b8c0e47455d (diff) |
gen-image: Subsample YUV chroma on input
When the input format is YUV, subsample the chroma during RGB to YUV
conversion based on the YUV format parameters. This matches the RGB to
YUV conversion performed to generate the test input frame fed to the
RPF.
A better fix would be to add support for unpacking all RGB and YUV
formats instead of converting the .pnm reference frames.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'scripts/histo2png.py')
0 files changed, 0 insertions, 0 deletions