Data Structures | |
| struct | vdpau_render_state |
| This structure is used as a callback between the FFmpeg decoder (vd_) and presentation (vo_) module. More... | |
Defines | |
| #define | FF_VDPAU_STATE_USED_FOR_RENDER 1 |
| The videoSurface is used for rendering. | |
| #define | FF_VDPAU_STATE_USED_FOR_REFERENCE 2 |
| The videoSurface is needed for reference/prediction. | |
Functions | |
| void | ff_vdpau_h264_set_reference_frames (MpegEncContext *s) |
| void | ff_vdpau_add_data_chunk (MpegEncContext *s, const uint8_t *buf, int buf_size) |
| void | ff_vdpau_h264_picture_start (MpegEncContext *s) |
| void | ff_vdpau_h264_picture_complete (MpegEncContext *s) |
| void | ff_vdpau_mpeg_picture_complete (MpegEncContext *s, const uint8_t *buf, int buf_size, int slice_count) |
| void | ff_vdpau_vc1_decode_picture (MpegEncContext *s, const uint8_t *buf, int buf_size) |
| void | ff_vdpau_mpeg4_decode_picture (MpegEncContext *s, const uint8_t *buf, int buf_size) |
| static int | vdpau_mpeg2_start_frame (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) |
| static int | vdpau_mpeg2_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) |
| static int | vdpau_mpeg2_end_frame (AVCodecContext *avctx) |
Variables | |
| AVHWAccel | ff_mpeg1_vdpau_hwaccel |
| AVHWAccel | ff_mpeg2_vdpau_hwaccel |
| #define FF_VDPAU_STATE_USED_FOR_REFERENCE 2 |
| #define FF_VDPAU_STATE_USED_FOR_RENDER 1 |
| void ff_vdpau_add_data_chunk | ( | MpegEncContext * | s, | |
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) |
Definition at line 110 of file vdpau.c.
Referenced by decode_nal_units(), ff_vdpau_mpeg4_decode_picture(), ff_vdpau_mpeg_picture_complete(), and ff_vdpau_vc1_decode_picture().
| void ff_vdpau_h264_picture_complete | ( | MpegEncContext * | s | ) |
| void ff_vdpau_h264_picture_start | ( | MpegEncContext * | s | ) |
| void ff_vdpau_h264_set_reference_frames | ( | MpegEncContext * | s | ) |
| void ff_vdpau_mpeg4_decode_picture | ( | MpegEncContext * | s, | |
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) |
| void ff_vdpau_mpeg_picture_complete | ( | MpegEncContext * | s, | |
| const uint8_t * | buf, | |||
| int | buf_size, | |||
| int | slice_count | |||
| ) |
| void ff_vdpau_vc1_decode_picture | ( | MpegEncContext * | s, | |
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) |
| static int vdpau_mpeg2_decode_slice | ( | AVCodecContext * | avctx, | |
| const uint8_t * | buffer, | |||
| uint32_t | size | |||
| ) | [static] |
| static int vdpau_mpeg2_end_frame | ( | AVCodecContext * | avctx | ) | [static] |
| static int vdpau_mpeg2_start_frame | ( | AVCodecContext * | avctx, | |
| const uint8_t * | buffer, | |||
| uint32_t | size | |||
| ) | [static] |
Initial value:
{
.name = "mpeg1_vdpau",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_MPEG1VIDEO,
.pix_fmt = PIX_FMT_VDPAU_MPEG1,
.start_frame = vdpau_mpeg2_start_frame,
.end_frame = vdpau_mpeg2_end_frame,
.decode_slice = vdpau_mpeg2_decode_slice,
}
Initial value:
{
.name = "mpeg2_vdpau",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_MPEG2VIDEO,
.pix_fmt = PIX_FMT_VDPAU_MPEG2,
.start_frame = vdpau_mpeg2_start_frame,
.end_frame = vdpau_mpeg2_end_frame,
.decode_slice = vdpau_mpeg2_decode_slice,
}
1.5.8