[FFmpeg-devel] [PATCH 6/6] hwcontext_vaapi: Add support for mapping to DRM objects
Derek Buitenhuis
derek.buitenhuis at gmail.com
Sun Oct 8 19:13:24 EEST 2017
On 10/8/2017 5:11 PM, Mark Thompson wrote:
> This is just how hardware surfaces are stored in AVFrames - they have their own API-specific handles in the data[] pointers because that's the only place to put them.
>
> See
> <http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavutil/pixfmt.h;h=24889c8e5288cd0e6b6dc59bc4455e87747fa7e8;hb=HEAD#l132>
> and
> <http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavutil/pixfmt.h;h=24889c8e5288cd0e6b6dc59bc4455e87747fa7e8;hb=HEAD#l337>
> (and others).
>
> Thanks,
Eugh, well OK. That's arguably not exactly OK by the C standard. Oh well.
- Derek
More information about the ffmpeg-devel
mailing list