Objective-CclassVisionCore

@interface VisionCoreImageBuffer : NSObject

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 87

  1. method+ (BOOL)_VNVTPixelTransferImageForSource:(struct __CVBuffer *)arg0 destinationBuffer:(struct __CVBuffer *)arg1 cropRect:(CGRect)arg2 performCrop:(BOOL)arg3 vtSessionManager:(id)arg4 error:(id *)arg5;
  2. method+ (unsigned int)_imageOrientationForOrientation:(unsigned int)arg0;
  3. method+ (CGRect)_rotateCropRect:(CGRect)arg0 orientation:(int)arg1 imageSize:(CGSize)arg2;
  4. method+ (CGRect)computeCenterCropRectFromCropRect:(CGRect)arg0 inImageSize:(CGSize)arg1 calculatedScaleX:(double *)arg2 calculatedScaleY:(double *)arg3;
  5. method+ (const void *)mapOrientationToRotationDegrees;
  6. property@property(class, readonly) const void *mapOrientationToRotationDegrees;
  7. ivarVisionCoreDepthRepresentation *_depthRepresentation;+0x60
  8. ivarstruct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _depthRepresentationLock;+0x68
  9. ivarVisionCoreImageBufferResources *_imageBufferResources;+0x30
  10. ivarVisionCoreImageSourceManager *_imageSourceManager;+0x20
  11. ivarNSDictionary *_options;+0x58
  12. ivarint _orientation;+0x40
  13. ivarCIImage *_origCIImage;+0x10
  14. ivarunsigned long long _origImageHeight;+0x50
  15. ivarunsigned long long _origImageWidth;+0x48
  16. ivarstruct __CVBuffer *_origPixelBuffer;+0x8
  17. ivarstruct opaqueCMSampleBuffer *_origSampleBuffer;+0x18
  18. ivarCIContext *_passedInCIContext;+0x38
  19. ivarVisionCoreImageBufferCache *_pixelBufferRepsCache;+0x28
  20. method- (void).cxx_destruct;
  21. method- (struct __CVBuffer *)_baseCVPixelBufferForOptions:(id)arg0 error:(id *)arg1;
  22. 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;
  23. method- (CGRect)_calculateTargetRectFromCropRect:(CGRect)arg0;
  24. method- (CGAffineTransform)_calculateTranslationTransformForOrientedCropWithOrientation:(int)arg0 unorientedSubsampledFullImageRect:(CGRect)arg1 unorientedSubsampledOriginalCrop:(CGRect)arg2;
  25. 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;
  26. 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;
  27. 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;
  28. 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;
  29. method- (int)_determineInterpolationQualityFromOptions:(id)arg0 needToUpscale:(BOOL)arg1;
  30. method- (void)_dumpIntermediateImage:(struct __CVBuffer *)arg0 options:(id)arg1;
  31. method- (BOOL)_isRectOutOfBounds:(CGRect)arg0;
  32. method- (id)_optionsWithOverridingOptions:(id)arg0;
  33. method- (BOOL)_useCoreImageForFormat:(unsigned int)arg0;
  34. 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;
  35. 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;
  36. method- (struct __CVBuffer *)bufferWithWidth:(unsigned long long)arg0 height:(unsigned long long)arg1 format:(unsigned int)arg2 options:(id)arg3 error:(id *)arg4;
  37. 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;
  38. method- (struct __CVBuffer *)cachedPixelBufferRepresentationForKey:(id)arg0;
  39. method- (void)calculateOrientationCorrectedImageDimensions;
  40. method- (struct CGImage *)cgImage;
  41. method- (struct CGImage *)cgImageWithWidth:(unsigned long long)arg0 height:(unsigned long long)arg1;
  42. method- (id)ciImage;
  43. method- (struct __CVBuffer *)createBufferWithMaxSideLengthOf:(unsigned long long)arg0 pixelFormat:(unsigned int)arg1 options:(id)arg2 error:(id *)arg3;
  44. method- (struct __CVBuffer *)createCroppedBufferWithMaxSideLengthOf:(unsigned long long)arg0 cropRect:(CGRect)arg1 pixelFormat:(unsigned int)arg2 options:(id)arg3 error:(id *)arg4 pixelBufferRepsCacheKey:(id *)arg5;
  45. 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;
  46. 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;
  47. 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;
  48. 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;
  49. method- (void)dealloc;
  50. method- (id)debugQuickLookObject;
  51. method- (id)depthRepresentation;
  52. method- (id)fileURL;
  53. method- (CGRect)fullImageBufferRect;
  54. method- (unsigned long long)height;
  55. method- (id)initWithCGImage:(struct CGImage *)arg0 orientation:(unsigned int)arg1 imageBufferResources:(id)arg2 options:(id)arg3;
  56. method- (id)initWithCIImage:(id)arg0 orientation:(unsigned int)arg1 imageBufferResources:(id)arg2 options:(id)arg3;
  57. method- (id)initWithCMSampleBuffer:(struct opaqueCMSampleBuffer *)arg0 depthData:(id)arg1 orientation:(unsigned int)arg2 imageBufferResources:(id)arg3 options:(id)arg4;
  58. method- (id)initWithCMSampleBuffer:(struct opaqueCMSampleBuffer *)arg0 orientation:(unsigned int)arg1 imageBufferResources:(id)arg2 options:(id)arg3;
  59. method- (id)initWithCVPixelBuffer:(struct __CVBuffer *)arg0 depthData:(id)arg1 orientation:(unsigned int)arg2 imageBufferResources:(id)arg3 options:(id)arg4;
  60. method- (id)initWithCVPixelBuffer:(struct __CVBuffer *)arg0 imageBufferResources:(id)arg1 options:(id)arg2;
  61. method- (id)initWithCVPixelBuffer:(struct __CVBuffer *)arg0 orientation:(unsigned int)arg1 imageBufferResources:(id)arg2 options:(id)arg3;
  62. method- (id)initWithData:(id)arg0 orientation:(unsigned int)arg1 imageBufferResources:(id)arg2 options:(id)arg3;
  63. method- (id)initWithOptions:(id)arg0 imageBufferResources:(id)arg1 orientation:(unsigned int)arg2;
  64. method- (id)initWithURL:(id)arg0 imageBufferResources:(id)arg1 options:(id)arg2;
  65. method- (id)initWithURL:(id)arg0 orientation:(unsigned int)arg1 imageBufferResources:(id)arg2 options:(id)arg3;
  66. method- (id)jpegData;
  67. method- (CGRect)makeClippedRectAgainstImageExtentUsingOriginalRect:(CGRect)arg0;
  68. method- (id)options;
  69. method- (int)orientation;
  70. method- (struct CGImage *)originalCGImage;
  71. method- (struct __CVBuffer *)originalPixelBuffer;
  72. method- (void)purgeCachedRepresentations;
  73. method- (id)sceneStabilityMetric;
  74. method- (void)setOrientation:(int)arg0;
  75. method- (unsigned int)targetFormatCorrectedForBufferCompressed:(unsigned int)arg0;
  76. 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;
  77. method- (unsigned long long)width;
  78. property@property(readonly) NSURL *fileURL;
  79. property@property(readonly) CGRect fullImageBufferRect;
  80. property@property(readonly) unsigned long long height;
  81. property@property(readonly) NSDictionary *options;
  82. property@property(readonly) int orientation;
  83. property@property(readonly) struct CGImage *originalCGImage;
  84. property@property(readonly) struct __CVBuffer *originalPixelBuffer;
  85. property@property(readonly) NSNumber *sceneStabilityMetric;
  86. 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;
  87. property@property(readonly) unsigned long long width;
@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