Skip to content
Commit 084a6547 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by popcornmix
Browse files

staging: bcm2835-codec: implement V4L2_CID_MIN_BUFFERS_FOR_CAPTURE



The stateful decoder specification shows an optional step for retrieving
the miminum number of capture buffers required for the decoder to
proceed. While not a required parameter, having it makes some
applications happy.

bcm2835-codec is a little different from other decoder implementations
in that there is an intermediate format conversion between the hardware
and V4L2 buffers. The number of capture buffers required is therefore
independent of the stream and DPB etc.

There are plans to remove the conversion, but it requires a fair amount
of rework within the firmware. Until that is done, simply return a value
of 1.

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
parent d0daadcd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment