this repo has no description
1
fork

Configure Feed

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

Various stub functions and constants

Fixes #575

+107
+2
src/CoreVideo/CMakeLists.txt
··· 11 11 VERSION "A" 12 12 13 13 SOURCES 14 + src/constants.c 15 + src/stubs.c 14 16 src/CVDisplayLink.mm 15 17 16 18 DEPENDENCIES
+8
src/CoreVideo/src/constants.c
··· 1 + #include <CoreFoundation/CoreFoundation.h> 2 + 3 + const CFStringRef kCVImageBufferChromaLocationBottomFieldKey = CFSTR("CVImageBufferChromaLocationBottomField"); 4 + const CFStringRef kCVImageBufferChromaLocationTopFieldKey = CFSTR("CVImageBufferChromaLocationTopField"); 5 + const CFStringRef kCVImageBufferChromaLocation_Left = CFSTR("Left"); 6 + const CFStringRef kCVPixelBufferIOSurfacePropertiesKey = CFSTR("IOSurfaceProperties"); 7 + const CFStringRef kCVPixelBufferOpenGLCompatibilityKey = CFSTR("OpenGLCompatibility"); 8 + const CFStringRef kCVPixelBufferPixelFormatTypeKey = CFSTR("PixelFormatType");
+66
src/CoreVideo/src/stubs.c
··· 1 + #include <stdio.h> 2 + 3 + void* CVBufferRelease(void) 4 + { 5 + printf("STUB: %s\n", __PRETTY_FUNCTION__); 6 + return NULL; 7 + } 8 + 9 + void* CVPixelBufferCreateWithPlanarBytes(void) 10 + { 11 + printf("STUB: %s\n", __PRETTY_FUNCTION__); 12 + return NULL; 13 + } 14 + void* CVPixelBufferGetBaseAddress(void) 15 + { 16 + printf("STUB: %s\n", __PRETTY_FUNCTION__); 17 + return NULL; 18 + } 19 + 20 + void* CVPixelBufferGetBaseAddressOfPlane(void) 21 + { 22 + printf("STUB: %s\n", __PRETTY_FUNCTION__); 23 + return NULL; 24 + } 25 + 26 + void* CVPixelBufferGetBytesPerRowOfPlane(void) 27 + { 28 + printf("STUB: %s\n", __PRETTY_FUNCTION__); 29 + return NULL; 30 + } 31 + 32 + void* CVPixelBufferGetHeight(void) 33 + { 34 + printf("STUB: %s\n", __PRETTY_FUNCTION__); 35 + return NULL; 36 + } 37 + 38 + void* CVPixelBufferGetIOSurface(void) 39 + { 40 + printf("STUB: %s\n", __PRETTY_FUNCTION__); 41 + return NULL; 42 + } 43 + 44 + void* CVPixelBufferGetPlaneCount(void) 45 + { 46 + printf("STUB: %s\n", __PRETTY_FUNCTION__); 47 + return NULL; 48 + } 49 + 50 + void* CVPixelBufferGetWidth(void) 51 + { 52 + printf("STUB: %s\n", __PRETTY_FUNCTION__); 53 + return NULL; 54 + } 55 + 56 + void* CVPixelBufferLockBaseAddress(void) 57 + { 58 + printf("STUB: %s\n", __PRETTY_FUNCTION__); 59 + return NULL; 60 + } 61 + 62 + void* CVPixelBufferUnlockBaseAddress(void) 63 + { 64 + printf("STUB: %s\n", __PRETTY_FUNCTION__); 65 + return NULL; 66 + }
+15
src/VideoToolbox/src/VideoToolbox.m
··· 22 22 #include <stdlib.h> 23 23 #include <stdio.h> 24 24 25 + #include <CoreFoundation/CoreFoundation.h> 26 + 27 + const CFStringRef kVTCompressionPropertyKey_AllowFrameReordering = CFSTR("AllowFrameReordering"); 28 + const CFStringRef kVTCompressionPropertyKey_AverageBitRate = CFSTR("AverageBitRate"); 29 + const CFStringRef kVTCompressionPropertyKey_MaxKeyFrameInterval = CFSTR("MaxKeyFrameInterval"); 30 + const CFStringRef kVTCompressionPropertyKey_ProfileLevel = CFSTR("ProfileLevel"); 31 + const CFStringRef kVTCompressionPropertyKey_RealTime = CFSTR("RealTime"); 32 + const CFStringRef kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder = CFSTR("UsingHardwareAcceleratedVideoEncoder"); 33 + const CFStringRef kVTDecompressionPropertyKey_UsingHardwareAcceleratedVideoDecoder = CFSTR("UsingHardwareAcceleratedVideoDecoder"); 34 + const CFStringRef kVTEncodeFrameOptionKey_ForceKeyFrame = CFSTR("ForceKeyFrame"); 35 + const CFStringRef kVTProfileLevel_H264_Baseline_AutoLevel = CFSTR("AutoLevel"); 36 + const CFStringRef kVTProfileLevel_H264_Main_AutoLevel = CFSTR("AutoLevel"); 37 + const CFStringRef kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder = CFSTR("EnableHardwareAcceleratedVideoDecoder"); 38 + const CFStringRef kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder = CFSTR("EnableHardwareAcceleratedVideoEncoder"); 39 + 25 40 static int verbose = 0; 26 41 27 42 __attribute__((constructor))
+8
src/frameworks/AVFoundation/constants.m
··· 30 30 NSString *const AVErrorPersistentTrackIDKey = @"AVErrorPersistentTrackIDKey"; 31 31 NSString *const AVErrorFileTypeKey = @"AVErrorFileTypeKey"; 32 32 NSString *const AVFoundationErrorDomain = @"AVFoundationErrorDomain"; 33 + NSString *const AVCaptureDeviceWasConnectedNotification = @"AVCaptureDeviceWasConnectedNotification"; 34 + NSString *const AVCaptureDeviceWasDisconnectedNotification = @"AVCaptureDeviceWasDisconnectedNotification"; 35 + NSString *const AVCaptureSessionPreset1280x720 = @"AVCaptureSessionPreset1280x720"; 36 + NSString *const AVCaptureSessionPreset352x288 = @"AVCaptureSessionPreset352x288"; 37 + NSString *const AVCaptureSessionPreset640x480 = @"AVCaptureSessionPreset640x480"; 38 + NSString *const AVCaptureSessionPresetLow = @"AVCaptureSessionPresetLow"; 39 + NSString *const AVMediaTypeAudio = @"soun"; 40 + NSString *const AVMediaTypeVideo = @"vide";
+4
src/frameworks/CoreMedia/src/CoreMedia.c
··· 19 19 20 20 21 21 #include <CoreMedia/CoreMedia.h> 22 + #include <CoreFoundation/CoreFoundation.h> 22 23 #include <stdlib.h> 23 24 #include <stdio.h> 25 + 26 + const CFStringRef kCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms = CFSTR("SampleDescriptionExtensionAtoms"); 27 + const CFStringRef kCMSampleAttachmentKey_NotSync = CFSTR("NotSync"); 24 28 25 29 static int verbose = 0; 26 30
+4
src/frameworks/CoreServices/constants.m
··· 32 32 const CFStringRef kUTTypeUTF8PlainText = CFSTR("public.utf8-plain-text"); 33 33 const CFStringRef kUTTypeApplication = CFSTR("com.apple.application"); 34 34 const CFStringRef kUTTypeBundle = CFSTR("com.apple.bundle"); 35 + const CFStringRef kUTTypeHTML = CFSTR("public.html"); 36 + const CFStringRef kUTTypePICT = CFSTR("com.apple.pict"); 37 + const CFStringRef kUTTypeUTF16ExternalPlainText = CFSTR("public.utf16-external-plain-text"); 38 + const CFStringRef kUTTypeUTF16PlainText = CFSTR("public.utf16-plain-text"); 35 39 36 40 const CFStringRef _kLSASNKey = CFSTR("LSASN"); 37 41 const CFStringRef _kLSApplicationTypeKey = CFSTR("ApplicationType");