[FFmpeg-devel] [PATCH] Add hwaccel_data infrastructure
Tue Mar 3 13:29:17 CET 2009
This patch implements the suggested hwaccel_data infrastructure.
- hwaccel_data is allocated by the player and matches what we currently
name vdpau_render_state or vaapi_render_state. The aim is to replace the
use of AVCodecContext::data (reserved for YV12 pixels -- future use).
- hwaccel_data_private is optional (check AVHWAccel::priv_data_size) and
allocated by FFmpeg. This private data has the lifetime of the decoded
AVFrame. It's deallocated through the ::close() function. I don't really
like the name. For VA API, I implemented it as ff_vaapi_destroy_picture().
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3501 bytes
More information about the ffmpeg-devel