FFmpeg
|
#include <vdpau/vdpau.h>
#include "avcodec.h"
#include "h264.h"
#include "vdpau.h"
#include "vdpau_internal.h"
Include dependency graph for vdpau_h264.c:
Go to the source code of this file.
Macros | |
#define | H264_RF_COUNT FF_ARRAY_ELEMS(info->referenceFrames) |
Functions | |
static int32_t | h264_foc (int foc) |
static void | vdpau_h264_clear_rf (VdpReferenceFrameH264 *rf) |
static void | vdpau_h264_set_rf (VdpReferenceFrameH264 *rf, Picture *pic, int pic_structure) |
static void | vdpau_h264_set_reference_frames (AVCodecContext *avctx) |
static int | vdpau_h264_start_frame (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) |
static int | vdpau_h264_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) |
static int | vdpau_h264_end_frame (AVCodecContext *avctx) |
Variables | |
static const uint8_t | start_code_prefix [3] = { 0x00, 0x00, 0x01 } |
AVHWAccel | ff_h264_vdpau_hwaccel |
Macro Definition Documentation
#define H264_RF_COUNT FF_ARRAY_ELEMS(info->referenceFrames) |
Referenced by vdpau_h264_set_reference_frames().
Function Documentation
|
static |
Definition at line 31 of file vdpau_h264.c.
Referenced by vdpau_h264_set_rf(), and vdpau_h264_start_frame().
|
static |
Definition at line 38 of file vdpau_h264.c.
Referenced by vdpau_h264_set_reference_frames().
|
static |
Definition at line 169 of file vdpau_h264.c.
|
static |
Definition at line 187 of file vdpau_h264.c.
|
static |
Definition at line 66 of file vdpau_h264.c.
Referenced by vdpau_h264_start_frame().
|
static |
Definition at line 49 of file vdpau_h264.c.
Referenced by vdpau_h264_set_reference_frames().
|
static |
Definition at line 117 of file vdpau_h264.c.
Variable Documentation
AVHWAccel ff_h264_vdpau_hwaccel |
Initial value:
= {
.name = "h264_vdpau",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_H264,
.pix_fmt = AV_PIX_FMT_VDPAU,
.start_frame = vdpau_h264_start_frame,
.end_frame = vdpau_h264_end_frame,
.decode_slice = vdpau_h264_decode_slice,
}
Definition: libavcodec/avcodec.h:130
static int vdpau_h264_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
Definition: vdpau_h264.c:117
static int vdpau_h264_end_frame(AVCodecContext *avctx)
Definition: vdpau_h264.c:187
HW acceleration through VDPAU, Picture.data[3] contains a VdpVideoSurface.
Definition: pixfmt.h:203
static int vdpau_h264_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
Definition: vdpau_h264.c:169
Definition: avutil.h:143
Definition at line 202 of file vdpau_h264.c.
|
static |
Definition at line 167 of file vdpau_h264.c.
Referenced by vdpau_h264_decode_slice().
Generated on Mon Nov 18 2024 06:52:09 for FFmpeg by 1.8.11