makeFromRawAttachmentValue
TypeScriptstatic makeFromRawAttachmentValue(repr: CVAttachmentRawValue): (CVProResRawMetadata) | nullSwift declarationstatic func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> CVProResRawMetadata?struct · iOS 27.0+ · SDK 27.1
struct CVProResRawMetadataMetadata associated with ProRes RAW images.
static makeFromRawAttachmentValue(repr: CVAttachmentRawValue): (CVProResRawMetadata) | nullSwift declarationstatic func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> CVProResRawMetadata?get blackLevel(): numberSwift declarationvar blackLevel: Int32The sensel level corresponding to no light exposure.
set blackLevel(value: number)Swift declarationvar blackLevel: Int32The sensel level corresponding to no light exposure.
get extensions(): (ArrayBuffer) | nullSwift declarationvar extensions: Data?ProRes RAW metadata extensions. This Data contains a big-endian UInt32 representing the size of the item in bytes followed by a 4-character code ('psim') followed by a variable-length pascal string identifying the metadata (like a key string) followed by the metadata payload.
set extensions(value: (ArrayBuffer) | null)Swift declarationvar extensions: Data?ProRes RAW metadata extensions. This Data contains a big-endian UInt32 representing the size of the item in bytes followed by a 4-character code ('psim') followed by a variable-length pascal string identifying the metadata (like a key string) followed by the metadata payload.
get gainFactor(): SDKHandleSwift declarationvar gainFactor: Float32The overall gain factor for raw conversion.
set gainFactor(value: SDKHandle)Swift declarationvar gainFactor: Float32The overall gain factor for raw conversion.
get whiteLevel(): numberSwift declarationvar whiteLevel: Int32The sensel level corresponding to sensor (or camera A-to-D converter) saturation.
set whiteLevel(value: number)Swift declarationvar whiteLevel: Int32The sensel level corresponding to sensor (or camera A-to-D converter) saturation.
get colorMatrix(): SDKHandleSwift declarationvar colorMatrix: InlineArray<9, Float32>This is a 3x3 matrix which transforms linear RGB pixel values in the camera native color space to CIE 1931 XYZ values relative to the D65 illuminant, where the matrix entries are stored in row-major order.
set colorMatrix(value: SDKHandle)Swift declarationvar colorMatrix: InlineArray<9, Float32>This is a 3x3 matrix which transforms linear RGB pixel values in the camera native color space to CIE 1931 XYZ values relative to the D65 illuminant, where the matrix entries are stored in row-major order.
get recommendedCrop(): CVProResRawMetadata_RecommendedCropSwift declarationvar recommendedCrop: CVProResRawMetadata.RecommendedCropThe recommended number of: pixels to discard from the start (left) of each row of the image; pixels to discard from the end (right) of each row of the image; rows of pixels to discard from the top of the image; and rows of pixels to discard from the bottom of the image. Pixels/rows are discarded after raw conversion.
set recommendedCrop(value: CVProResRawMetadata_RecommendedCrop)Swift declarationvar recommendedCrop: CVProResRawMetadata.RecommendedCropThe recommended number of: pixels to discard from the start (left) of each row of the image; pixels to discard from the end (right) of each row of the image; rows of pixels to discard from the top of the image; and rows of pixels to discard from the bottom of the image. Pixels/rows are discarded after raw conversion.
get whiteBalanceCCT(): (SDKHandle) | nullSwift declarationvar whiteBalanceCCT: Float32?The illuminant correlated color temperature (CCT), in kelvins, selected at the time of capture. If not present, the CCT is considered unknown or unspecified.
set whiteBalanceCCT(value: (SDKHandle) | null)Swift declarationvar whiteBalanceCCT: Float32?The illuminant correlated color temperature (CCT), in kelvins, selected at the time of capture. If not present, the CCT is considered unknown or unspecified.
static init(senselSitingOffsets: CVSenselSitingOffsets, blackLevel: number, whiteLevel: number, whiteBalanceCCT: (SDKHandle) | null, whiteBalanceRedFactor: SDKHandle, whiteBalanceBlueFactor: SDKHandle, colorMatrix: SDKHandle, gainFactor: SDKHandle, recommendedCrop?: CVProResRawMetadata_RecommendedCrop, extensions?: (ArrayBuffer) | null): CVProResRawMetadataSwift declarationinit(senselSitingOffsets: CVSenselSitingOffsets = .zero, blackLevel: Int32, whiteLevel: Int32, whiteBalanceCCT: Float32? = nil, whiteBalanceRedFactor: Float32, whiteBalanceBlueFactor: Float32, colorMatrix: InlineArray<9, Float32>, gainFactor: Float32, recommendedCrop: CVProResRawMetadata.RecommendedCrop = .zero, extensions: Data? = nil)get senselSitingOffsets(): CVSenselSitingOffsetsSwift declarationvar senselSitingOffsets: CVSenselSitingOffsetsSiting offsets, relative to pixel center, of individual sensels/components constituting each pixel.
set senselSitingOffsets(value: CVSenselSitingOffsets)Swift declarationvar senselSitingOffsets: CVSenselSitingOffsetsSiting offsets, relative to pixel center, of individual sensels/components constituting each pixel.
get whiteBalanceRedFactor(): SDKHandleSwift declarationvar whiteBalanceRedFactor: Float32The white balance multiplication factor for red-filtered sensels.
set whiteBalanceRedFactor(value: SDKHandle)Swift declarationvar whiteBalanceRedFactor: Float32The white balance multiplication factor for red-filtered sensels.
get whiteBalanceBlueFactor(): SDKHandleSwift declarationvar whiteBalanceBlueFactor: Float32The white balance multiplication factor for blue-filtered sensels.
set whiteBalanceBlueFactor(value: SDKHandle)Swift declarationvar whiteBalanceBlueFactor: Float32The white balance multiplication factor for blue-filtered sensels.
get rawAttachmentValueRepresentation(): CVAttachmentRawValueSwift declarationvar rawAttachmentValueRepresentation: CVAttachmentRawValue { get }No declarations were skipped in this snapshot.