this repo has no description
1#include <CoreFoundation/CFBase.h>
2#include <CoreFoundation/CFString.h>
3#include "../CFF/CFStringConst.h"
4
5// A real implementation would use VA API or VDPAU
6
7CONST_STRING_DECL(kVDADecoderConfiguration_Height, "kVDADecoderConfiguration_Height");
8CONST_STRING_DECL(kVDADecoderConfiguration_Width, "kVDADecoderConfiguration_Width");
9CONST_STRING_DECL(kVDADecoderConfiguration_SourceFormat, "kVDADecoderConfiguration_SourceFormat");
10CONST_STRING_DECL(kVDADecoderConfiguration_avcCData, "kVDADecoderConfiguration_avcCData");
11
12#define kVDADecoderHardwareNotSupportedErr -12470
13
14__attribute__((constructor))
15 static void initConstants()
16{
17 CFTypeID type = CFStringGetTypeID();
18 GSRuntimeConstantInit(kVDADecoderConfiguration_Height, type);
19 GSRuntimeConstantInit(kVDADecoderConfiguration_Width, type);
20 GSRuntimeConstantInit(kVDADecoderConfiguration_SourceFormat, type);
21 GSRuntimeConstantInit(kVDADecoderConfiguration_avcCData, type);
22}
23
24OSStatus VDADecoderCreate()
25{
26 return kVDADecoderHardwareNotSupportedErr;
27}
28
29OSStatus VDADecoderDestroy()
30{
31 return kVDADecoderHardwareNotSupportedErr;
32}
33
34OSStatus VDADecoderDecode()
35{
36 return kVDADecoderHardwareNotSupportedErr;
37}
38
39OSStatus VDADecoderFlush()
40{
41 return kVDADecoderHardwareNotSupportedErr;
42}
43