diff options
author | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2024-10-11 10:24:58 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2024-10-11 12:45:34 +0200 |
commit | e4edcf55ba4d5254973137107ae2b376f7635f45 (patch) | |
tree | e9180adc83d25b7c62737dd82d18615d8e824e94 /test | |
parent | cb32e0462f21c525c52741c9f5ca623f4bcee7a1 (diff) |
rkisp1_path: Allow to pre-queue video buffers
In order to pre-queue video buffers, the memory management mode of the
video device should be switched to DMABUF and the buffer cache needs to
be initialized. This is done by the V4L2VideoDevice::importBuffers()
function.
Currently the RkISP1Path class calls importBuffers() in its start()
function, preventing buffer pre-queueing before starting the video
device.
Break out the buffer import operation to a pre-queue buffer function
to allow buffer pre-queueing.
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions