Re: How to check if a profile/level is supported by V4L2 stateful decode?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30/01/2023 13:23, John Cox wrote:
> Hi
> 
> How should I check whether or not a given profile and level is
> supported by a stateful decoder? Chrome uses VIDIOC_QUERYMENU to test
> whether a given profile is supported by, say,
> V4L2_CID_MPEG_VIDEO_H264_PROFILE. Is this "correct"? Certainly a few
> decoders seem to support this usage (qcom/venus, mediatek and possibly
> some others).
> 
> The documentation currently suggests that
> V4L2_CID_MPEG_VIDEO_H264_PROFILE is only an encoder control. Should
> the documentation be extended to cover decoder use too?

I think the documentation is out of date.

For decoders this control definitely makes sense, but only as a READONLY
control. After all you can't set it.

Ideally it would also report which profile the currently decoding stream
uses, but I don't know if that is always possible.

Regards,

	Hans




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux