FFmpeg
|
Functions | |
AVVDPAUContext * | av_alloc_vdpaucontext (void) |
allocation function for AVVDPAUContext | |
int | ff_vdpau_common_start_frame (struct vdpau_picture_context *pic_ctx, av_unused const uint8_t *buffer, av_unused uint32_t size) |
int | ff_vdpau_add_buffer (struct vdpau_picture_context *pic_ctx, const uint8_t *buf, uint32_t size) |
void | ff_vdpau_h264_set_reference_frames (H264Context *h) |
void | ff_vdpau_add_data_chunk (uint8_t *data, const uint8_t *buf, int buf_size) |
int | av_vdpau_get_profile (AVCodecContext *avctx, VdpDecoderProfile *profile) |
Get a decoder profile that should be used for initializing a VDPAU decoder. | |
AVVDPAUContext * | av_vdpau_alloc_context (void) |
Allocate an AVVDPAUContext. | |
AVVDPAUContext* av_alloc_vdpaucontext | ( | void | ) |
allocation function for AVVDPAUContext
Allows extending the struct without breaking API/ABI
int ff_vdpau_common_start_frame | ( | struct vdpau_picture_context * | pic_ctx, |
av_unused const uint8_t * | buffer, | ||
av_unused uint32_t | size | ||
) |
Definition at line 48 of file vdpau.c.
Referenced by vdpau_h264_start_frame(), vdpau_mpeg4_start_frame(), vdpau_mpeg_start_frame(), and vdpau_vc1_start_frame().
int ff_vdpau_add_buffer | ( | struct vdpau_picture_context * | pic_ctx, |
const uint8_t * | buf, | ||
uint32_t | size | ||
) |
Definition at line 101 of file vdpau.c.
Referenced by vdpau_h264_decode_slice(), vdpau_mpeg4_start_frame(), vdpau_mpeg_decode_slice(), and vdpau_vc1_decode_slice().
void ff_vdpau_h264_set_reference_frames | ( | H264Context * | h | ) |
Definition at line 122 of file vdpau.c.
Referenced by ff_h264_field_end().
Definition at line 190 of file vdpau.c.
Referenced by decode_nal_units().
int av_vdpau_get_profile | ( | AVCodecContext * | avctx, |
VdpDecoderProfile * | profile | ||
) |
Get a decoder profile that should be used for initializing a VDPAU decoder.
Should be called from the AVCodecContext.get_format() callback.
avctx | the codec context being used for decoding the stream |
profile | a pointer into which the result will be written on success. The contents of profile are undefined if this function returns an error. |
Definition at line 457 of file vdpau.c.
Referenced by vdpau_init().
AVVDPAUContext* av_vdpau_alloc_context | ( | void | ) |
Allocate an AVVDPAUContext.
Definition at line 500 of file vdpau.c.
Referenced by av_alloc_vdpaucontext(), and vdpau_alloc().