#include <string.h>
#include <CoreFoundation/CoreFoundation.h>
#include "vda.h"
#include "h264.h"
#include "avcodec.h"
Go to the source code of this file.
Data Structures | |
| struct | VDADecoderContext |
Defines | |
| #define | kCFCoreFoundationVersionNumber10_7 635.00 |
Functions | |
| static enum PixelFormat | get_format (struct AVCodecContext *avctx, const enum PixelFormat *fmt) |
| static int | get_buffer (AVCodecContext *avctx, AVFrame *pic) |
| static void | release_buffer (AVCodecContext *avctx, AVFrame *pic) |
| static int | vdadec_decode (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
| static av_cold int | vdadec_close (AVCodecContext *avctx) |
| static av_cold int | check_format (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 PixelFormat | vda_pixfmts_prior_10_7 [] |
| static enum PixelFormat | vda_pixfmts [] |
Definition in file vda_h264_dec.c.
| #define kCFCoreFoundationVersionNumber10_7 635.00 |
| static av_cold int check_format | ( | AVCodecContext * | avctx | ) | [static] |
| static int get_buffer | ( | AVCodecContext * | avctx, | |
| AVFrame * | pic | |||
| ) | [static] |
| static enum PixelFormat get_format | ( | struct AVCodecContext * | avctx, | |
| const enum PixelFormat * | fmt | |||
| ) | [static] |
| static void release_buffer | ( | AVCodecContext * | avctx, | |
| AVFrame * | pic | |||
| ) | [static] |
| static av_cold int vdadec_close | ( | AVCodecContext * | avctx | ) | [static] |
| static int vdadec_decode | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| AVPacket * | avpkt | |||
| ) | [static] |
Definition at line 86 of file vda_h264_dec.c.
| static void vdadec_flush | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 242 of file vda_h264_dec.c.
| static av_cold int vdadec_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 168 of file vda_h264_dec.c.
Initial value:
{
.name = "h264_vda",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_H264,
.priv_data_size = sizeof(VDADecoderContext),
.init = vdadec_init,
.close = vdadec_close,
.decode = vdadec_decode,
.capabilities = CODEC_CAP_DELAY,
.flush = vdadec_flush,
.long_name = NULL_IF_CONFIG_SMALL("H.264 (VDA acceleration)"),
}
Definition at line 247 of file vda_h264_dec.c.
enum PixelFormat vda_pixfmts[] [static] |
enum PixelFormat vda_pixfmts_prior_10_7[] [static] |
1.5.8