FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
vda.h File Reference

Public libavcodec VDA header. More...

#include "libavcodec/avcodec.h"
#include <stdint.h>
#include <VideoDecodeAcceleration/VDADecoder.h>
#include "libavcodec/version.h"

Go to the source code of this file.

Data Structures

struct  vda_context
 This structure is used to provide the necessary configurations and data to the VDA FFmpeg HWAccel implementation. More...
 
struct  AVVDAContext
 This struct holds all the information that needs to be passed between the caller and libavcodec for initializing VDA decoding. More...
 

Macros

#define Picture   QuickdrawPicture
 

Enumerations

enum  { kVDADecodeInfo_Asynchronous = 1UL << 0, kVDADecodeInfo_FrameDropped = 1UL << 1 }
 

Functions

int ff_vda_create_decoder (struct vda_context *vda_ctx, uint8_t *extradata, int extradata_size)
 Create the video decoder.
 
int ff_vda_destroy_decoder (struct vda_context *vda_ctx)
 Destroy the video decoder.
 
AVVDAContextav_vda_alloc_context (void)
 Allocate and initialize a VDA context.
 
int av_vda_default_init (AVCodecContext *avctx)
 This is a convenience function that creates and sets up the VDA context using an internal implementation.
 
int av_vda_default_init2 (AVCodecContext *avctx, AVVDAContext *vdactx)
 This is a convenience function that creates and sets up the VDA context using an internal implementation.
 
void av_vda_default_free (AVCodecContext *avctx)
 This function must be called to free the VDA context initialized with av_vda_default_init().
 

Detailed Description

Public libavcodec VDA header.

Definition in file vda.h.

Macro Definition Documentation

#define Picture   QuickdrawPicture

Definition at line 40 of file vda.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
kVDADecodeInfo_Asynchronous 
kVDADecodeInfo_FrameDropped 

Definition at line 47 of file vda.h.