v4l2: No handling of no-show frames in decoder plugin

"Pratik Pachange \(QUIC\) via gstreamer-devel" <[email protected]> Tue, 25 Feb 2025 11:53:13 +0000
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <BL0PR02MB550750CE43DDF19FFE84273FF0C32@BL0PR02MB5507.namprd02.prod.outlook.com>
--_000_BL0PR02MB550750CE43DDF19FFE84273FF0C32BL0PR02MB5507namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Hi Team,

For AV1 codec format, there are certain no-show frames (show_frame flag set=
 to 0) given by the video driver/fw as decoded output which needs to droppe=
d/discarded by the client.
On v4l2 side, the only way to identify such buffers is that their bytesused=
 is 0 (or filledlen is 0).

Currently in v4l2 plugins, there is no handling to drop such buffers.
Can we plan to add any handling to drop/discard empty buffers (bytesused 0)=
.


Thanks,
Pratik


--_000_BL0PR02MB550750CE43DDF19FFE84273FF0C32BL0PR02MB5507namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Aptos",sans-serif;
	mso-ligatures:standardcontextual;}
span.EmailStyle18
	{mso-style-type:personal-compose;
	font-family:"Aptos",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:11.0pt;
	mso-ligatures:none;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#467886" vlink=3D"#96607D" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Hi Team,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">For AV1 codec format, there are certain no-show fram=
es (show_frame&nbsp;flag set to 0) given by the video driver/fw as decoded =
output which needs to dropped/discarded by the client.<br>
On v4l2 side, the only way to identify such buffers is that their bytesused=
 is 0 (or filledlen is 0).<o:p></o:p></p>
<p class=3D"MsoNormal"><br>
Currently in v4l2 plugins, there is no handling to drop such buffers. <br>
Can we plan to add any handling to drop/discard empty buffers (bytesused 0)=
. <o:p>
</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal">Pratik<br>
<br>
<o:p></o:p></p>
</div>
</body>
</html>

--_000_BL0PR02MB550750CE43DDF19FFE84273FF0C32BL0PR02MB5507namp_--