On Thu, Jul 16, 2015 at 11:02:22PM +0300, Ivan Uskov wrote: > Hello All, > > Current implementation of libavcodec/qsvdec_h264.c does use external > SPS parser. It does not optimal since MFX library has own unified way > to parse headers of all supported formats. This performs by one > MFXVideoDECODE_DecodeHeader() call. > The suggested patch does replace stream specific code to one universal > function call located into the libavcodec/qsvdec.c. This opens an easy > way to implement qsv-accelerated mpeg2, hevc and vc1 decoders. > Please review. > > -- > Best regards, > Ivan mailto:ivan.us...@nablet.com
> qsvdec.c | 68 ++++++++++++++++++++++++++++----------------- > qsvdec.h | 2 - > qsvdec_h264.c | 87 > ++-------------------------------------------------------- > 3 files changed, 48 insertions(+), 109 deletions(-) > f54e2ef059f3878b7e16f51e910dccdbf1335bbb > 0001-libavcodec-qsvdec_h264.c-SPS-parsing-now-performs-by.patch > From 0e84c3e90849b2b59fd361c09c7684374b6229d3 Mon Sep 17 00:00:00 2001 > From: Ivan Uskov <ivan.us...@nablet.com> > Date: Wed, 15 Jul 2015 08:34:51 -0400 > Subject: [PATCH] libavcodec/qsvdec_h264.c: SPS parsing now performs by > MFXVideoDECODE_DecodeHeader() into libavcodec/qsvdec.c i dont know the qsv parser code but like hendrik suggested, it is quite possible that our parser supports more cases. did you test .mp4 and annex b (.h264) ? do both work ? [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Into a blind darkness they enter who follow after the Ignorance, they as if into a greater darkness enter who devote themselves to the Knowledge alone. -- Isha Upanishad
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel