FFmpeg
|
H.264 decoder via VDA. More...
#include <string.h>
#include <CoreFoundation/CoreFoundation.h>
#include "vda.h"
#include "h264dec.h"
#include "avcodec.h"
Go to the source code of this file.
Data Structures | |
struct | VDADecoderContext |
struct | VDABufferContext |
Macros | |
#define | kCFCoreFoundationVersionNumber10_7 635.00 |
Functions | |
static enum AVPixelFormat | get_format (struct AVCodecContext *avctx, const enum AVPixelFormat *fmt) |
static void | release_buffer (void *opaque, uint8_t *data) |
static int | get_buffer2 (AVCodecContext *avctx, AVFrame *pic, int flag) |
static void | set_context (AVCodecContext *avctx) |
static void | restore_context (AVCodecContext *avctx) |
static int | vdadec_decode (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | vdadec_close (AVCodecContext *avctx) |
static av_cold int | vdadec_init (AVCodecContext *avctx) |
static void | vdadec_flush (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_h264_decoder |
AVCodec | ff_h264_vda_decoder |
static enum AVPixelFormat | vda_pixfmts_prior_10_7 [] |
static enum AVPixelFormat | vda_pixfmts [] |
H.264 decoder via VDA.
Definition in file vda_h264_dec.c.
#define kCFCoreFoundationVersionNumber10_7 635.00 |
Definition at line 35 of file vda_h264_dec.c.
Referenced by vdadec_init().
|
static |
Definition at line 67 of file vda_h264_dec.c.
Referenced by set_context().
Definition at line 77 of file vda_h264_dec.c.
Referenced by get_buffer2().
|
static |
Definition at line 85 of file vda_h264_dec.c.
Referenced by set_context().
|
inlinestatic |
Definition at line 99 of file vda_h264_dec.c.
Referenced by vdadec_close(), vdadec_decode(), vdadec_flush(), and vdadec_init().
|
inlinestatic |
Definition at line 110 of file vda_h264_dec.c.
Referenced by vdadec_close(), vdadec_decode(), vdadec_flush(), and vdadec_init().
|
static |
Definition at line 118 of file vda_h264_dec.c.
|
static |
Definition at line 154 of file vda_h264_dec.c.
Referenced by vdadec_init().
|
static |
Definition at line 168 of file vda_h264_dec.c.
|
static |
Definition at line 245 of file vda_h264_dec.c.
AVCodec ff_h264_vda_decoder |
Definition at line 252 of file vda_h264_dec.c.
|
static |
Definition at line 40 of file vda_h264_dec.c.
Referenced by vdadec_init().
|
static |
Definition at line 46 of file vda_h264_dec.c.
Referenced by vdadec_init().