| FFmpeg
    | 
This structure is used to share data between the libavcodec library and the client video application. More...
#include <vdpau.h>

| Data Fields | |
| VdpDecoder | decoder | 
| VDPAU decoder handle.  More... | |
| VdpDecoderRender * | render | 
| VDPAU decoder render callback.  More... | |
| union FFVdpPictureInfo | info | 
| VDPAU picture information.  More... | |
| int | bitstream_buffers_allocated | 
| Allocated size of the bitstream_buffers table.  More... | |
| int | bitstream_buffers_used | 
| Useful bitstream buffers in the bitstream buffers table.  More... | |
| VdpBitstreamBuffer * | bitstream_buffers | 
| Table of bitstream buffers.  More... | |
Detailed Description
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.
Field Documentation
| VdpBitstreamBuffer* AVVDPAUContext::bitstream_buffers | 
Table of bitstream buffers.
The user is responsible for freeing this buffer using av_freep().
Set by libavcodec.
Definition at line 114 of file vdpau.h.
Referenced by ff_vdpau_add_buffer(), ff_vdpau_common_start_frame(), and vdpau_h264_end_frame().
| int AVVDPAUContext::bitstream_buffers_allocated | 
Allocated size of the bitstream_buffers table.
Set by libavcodec.
Definition at line 99 of file vdpau.h.
Referenced by ff_vdpau_add_buffer().
| int AVVDPAUContext::bitstream_buffers_used | 
Useful bitstream buffers in the bitstream buffers table.
Set by libavcodec.
Definition at line 106 of file vdpau.h.
Referenced by ff_vdpau_add_buffer(), ff_vdpau_common_start_frame(), and vdpau_h264_end_frame().
| VdpDecoder AVVDPAUContext::decoder | 
VDPAU decoder handle.
Set by user.
Definition at line 78 of file vdpau.h.
Referenced by ff_vdpau_common_start_frame(), and vdpau_h264_end_frame().
| union FFVdpPictureInfo AVVDPAUContext::info | 
VDPAU picture information.
Set by libavcodec.
Definition at line 92 of file vdpau.h.
Referenced by ff_vdpau_common_start_frame(), vdpau_h264_decode_slice(), vdpau_h264_end_frame(), vdpau_h264_set_reference_frames(), vdpau_h264_start_frame(), vdpau_mpeg4_start_frame(), vdpau_mpeg_decode_slice(), vdpau_mpeg_start_frame(), vdpau_vc1_decode_slice(), and vdpau_vc1_start_frame().
| VdpDecoderRender* AVVDPAUContext::render | 
VDPAU decoder render callback.
Set by the user.
Definition at line 85 of file vdpau.h.
Referenced by ff_vdpau_common_start_frame(), and vdpau_h264_end_frame().
The documentation for this struct was generated from the following file:
Generated on Fri Oct 31 2025 06:56:26 for FFmpeg by
 1.8.11
 1.8.11