[FFmpeg-devel] [PATCH] vda: fix h64 decoding, vda wants the entire buffer

Michael Niedermayer michaelni at gmx.at
Wed Apr 1 17:15:37 CEST 2015


On Wed, Apr 01, 2015 at 12:40:54PM +0200, Rainer Hochecker wrote:
> ---
>  libavcodec/h264.c     |  2 +-
>  libavcodec/vda_h264.c | 25 ++++++++-----------------
>  2 files changed, 9 insertions(+), 18 deletions(-)

Why does this makes a difference ?

data is collected during the decode_slice() callback and
a complete frame is then available in end_frame() and passed on to
VDA

also xidors reply sounds like VDA requires reformating per slice
so just passing the whole frame without slices being put in the
supported format would then not always work

have you tried this with both annex b and .mp4 style h264 ?

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

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150401/09d367b7/attachment.asc>


More information about the ffmpeg-devel mailing list