diff options
| author | Chen-Yu Tsai <[email protected]> | 2022-03-31 10:16:28 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-04-24 08:52:26 +0100 |
| commit | daf3999c12dcef14151710052fca9adfbc3967bc (patch) | |
| tree | 47d6d79dc7916550e6b0720a988e8993ce4b05c4 /tools/perf/scripts/python | |
| parent | acd134bca2ac4390eb4920d54bdfeecc7fe47bcb (diff) | |
media: hantro: Implement support for encoder commands
The V4L2 stateful encoder uAPI specification requires that drivers
support the ENCODER_CMD ioctl to allow draining of buffers. This
however was not implemented, and causes issues for some userspace
applications.
Implement support for the ENCODER_CMD ioctl using v4l2-mem2mem helpers.
This is entirely based on existing code found in the vicodec test
driver.
Fixes: 775fec69008d ("media: add Rockchip VPU JPEG encoder driver")
Signed-off-by: Chen-Yu Tsai <[email protected]>
Reviewed-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions