Objective-CclassVisionCore
VisionCoreImageBuffer
@interface VisionCoreImageBuffer : NSObject
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
Members 87
- method
+ (BOOL)_VNVTPixelTransferImageForSource:(struct __CVBuffer *)arg0 destinationBuffer:(struct __CVBuffer *)arg1 cropRect:(CGRect)arg2 performCrop:(BOOL)arg3 vtSessionManager:(id)arg4 error:(id *)arg5; - method
+ (unsigned int)_imageOrientationForOrientation:(unsigned int)arg0; - method
+ (CGRect)_rotateCropRect:(CGRect)arg0 orientation:(int)arg1 imageSize:(CGSize)arg2; - method
+ (CGRect)computeCenterCropRectFromCropRect:(CGRect)arg0 inImageSize:(CGSize)arg1 calculatedScaleX:(double *)arg2 calculatedScaleY:(double *)arg3; - method
+ (const void *)mapOrientationToRotationDegrees; - property
@property(class, readonly) const void *mapOrientationToRotationDegrees; - ivar
VisionCoreDepthRepresentation *_depthRepresentation;+0x60 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _depthRepresentationLock;+0x68 - ivar
VisionCoreImageBufferResources *_imageBufferResources;+0x30 - ivar
VisionCoreImageSourceManager *_imageSourceManager;+0x20 - ivar
NSDictionary *_options;+0x58 - ivar
int _orientation;+0x40 - ivar
CIImage *_origCIImage;+0x10 - ivar
unsigned long long _origImageHeight;+0x50 - ivar
unsigned long long _origImageWidth;+0x48 - ivar
struct __CVBuffer *_origPixelBuffer;+0x8 - ivar
struct opaqueCMSampleBuffer *_origSampleBuffer;+0x18 - ivar
CIContext *_passedInCIContext;+0x38 - ivar
VisionCoreImageBufferCache *_pixelBufferRepsCache;+0x28 - method
- (void).cxx_destruct; - method
- (struct __CVBuffer *)_baseCVPixelBufferForOptions:(id)arg0 error:(id *)arg1; - method
- (unsigned int)_calculateDesiredSubSampleFactorForFeatureOrientation:(int)arg0 cropRect:(CGRect)arg1 width:(unsigned long long)arg2 height:(unsigned long long)arg3 rotate90CCW:(BOOL)arg4 needToUpscale:(BOOL *)arg5; - method
- (CGRect)_calculateTargetRectFromCropRect:(CGRect)arg0; - method
- (CGAffineTransform)_calculateTranslationTransformForOrientedCropWithOrientation:(int)arg0 unorientedSubsampledFullImageRect:(CGRect)arg1 unorientedSubsampledOriginalCrop:(CGRect)arg2; - method
- (struct CGContext *)_createCGContextWithFormat:(unsigned int)arg0 width:(unsigned long long)arg1 height:(unsigned long long)arg2 pixelBuffer:(struct __CVBuffer *)arg3 cgInterpolationQuality:(int)arg4 error:(id *)arg5; - method
- (BOOL)_cropCIImage:(id)arg0 outBuffer:(struct __CVBuffer * *)arg1 width:(unsigned long long)arg2 height:(unsigned long long)arg3 format:(unsigned int)arg4 cropRect:(CGRect)arg5 performCrop:(BOOL)arg6 options:(id)arg7 rotate90CCW:(BOOL)arg8 error:(id *)arg9; - method
- (BOOL)_cropCVPixelBuffer:(struct __CVBuffer *)arg0 outBuffer:(struct __CVBuffer * *)arg1 width:(unsigned long long)arg2 height:(unsigned long long)arg3 format:(unsigned int)arg4 cropRect:(CGRect)arg5 performCrop:(BOOL)arg6 options:(id)arg7 rotate90CCW:(BOOL)arg8 error:(id *)arg9; - method
- (BOOL)_cropImageSourceManager:(id)arg0 outBuffer:(struct __CVBuffer * *)arg1 width:(unsigned long long)arg2 height:(unsigned long long)arg3 format:(unsigned int)arg4 cropRect:(CGRect)arg5 performCrop:(BOOL)arg6 options:(id)arg7 rotate90CCW:(BOOL)arg8 error:(id *)arg9; - method
- (int)_determineInterpolationQualityFromOptions:(id)arg0 needToUpscale:(BOOL)arg1; - method
- (void)_dumpIntermediateImage:(struct __CVBuffer *)arg0 options:(id)arg1; - method
- (BOOL)_isRectOutOfBounds:(CGRect)arg0; - method
- (id)_optionsWithOverridingOptions:(id)arg0; - method
- (BOOL)_useCoreImageForFormat:(unsigned int)arg0; - method
- (id)augmentedBuffersWithWidth:(unsigned long long)arg0 height:(unsigned long long)arg1 format:(unsigned int)arg2 options:(id)arg3 augmentationOptions:(id)arg4 error:(id *)arg5; - method
- (id)augmentedCroppedBuffersWithWidth:(unsigned long long)arg0 height:(unsigned long long)arg1 format:(unsigned int)arg2 cropRect:(CGRect)arg3 options:(id)arg4 augmentationOptions:(id)arg5 error:(id *)arg6; - method
- (struct __CVBuffer *)bufferWithWidth:(unsigned long long)arg0 height:(unsigned long long)arg1 format:(unsigned int)arg2 options:(id)arg3 error:(id *)arg4; - method
- (struct __CVBuffer *)bufferWithWidth:(unsigned long long)arg0 height:(unsigned long long)arg1 format:(unsigned int)arg2 options:(id)arg3 error:(id *)arg4 pixelBufferRepsCacheKey:(id *)arg5; - method
- (struct __CVBuffer *)cachedPixelBufferRepresentationForKey:(id)arg0; - method
- (void)calculateOrientationCorrectedImageDimensions; - method
- (struct CGImage *)cgImage; - method
- (struct CGImage *)cgImageWithWidth:(unsigned long long)arg0 height:(unsigned long long)arg1; - method
- (id)ciImage; - method
- (struct __CVBuffer *)createBufferWithMaxSideLengthOf:(unsigned long long)arg0 pixelFormat:(unsigned int)arg1 options:(id)arg2 error:(id *)arg3; - method
- (struct __CVBuffer *)createCroppedBufferWithMaxSideLengthOf:(unsigned long long)arg0 cropRect:(CGRect)arg1 pixelFormat:(unsigned int)arg2 options:(id)arg3 error:(id *)arg4 pixelBufferRepsCacheKey:(id *)arg5; - method
- (struct __CVBuffer *)cropAndScaleBufferWithWidth:(unsigned long long)arg0 height:(unsigned long long)arg1 cropRect:(CGRect)arg2 format:(unsigned int)arg3 imageCropAndScaleOption:(unsigned long long)arg4 options:(id)arg5 error:(id *)arg6 calculatedNormalizedOriginOffset:(struct CGPoint { double x0; double x1; } *)arg7 calculatedScaleX:(double *)arg8 calculatedScaleY:(double *)arg9; - method
- (struct __CVBuffer *)cropAndScaleBufferWithWidth:(unsigned long long)arg0 height:(unsigned long long)arg1 cropRect:(CGRect)arg2 format:(unsigned int)arg3 imageCropAndScaleOption:(unsigned long long)arg4 options:(id)arg5 error:(id *)arg6 calculatedNormalizedOriginOffset:(struct CGPoint { double x0; double x1; } *)arg7 calculatedScaleX:(double *)arg8 calculatedScaleY:(double *)arg9 pixelBufferRepsCacheKey:(id *)arg10; - method
- (struct __CVBuffer *)croppedBufferWithWidth:(unsigned long long)arg0 height:(unsigned long long)arg1 format:(unsigned int)arg2 cropRect:(CGRect)arg3 options:(id)arg4 error:(id *)arg5; - method
- (struct __CVBuffer *)croppedBufferWithWidth:(unsigned long long)arg0 height:(unsigned long long)arg1 format:(unsigned int)arg2 cropRect:(CGRect)arg3 options:(id)arg4 error:(id *)arg5 pixelBufferRepsCacheKey:(id *)arg6; - method
- (void)dealloc; - method
- (id)debugQuickLookObject; - method
- (id)depthRepresentation; - method
- (id)fileURL; - method
- (CGRect)fullImageBufferRect; - method
- (unsigned long long)height; - method
- (id)initWithCGImage:(struct CGImage *)arg0 orientation:(unsigned int)arg1 imageBufferResources:(id)arg2 options:(id)arg3; - method
- (id)initWithCIImage:(id)arg0 orientation:(unsigned int)arg1 imageBufferResources:(id)arg2 options:(id)arg3; - method
- (id)initWithCMSampleBuffer:(struct opaqueCMSampleBuffer *)arg0 depthData:(id)arg1 orientation:(unsigned int)arg2 imageBufferResources:(id)arg3 options:(id)arg4; - method
- (id)initWithCMSampleBuffer:(struct opaqueCMSampleBuffer *)arg0 orientation:(unsigned int)arg1 imageBufferResources:(id)arg2 options:(id)arg3; - method
- (id)initWithCVPixelBuffer:(struct __CVBuffer *)arg0 depthData:(id)arg1 orientation:(unsigned int)arg2 imageBufferResources:(id)arg3 options:(id)arg4; - method
- (id)initWithCVPixelBuffer:(struct __CVBuffer *)arg0 imageBufferResources:(id)arg1 options:(id)arg2; - method
- (id)initWithCVPixelBuffer:(struct __CVBuffer *)arg0 orientation:(unsigned int)arg1 imageBufferResources:(id)arg2 options:(id)arg3; - method
- (id)initWithData:(id)arg0 orientation:(unsigned int)arg1 imageBufferResources:(id)arg2 options:(id)arg3; - method
- (id)initWithOptions:(id)arg0 imageBufferResources:(id)arg1 orientation:(unsigned int)arg2; - method
- (id)initWithURL:(id)arg0 imageBufferResources:(id)arg1 options:(id)arg2; - method
- (id)initWithURL:(id)arg0 orientation:(unsigned int)arg1 imageBufferResources:(id)arg2 options:(id)arg3; - method
- (id)jpegData; - method
- (CGRect)makeClippedRectAgainstImageExtentUsingOriginalRect:(CGRect)arg0; - method
- (id)options; - method
- (int)orientation; - method
- (struct CGImage *)originalCGImage; - method
- (struct __CVBuffer *)originalPixelBuffer; - method
- (void)purgeCachedRepresentations; - method
- (id)sceneStabilityMetric; - method
- (void)setOrientation:(int)arg0; - method
- (unsigned int)targetFormatCorrectedForBufferCompressed:(unsigned int)arg0; - method
- (struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; struct { long long x0; int x1; unsigned int x2; long long x3; } x2; })timingInfo; - method
- (unsigned long long)width; - property
@property(readonly) NSURL *fileURL; - property
@property(readonly) CGRect fullImageBufferRect; - property
@property(readonly) unsigned long long height; - property
@property(readonly) NSDictionary *options; - property
@property(readonly) int orientation; - property
@property(readonly) struct CGImage *originalCGImage; - property
@property(readonly) struct __CVBuffer *originalPixelBuffer; - property
@property(readonly) NSNumber *sceneStabilityMetric; - property
@property(readonly) struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; struct { long long x0; int x1; unsigned int x2; long long x3; } x2; } timingInfo; - property
@property(readonly) unsigned long long width;
Header
@interface VisionCoreImageBuffer : NSObject { struct __CVBuffer *_origPixelBuffer; CIImage *_origCIImage; struct opaqueCMSampleBuffer *_origSampleBuffer; VisionCoreImageSourceManager *_imageSourceManager; VisionCoreImageBufferCache *_pixelBufferRepsCache; VisionCoreImageBufferResources *_imageBufferResources; CIContext *_passedInCIContext; int _orientation; unsigned long long _origImageWidth; unsigned long long _origImageHeight; NSDictionary *_options; VisionCoreDepthRepresentation *_depthRepresentation; struct os_unfair_lock_s _depthRepresentationLock; } @property (class, readonly) const void *mapOrientationToRotationDegrees; @property (readonly) struct CGRect fullImageBufferRect; @property (readonly) unsigned long long width; @property (readonly) unsigned long long height; @property (readonly) int orientation; @property (readonly) NSDictionary *options; @property (readonly) struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; struct { long long x0; int x1; unsigned int x2; long long x3; } x2; } timingInfo; @property (readonly) NSNumber *sceneStabilityMetric; @property (readonly) struct __CVBuffer *originalPixelBuffer; @property (readonly) struct CGImage *originalCGImage; @property (readonly) NSURL *fileURL; + (struct CGRect)computeCenterCropRectFromCropRect:(struct CGRect)cropRect inImageSize:(struct CGSize)inImageSize calculatedScaleX:(double *)calculatedScaleX calculatedScaleY:(double *)calculatedScaleY; + (const void *)mapOrientationToRotationDegrees; + (BOOL)_VNVTPixelTransferImageForSource:(struct __CVBuffer *)source destinationBuffer:(struct __CVBuffer *)destinationBuffer cropRect:(struct CGRect)cropRect performCrop:(BOOL)performCrop vtSessionManager:(id)vtSessionManager error:(id *)error; + (unsigned int)_imageOrientationForOrientation:(unsigned int)orientation; + (struct CGRect)_rotateCropRect:(struct CGRect)_rotateCropRect orientation:(int)orientation imageSize:(struct CGSize)imageSize; - (id)ciImage; - (id)_optionsWithOverridingOptions:(id)overridingOptions; - (BOOL)_cropImageSourceManager:(id)_cropImageSourceManager outBuffer:(struct __CVBuffer * *)outBuffer width:(unsigned long long)width height:(unsigned long long)height format:(unsigned int)format cropRect:(struct CGRect)cropRect performCrop:(BOOL)performCrop options:(id)options rotate90CCW:(BOOL)rotate90CCW error:(id *)error; - (unsigned long long)width; - (struct CGRect)_calculateTargetRectFromCropRect:(struct CGRect)cropRect; - (id)fileURL; - (id)depthRepresentation; - (id)augmentedCroppedBuffersWithWidth:(unsigned long long)width height:(unsigned long long)height format:(unsigned int)format cropRect:(struct CGRect)cropRect options:(id)options augmentationOptions:(id)augmentationOptions error:(id *)error; - (struct __CVBuffer *)bufferWithWidth:(unsigned long long)width height:(unsigned long long)height format:(unsigned int)format options:(id)options error:(id *)error pixelBufferRepsCacheKey:(id *)pixelBufferRepsCacheKey; - (struct __CVBuffer *)createCroppedBufferWithMaxSideLengthOf:(unsigned long long)maxSideLengthOf cropRect:(struct CGRect)cropRect pixelFormat:(unsigned int)pixelFormat options:(id)options error:(id *)error pixelBufferRepsCacheKey:(id *)pixelBufferRepsCacheKey; - (struct __CVBuffer *)croppedBufferWithWidth:(unsigned long long)width height:(unsigned long long)height format:(unsigned int)format cropRect:(struct CGRect)cropRect options:(id)options error:(id *)error pixelBufferRepsCacheKey:(id *)pixelBufferRepsCacheKey; - (struct CGAffineTransform)_calculateTranslationTransformForOrientedCropWithOrientation:(int)orientation unorientedSubsampledFullImageRect:(struct CGRect)unorientedSubsampledFullImageRect unorientedSubsampledOriginalCrop:(struct CGRect)unorientedSubsampledOriginalCrop; - (int)_determineInterpolationQualityFromOptions:(id)options needToUpscale:(BOOL)upscale; - (struct CGRect)fullImageBufferRect; - (id)initWithCIImage:(id)cIImage orientation:(unsigned int)orientation imageBufferResources:(id)imageBufferResources options:(id)options; - (void)setOrientation:(int)orientation; - (struct __CVBuffer *)createBufferWithMaxSideLengthOf:(unsigned long long)maxSideLengthOf pixelFormat:(unsigned int)pixelFormat options:(id)options error:(id *)error; - (BOOL)_cropCVPixelBuffer:(struct __CVBuffer *)_cropCVPixelBuffer outBuffer:(struct __CVBuffer * *)outBuffer width:(unsigned long long)width height:(unsigned long long)height format:(unsigned int)format cropRect:(struct CGRect)cropRect performCrop:(BOOL)performCrop options:(id)options rotate90CCW:(BOOL)rotate90CCW error:(id *)error; - (struct CGImage *)cgImage; - (id)initWithCVPixelBuffer:(struct __CVBuffer *)cVPixelBuffer orientation:(unsigned int)orientation imageBufferResources:(id)imageBufferResources options:(id)options; - (id)initWithCMSampleBuffer:(struct opaqueCMSampleBuffer *)cMSampleBuffer depthData:(id)depthData orientation:(unsigned int)orientation imageBufferResources:(id)imageBufferResources options:(id)options; - (void).cxx_destruct; - (struct CGImage *)cgImageWithWidth:(unsigned long long)width height:(unsigned long long)height; - (unsigned int)_calculateDesiredSubSampleFactorForFeatureOrientation:(int)featureOrientation cropRect:(struct CGRect)cropRect width:(unsigned long long)width height:(unsigned long long)height rotate90CCW:(BOOL)rotate90CCW needToUpscale:(BOOL *)upscale; - (struct __CVBuffer *)originalPixelBuffer; - (id)initWithURL:(id)uRL orientation:(unsigned int)orientation imageBufferResources:(id)imageBufferResources options:(id)options; - (id)initWithCGImage:(struct CGImage *)cGImage orientation:(unsigned int)orientation imageBufferResources:(id)imageBufferResources options:(id)options; - (void)dealloc; - (id)jpegData; - (struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; struct { long long x0; int x1; unsigned int x2; long long x3; } x2; })timingInfo; - (struct __CVBuffer *)_baseCVPixelBufferForOptions:(id)options error:(id *)error; - (struct CGRect)makeClippedRectAgainstImageExtentUsingOriginalRect:(struct CGRect)originalRect; - (BOOL)_isRectOutOfBounds:(struct CGRect)bounds; - (int)orientation; - (id)initWithOptions:(id)options imageBufferResources:(id)imageBufferResources orientation:(unsigned int)orientation; - (struct CGImage *)originalCGImage; - (id)initWithData:(id)data orientation:(unsigned int)orientation imageBufferResources:(id)imageBufferResources options:(id)options; - (id)initWithCMSampleBuffer:(struct opaqueCMSampleBuffer *)cMSampleBuffer orientation:(unsigned int)orientation imageBufferResources:(id)imageBufferResources options:(id)options; - (struct __CVBuffer *)bufferWithWidth:(unsigned long long)width height:(unsigned long long)height format:(unsigned int)format options:(id)options error:(id *)error; - (void)calculateOrientationCorrectedImageDimensions; - (id)debugQuickLookObject; - (BOOL)_cropCIImage:(id)_cropCIImage outBuffer:(struct __CVBuffer * *)outBuffer width:(unsigned long long)width height:(unsigned long long)height format:(unsigned int)format cropRect:(struct CGRect)cropRect performCrop:(BOOL)performCrop options:(id)options rotate90CCW:(BOOL)rotate90CCW error:(id *)error; - (struct __CVBuffer *)cropAndScaleBufferWithWidth:(unsigned long long)width height:(unsigned long long)height cropRect:(struct CGRect)cropRect format:(unsigned int)format imageCropAndScaleOption:(unsigned long long)scaleOption options:(id)options error:(id *)error calculatedNormalizedOriginOffset:(struct CGPoint *)calculatedNormalizedOriginOffset calculatedScaleX:(double *)calculatedScaleX calculatedScaleY:(double *)calculatedScaleY pixelBufferRepsCacheKey:(id *)pixelBufferRepsCacheKey; - (void)_dumpIntermediateImage:(struct __CVBuffer *)_dumpIntermediateImage options:(id)options; - (void)purgeCachedRepresentations; - (unsigned long long)height; - (struct __CVBuffer *)cropAndScaleBufferWithWidth:(unsigned long long)width height:(unsigned long long)height cropRect:(struct CGRect)cropRect format:(unsigned int)format imageCropAndScaleOption:(unsigned long long)scaleOption options:(id)options error:(id *)error calculatedNormalizedOriginOffset:(struct CGPoint *)calculatedNormalizedOriginOffset calculatedScaleX:(double *)calculatedScaleX calculatedScaleY:(double *)calculatedScaleY; - (id)options; - (unsigned int)targetFormatCorrectedForBufferCompressed:(unsigned int)bufferCompressed; - (struct __CVBuffer *)croppedBufferWithWidth:(unsigned long long)width height:(unsigned long long)height format:(unsigned int)format cropRect:(struct CGRect)cropRect options:(id)options error:(id *)error; - (id)initWithURL:(id)uRL imageBufferResources:(id)imageBufferResources options:(id)options; - (id)initWithCVPixelBuffer:(struct __CVBuffer *)cVPixelBuffer imageBufferResources:(id)imageBufferResources options:(id)options; - (struct CGContext *)_createCGContextWithFormat:(unsigned int)format width:(unsigned long long)width height:(unsigned long long)height pixelBuffer:(struct __CVBuffer *)pixelBuffer cgInterpolationQuality:(int)cgInterpolationQuality error:(id *)error; - (id)augmentedBuffersWithWidth:(unsigned long long)width height:(unsigned long long)height format:(unsigned int)format options:(id)options augmentationOptions:(id)augmentationOptions error:(id *)error; - (BOOL)_useCoreImageForFormat:(unsigned int)format; - (id)sceneStabilityMetric; - (id)initWithCVPixelBuffer:(struct __CVBuffer *)cVPixelBuffer depthData:(id)depthData orientation:(unsigned int)orientation imageBufferResources:(id)imageBufferResources options:(id)options; - (struct __CVBuffer *)cachedPixelBufferRepresentationForKey:(id)key; @end