Hi,

I'm working on adding VAAPI support to a libav-based video decoder, and there's 
something I don't understand. If context.pix_fmt == PIX_FMT_VAAPI_VLD, what 
does the AVFrame returned by avcodec_decode_video2() contain? In the 
documentation to pixfmt.h, I find:

"PIX_FMT_VAAPI_VLD: HW decoding through VA API, Picture.data[3] contains a 
vaapi_render_state struct which contains the bitstream of the slices as well as 
various fields extracted from headers."

But it seems that vaapi_render_state doesn't exist (i.e. isn't defined in the 
headers or mentioned anywhere outside of the sentence I quoted). How do I get 
to the VAAPI surface from this point?

Thanks,

  Uli

--
Any technology distinguishable from magic is insufficiently advanced.

Ulrich von Zadow | +49-172-7872715
Jabber: [email protected]
Skype: uzadow



_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to