[FFmpeg-devel] [PATCH] libavcodec:add dxva2 decoder for h264, mpeg2, vc1.wmv3

Michael Niedermayer michaelni at gmx.at
Fri Feb 8 03:17:09 CET 2013


On Fri, Feb 08, 2013 at 10:07:10AM +0800, Wei Gao wrote:
> Hi,Michael
> 
> Thank you for your reply.
> 
> iam not sure i understand the question, but yes
> chroma_format_idc for h264  is always implicitly or explicitly stored
> in SPS
> for mpeg2 chroma_format is similarly stored in the ext seq header
> 
> I want to make sure that whether the check format code I wrote is enough to
> check the h.264 and mpeg2 format for DXVA2 decode?

No code can check this 100% at init time. It simply can change later
or be missing.
I dont think this should block the patch. Its hard to fix this.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130208/d41bb4de/attachment.asc>


More information about the ffmpeg-devel mailing list