VDPAU hardware acceleration has two modules. More...
|Public libavcodec VDPAU header. |
|This structure is used to share data between the libavcodec library and the client video application. More...|
|This structure is used as a callback between the FFmpeg decoder (vd_) and presentation (vo_) module. More...|
|The videoSurface is used for rendering. |
|The videoSurface is needed for reference/prediction. |
|typedef struct AVVDPAUContext||AVVDPAUContext|
|This structure is used to share data between the libavcodec library and the client video application. |
VDPAU hardware acceleration has two modules.
The VDPAU decoding module parses all headers using FFmpeg parsing mechanisms and uses VDPAU for the actual decoding.
As per the current implementation, the actual decoding and rendering (API calls) are done as part of the VDPAU presentation (vo_vdpau.c) module.
|#define FF_VDPAU_STATE_USED_FOR_RENDER 1|
|#define FF_VDPAU_STATE_USED_FOR_REFERENCE 2|
This structure is used to share data between the libavcodec library and the client video application.
The user shall zero-allocate the structure and make it available as AVCodecContext.hwaccel_context. Members can be set by the user once during initialization or through each AVCodecContext.get_buffer() function call. In any case, they must be valid prior to calling decoding functions.