diff options
| author | Hans Verkuil <[email protected]> | 2022-06-22 11:31:44 +0200 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2022-11-18 15:48:17 +0100 |
| commit | 36c6f1fb2ef769c36c417c8c1106439704eeb8c0 (patch) | |
| tree | cb453d8935f568c6a98d5f8615436bd7c3342ce6 /tools/perf/scripts/python | |
| parent | 73937efbbe8de9c2abf2259ec2f2505e53632f19 (diff) | |
vb2: add (un)prepare_streaming queue ops
When userspace called VIDIOC_STREAMON, then you want to claim any streaming
resources needed and validate the video pipeline. Waiting for
start_streaming to be called is too late, since that can be postponed
until the required minimum of buffers is queued.
So add a prepare_streaming op (optional) that can be used for that
purpose, and a matching unprepare_streaming op (optional) that can
release any claimed resources. The unprepare_streaming op is called
when VIDIOC_STREAMOFF is called and q->streaming is 1, or when the
filehandle is closed while q->streaming is 1.
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions