MythTV  master
Macros | Typedefs | Enumerations
privatedecoder_vda_defs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VDA_DECODER_PATH   "/System/Library/Frameworks/VideoDecodeAcceleration.framework/Versions/Current/VideoDecodeAcceleration"
 

Typedefs

typedef struct OpaqueVDADecoder * VDADecoder
 
typedef void(* VDADecoderOutputCallback) (void *decompressionOutputRefCon, CFDictionaryRef frameInfo, OSStatus status, uint32_t infoFlags, CVImageBufferRef imageBuffer)
 
typedef OSStatus(* MYTH_VDADECODERCREATE) (CFDictionaryRef decoderConfiguration, CFDictionaryRef destinationImageBufferAttributes, VDADecoderOutputCallback *outputCallback, void *decoderOutputCallbackRefcon, VDADecoder *decoderOut)
 
typedef OSStatus(* MYTH_VDADECODERDECODE) (VDADecoder decoder, uint32_t decodeFlags, CFTypeRef compressedBuffer, CFDictionaryRef frameInfo)
 
typedef OSStatus(* MYTH_VDADECODERFLUSH) (VDADecoder decoder, uint32_t flushFlags)
 
typedef OSStatus(* MYTH_VDADECODERDESTROY) (VDADecoder decoder)
 

Enumerations

enum  { kVDADecodeInfo_Asynchronous = 1UL << 0, kVDADecodeInfo_FrameDropped = 1UL << 1 }
 
enum  { kVDADecoderDecodeFlags_DontEmitFrame = 1 << 0 }
 
enum  { kVDADecoderFlush_EmitFrames = 1 << 0 }
 
enum  {
  kVDADecoderNoErr = 0, kVDADecoderHardwareNotSupportedErr = -12470, kVDADecoderFormatNotSupportedErr = -12471, kVDADecoderConfigurationError = -12472,
  kVDADecoderDecoderFailedErr = -12473
}
 

Macro Definition Documentation

◆ VDA_DECODER_PATH

#define VDA_DECODER_PATH   "/System/Library/Frameworks/VideoDecodeAcceleration.framework/Versions/Current/VideoDecodeAcceleration"

Definition at line 4 of file privatedecoder_vda_defs.h.

Typedef Documentation

◆ VDADecoder

typedef struct OpaqueVDADecoder* VDADecoder

Definition at line 31 of file privatedecoder_vda_defs.h.

◆ VDADecoderOutputCallback

typedef void(* VDADecoderOutputCallback) (void *decompressionOutputRefCon, CFDictionaryRef frameInfo, OSStatus status, uint32_t infoFlags, CVImageBufferRef imageBuffer)

Definition at line 34 of file privatedecoder_vda_defs.h.

◆ MYTH_VDADECODERCREATE

typedef OSStatus(* MYTH_VDADECODERCREATE) (CFDictionaryRef decoderConfiguration, CFDictionaryRef destinationImageBufferAttributes, VDADecoderOutputCallback *outputCallback, void *decoderOutputCallbackRefcon, VDADecoder *decoderOut)

Definition at line 41 of file privatedecoder_vda_defs.h.

◆ MYTH_VDADECODERDECODE

typedef OSStatus(* MYTH_VDADECODERDECODE) (VDADecoder decoder, uint32_t decodeFlags, CFTypeRef compressedBuffer, CFDictionaryRef frameInfo)

Definition at line 47 of file privatedecoder_vda_defs.h.

◆ MYTH_VDADECODERFLUSH

typedef OSStatus(* MYTH_VDADECODERFLUSH) (VDADecoder decoder, uint32_t flushFlags)

Definition at line 52 of file privatedecoder_vda_defs.h.

◆ MYTH_VDADECODERDESTROY

typedef OSStatus(* MYTH_VDADECODERDESTROY) (VDADecoder decoder)

Definition at line 54 of file privatedecoder_vda_defs.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kVDADecodeInfo_Asynchronous 
kVDADecodeInfo_FrameDropped 

Definition at line 6 of file privatedecoder_vda_defs.h.

◆ anonymous enum

anonymous enum
Enumerator
kVDADecoderDecodeFlags_DontEmitFrame 

Definition at line 12 of file privatedecoder_vda_defs.h.

◆ anonymous enum

anonymous enum
Enumerator
kVDADecoderFlush_EmitFrames 

Definition at line 17 of file privatedecoder_vda_defs.h.

◆ anonymous enum

anonymous enum
Enumerator
kVDADecoderNoErr 
kVDADecoderHardwareNotSupportedErr 
kVDADecoderFormatNotSupportedErr 
kVDADecoderConfigurationError 
kVDADecoderDecoderFailedErr 

Definition at line 22 of file privatedecoder_vda_defs.h.