this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

VideoDecodeAcceleration framework stubs

+108
+1
src/frameworks/CMakeLists.txt
··· 57 57 add_subdirectory(SyncServices) 58 58 add_subdirectory(SystemConfiguration) 59 59 add_subdirectory(VideoToolbox) 60 + add_subdirectory(VideoDecodeAcceleration) 60 61 add_subdirectory(WebKit) 61 62 add_subdirectory(CFOpenDirectory) 62 63 add_subdirectory(UserNotifications)
+16
src/frameworks/VideoDecodeAcceleration/CMakeLists.txt
··· 1 + project(VideoDecodeAcceleration) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + 6 + add_framework(VideoDecodeAcceleration 7 + FAT 8 + CURRENT_VERSION 9 + VERSION "A" 10 + 11 + SOURCES 12 + src/VideoDecodeAcceleration.c 13 + 14 + DEPENDENCIES 15 + system 16 + )
+30
src/frameworks/VideoDecodeAcceleration/include/VideoDecodeAcceleration/VideoDecodeAcceleration.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #ifndef _VideoDecodeAcceleration_H_ 22 + #define _VideoDecodeAcceleration_H_ 23 + 24 + void* VDADecoderCreate(void); 25 + void* VDADecoderDecode(void); 26 + void* VDADecoderDestroy(void); 27 + void* VDADecoderFlush(void); 28 + void* myVTOutputCallback(void); 29 + 30 + #endif
+60
src/frameworks/VideoDecodeAcceleration/src/VideoDecodeAcceleration.c
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #include <VideoDecodeAcceleration/VideoDecodeAcceleration.h> 22 + #include <stdlib.h> 23 + #include <stdio.h> 24 + 25 + static int verbose = 0; 26 + 27 + __attribute__((constructor)) 28 + static void initme(void) { 29 + verbose = getenv("STUB_VERBOSE") != NULL; 30 + } 31 + 32 + void* VDADecoderCreate(void) 33 + { 34 + if (verbose) puts("STUB: VDADecoderCreate called"); 35 + return NULL; 36 + } 37 + 38 + void* VDADecoderDecode(void) 39 + { 40 + if (verbose) puts("STUB: VDADecoderDecode called"); 41 + return NULL; 42 + } 43 + 44 + void* VDADecoderDestroy(void) 45 + { 46 + if (verbose) puts("STUB: VDADecoderDestroy called"); 47 + return NULL; 48 + } 49 + 50 + void* VDADecoderFlush(void) 51 + { 52 + if (verbose) puts("STUB: VDADecoderFlush called"); 53 + return NULL; 54 + } 55 + 56 + void* myVTOutputCallback(void) 57 + { 58 + if (verbose) puts("STUB: myVTOutputCallback called"); 59 + return NULL; 60 + }
+1
src/frameworks/include/VideoDecodeAcceleration
··· 1 + ../VideoDecodeAcceleration/include/VideoDecodeAcceleration