Objective-CclassDeepVideoProcessingCore
OFNormalization
@interface OFNormalization : VEMetalBase
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classVEMetalBase
Members 65
- ivar
id <MTLComputePipelineState> _copyRgbToTextureArray;+0x60 - ivar
id <MTLComputePipelineState> _copyTextureArrayToRgb;+0x68 - ivar
id <MTLComputePipelineState> _denormalizeKernel;+0x78 - ivar
id <MTLComputePipelineState> _denormalizeToPlanarKernel;+0x70 - ivar
id <MTLRenderPipelineState> _denormalizeYCbCr10RenderKernel;+0x88 - ivar
id <MTLRenderPipelineState> _denormalizeYCbCr10UnpackedRenderKernel;+0x90 - ivar
id <MTLRenderPipelineState> _denormalizeYCbCr8RenderKernel;+0x80 - ivar
BOOL _disableSIMDSum;+0xe0 - ivar
id <MTLBuffer> _firstParamBuffer;+0xd0 - ivar
id <MTLComputePipelineState> _normalizePackedToPlanarKernel;+0x48 - ivar
id <MTLComputePipelineState> _normalizePlanarToPlanarKernel;+0x40 - ivar
id <MTLComputePipelineState> _normalizeYUV420ToPlanarKernel;+0x50 - ivar
id <MTLComputePipelineState> _padRGBKernel;+0x58 - ivar
id <MTLComputePipelineState> _postprocessSRFrameYUV420Kernel;+0xa0 - ivar
id <MTLComputePipelineState> _postprocessSRFrameYUV420_2PKernel;+0x98 - ivar
struct { float sum; float sum_of_square; } _prevSecondStat;+0xb0 - ivar
id <MTLBuffer> _prevStatsBuffer;+0xb8 - ivar
id <MTLBuffer> _secondParamBuffer;+0xd8 - ivar
BOOL _selfNormalization;+0xe1 - ivar
MTLSharedEventListener *_sharedEventListener;+0xc8 - ivar
id <MTLComputePipelineState> _statisticsPackedKernel;+0x30 - ivar
id <MTLComputePipelineState> _statisticsPlanarKernel;+0x28 - ivar
id <MTLComputePipelineState> _statisticsYUV420Kernel;+0x38 - ivar
NSObject<OS_dispatch_queue> *_synchronizationQueue;+0xc0 - ivar
BOOL _useFloatAtomic;+0xe3 - ivar
BOOL _useSIMDSum;+0xe2 - ivar
id <MTLBuffer> _vertsBuffer;+0xa8 - method
- (void).cxx_destruct; - method
- (struct { float x0; float x1; })calcAnchorParamsFromNormParams:(struct { float x0; float x1; float[2] x2; float[2] x3; int x4; })arg0 anchor:(int)arg1; - method
- (struct { float x0; float x1; int x2; })calcDeNormParamsFromNormaParams:(struct { float x0; float x1; float[2] x2; float[2] x3; int x4; })arg0 timeScale:(float)arg1; - method
- (struct { float x0; float x1; })calcFrameStatistics:(struct __CVBuffer *)arg0; - method
- (struct { float x0; float x1; })calcTextureStatistics:(id)arg0; - method
- (struct { float x0; float x1; })calcTextureStatisticsFromStatsBuffer:(id)arg0; - method
- (BOOL)convertFP16IOSurface:(struct __IOSurface *)arg0 toRGBBuffer:(struct __CVBuffer *)arg1; - method
- (BOOL)convertRGBBuffer:(struct __CVBuffer *)arg0 toFP16IOSurface:(struct __IOSurface *)arg1; - method
- (BOOL)copyRGBBuffer:(struct __CVBuffer *)arg0 toTextureArray:(id)arg1; - method
- (id)createFP16TextureFromIOSurface:(struct __IOSurface *)arg0 width:(long long)arg1 height:(long long)arg2 arrayLength:(long long)arg3; - method
- (void)denormalizeFrame:(struct __CVBuffer *)arg0 destination:(struct __CVBuffer *)arg1 params:(const struct { float x0; float x1; float[2] x2; float[2] x3; int x4; } *)arg2 timeScale:(float)arg3 callback:(id /* block */)arg4; - method
- (void)encodeCopyRGBBufferToCommandBuffer:(id)arg0 source:(id)arg1 destination:(id)arg2; - method
- (void)encodeDenormalizationRenderToCommandBuffer:(id)arg0 source:(id)arg1 destination:(id)arg2 params:(struct { float x0; float x1; int x2; })arg3; - method
- (void)encodeDenormalizationToCommandBuffer:(id)arg0 source:(id)arg1 destination:(id)arg2 params:(struct { float x0; float x1; int x2; })arg3; - method
- (void)encodeNormalizationToCommandBuffer:(id)arg0 source:(id)arg1 destination:(id)arg2 configBuffer:(id)arg3; - method
- (void)encodeNormalizationToCommandBuffer:(id)arg0 source:(id)arg1 destination:(id)arg2 normParamBuffer:(id)arg3; - method
- (void)encodeNormalizationToCommandBuffer:(id)arg0 source:(id)arg1 destination:(id)arg2 params:(struct { float x0; float x1; })arg3; - method
- (void)encodePadRGBToCommandBuffer:(id)arg0 source:(id)arg1 destination:(id)arg2; - method
- (void)encodePostprocessSRFrameToCommandBuffer:(id)arg0 srFrameY:(id)arg1 bicubicY:(id)arg2 bicubicUV:(id)arg3 outputY:(id)arg4 outputUV:(id)arg5; - method
- (void)encodeStatisticsToCommandBuffer:(id)arg0 texture:(id)arg1 stats:(id)arg2; - method
- (id)init; - method
- (id)initWithMode:(long long)arg0; - method
- (void)normalizeFramesFirstInput:(struct __CVBuffer *)arg0 secondInput:(struct __CVBuffer *)arg1 firstOutput:(struct __CVBuffer *)arg2 secondOutput:(struct __CVBuffer *)arg3 callback:(id /* block */)arg4; - method
- (void)normalizeWithParmas:(struct { float x0; float x1; float[2] x2; float[2] x3; int x4; })arg0 firstInput:(struct __CVBuffer *)arg1 secondInput:(struct __CVBuffer *)arg2 firstOutput:(struct __CVBuffer *)arg3 secondOutput:(struct __CVBuffer *)arg4; - method
- (BOOL)padRGB:(struct __CVBuffer *)arg0 to:(struct __CVBuffer *)arg1; - method
- (BOOL)postprocessSRFrame:(struct __CVBuffer *)arg0 bicubicYUV:(struct __CVBuffer *)arg1 outputYUV:(struct __CVBuffer *)arg2; - method
- (BOOL)selfNormalization; - method
- (void)setSelfNormalization:(BOOL)arg0; - method
- (void)setUseFloatAtomic:(BOOL)arg0; - method
- (void)setUseSIMDSum:(BOOL)arg0; - method
- (void)setupMetal; - method
- (id)statsBufferForTexture:(id)arg0; - method
- (struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; })threadsPerGroupForStats; - method
- (BOOL)useFloatAtomic; - method
- (BOOL)useSIMDSum; - property
@property(nonatomic) BOOL selfNormalization; - property
@property(nonatomic) BOOL useFloatAtomic; - property
@property(nonatomic) BOOL useSIMDSum;
Header
@interface OFNormalization : VEMetalBase { id<MTLComputePipelineState> _statisticsPlanarKernel; id<MTLComputePipelineState> _statisticsPackedKernel; id<MTLComputePipelineState> _statisticsYUV420Kernel; id<MTLComputePipelineState> _normalizePlanarToPlanarKernel; id<MTLComputePipelineState> _normalizePackedToPlanarKernel; id<MTLComputePipelineState> _normalizeYUV420ToPlanarKernel; id<MTLComputePipelineState> _padRGBKernel; id<MTLComputePipelineState> _copyRgbToTextureArray; id<MTLComputePipelineState> _copyTextureArrayToRgb; id<MTLComputePipelineState> _denormalizeToPlanarKernel; id<MTLComputePipelineState> _denormalizeKernel; id<MTLRenderPipelineState> _denormalizeYCbCr8RenderKernel; id<MTLRenderPipelineState> _denormalizeYCbCr10RenderKernel; id<MTLRenderPipelineState> _denormalizeYCbCr10UnpackedRenderKernel; id<MTLComputePipelineState> _postprocessSRFrameYUV420_2PKernel; id<MTLComputePipelineState> _postprocessSRFrameYUV420Kernel; id<MTLBuffer> _vertsBuffer; struct { float sum; float sum_of_square; } _prevSecondStat; id<MTLBuffer> _prevStatsBuffer; NSObject<OS_dispatch_queue> *_synchronizationQueue; MTLSharedEventListener *_sharedEventListener; id<MTLBuffer> _firstParamBuffer; id<MTLBuffer> _secondParamBuffer; BOOL _disableSIMDSum; BOOL _selfNormalization; BOOL _useSIMDSum; BOOL _useFloatAtomic; } @property (nonatomic) BOOL selfNormalization; @property (nonatomic) BOOL useSIMDSum; @property (nonatomic) BOOL useFloatAtomic; - (void)setupMetal; - (void).cxx_destruct; - (id)initWithMode:(long long)mode; - (id)init; - (void)encodeDenormalizationToCommandBuffer:(id)commandBuffer source:(id)source destination:(id)destination params:(struct { float x0; float x1; int x2; })params; - (struct { float x0; float x1; })calcAnchorParamsFromNormParams:(struct { float x0; float x1; float x2[2]; float x3[2]; int x4; })normParams anchor:(int)anchor; - (struct { float x0; float x1; int x2; })calcDeNormParamsFromNormaParams:(struct { float x0; float x1; float x2[2]; float x3[2]; int x4; })normaParams timeScale:(float)timeScale; - (struct { float x0; float x1; })calcFrameStatistics:(struct __CVBuffer *)calcFrameStatistics; - (struct { float x0; float x1; })calcTextureStatistics:(id)calcTextureStatistics; - (struct { float x0; float x1; })calcTextureStatisticsFromStatsBuffer:(id)statsBuffer; - (BOOL)convertFP16IOSurface:(struct __IOSurface *)convertFP16IOSurface toRGBBuffer:(struct __CVBuffer *)toRGBBuffer; - (BOOL)convertRGBBuffer:(struct __CVBuffer *)convertRGBBuffer toFP16IOSurface:(struct __IOSurface *)toFP16IOSurface; - (BOOL)copyRGBBuffer:(struct __CVBuffer *)copyRGBBuffer toTextureArray:(id)toTextureArray; - (id)createFP16TextureFromIOSurface:(struct __IOSurface *)iOSurface width:(long long)width height:(long long)height arrayLength:(long long)arrayLength; - (void)denormalizeFrame:(struct __CVBuffer *)denormalizeFrame destination:(struct __CVBuffer *)destination params:(const struct { float x0; float x1; float x2[2]; float x3[2]; int x4; } *)params timeScale:(float)timeScale callback:(id /* block */)callback; - (void)encodeCopyRGBBufferToCommandBuffer:(id)commandBuffer source:(id)source destination:(id)destination; - (void)encodeDenormalizationRenderToCommandBuffer:(id)commandBuffer source:(id)source destination:(id)destination params:(struct { float x0; float x1; int x2; })params; - (void)encodeNormalizationToCommandBuffer:(id)commandBuffer source:(id)source destination:(id)destination configBuffer:(id)configBuffer; - (void)encodeNormalizationToCommandBuffer:(id)commandBuffer source:(id)source destination:(id)destination normParamBuffer:(id)normParamBuffer; - (void)encodeNormalizationToCommandBuffer:(id)commandBuffer source:(id)source destination:(id)destination params:(struct { float x0; float x1; })params; - (void)encodePadRGBToCommandBuffer:(id)commandBuffer source:(id)source destination:(id)destination; - (void)encodePostprocessSRFrameToCommandBuffer:(id)commandBuffer srFrameY:(id)srFrameY bicubicY:(id)bicubicY bicubicUV:(id)bicubicUV outputY:(id)outputY outputUV:(id)outputUV; - (void)encodeStatisticsToCommandBuffer:(id)commandBuffer texture:(id)texture stats:(id)stats; - (void)normalizeFramesFirstInput:(struct __CVBuffer *)normalizeFramesFirstInput secondInput:(struct __CVBuffer *)secondInput firstOutput:(struct __CVBuffer *)firstOutput secondOutput:(struct __CVBuffer *)secondOutput callback:(id /* block */)callback; - (void)normalizeWithParmas:(struct { float x0; float x1; float x2[2]; float x3[2]; int x4; })parmas firstInput:(struct __CVBuffer *)firstInput secondInput:(struct __CVBuffer *)secondInput firstOutput:(struct __CVBuffer *)firstOutput secondOutput:(struct __CVBuffer *)secondOutput; - (BOOL)padRGB:(struct __CVBuffer *)padRGB to:(struct __CVBuffer *)to; - (BOOL)postprocessSRFrame:(struct __CVBuffer *)postprocessSRFrame bicubicYUV:(struct __CVBuffer *)bicubicYUV outputYUV:(struct __CVBuffer *)outputYUV; - (BOOL)selfNormalization; - (void)setSelfNormalization:(BOOL)selfNormalization; - (void)setUseFloatAtomic:(BOOL)useFloatAtomic; - (void)setUseSIMDSum:(BOOL)useSIMDSum; - (id)statsBufferForTexture:(id)texture; - (struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; })threadsPerGroupForStats; - (BOOL)useFloatAtomic; - (BOOL)useSIMDSum; @end