summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2025-02-13 00:13:48 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-02-13 22:07:06 +0200
commit547e4995ac18091913e0500d09374a241bcae59d (patch)
tree2eb1b0dd8be097edd2213239428c6369ef502965 /.gitignore
parentf4ae0ee7542448191876024d2f7d8dd446cba22e (diff)
Propagate the test-pattern size thru bytesusedHEADmaster
When reading test-pattern files from disk the size of the pattern must for the most cases match the configured size of each plane. The exception is compressed or otherwise special format indicated by the plane being configured with a bytesperline set to 0. In the special cases the pattern is read up-to the size of the file on disk and queued to the device. The size of the test pattern are however not propagated correctly in the bytesused filed of the buffer being queued to the vdev. This makes it impossible to queue meta buffers containing extendable parameters, e.g. V4L2_META_FMT_RK_ISP1_EXT_PARAMS, using yavta. As the RkISP1 driver uses the information stored in bytesused to figure out how much valid data there is in the buffer. Fix this by updating the size of the test-pattern when reading it from disk. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions