pub unsafe extern "C-unwind" fn VTHDRPerFrameMetadataGenerationSessionCreate(
allocator: Option<&CFAllocator>,
frames_per_second: c_float,
options: Option<&CFDictionary>,
hdr_per_frame_metadata_generation_session_out: NonNull<*mut VTHDRPerFrameMetadataGenerationSession>,
) -> i32Available on crate feature
VTHDRPerFrameMetadataGenerationSession only.Expand description
Creates a VTHDRPerFrameMetadataGenerationSession object.
The returned VTHDRPerFrameMetadataGenerationSession object may be used to perform HDR Per Frame Metadata Generation Call CFRelease to release your object reference.
Parameter framesPerSecond: Value must be greater than 0.0
Parameter options: CFDictionary may contain the key kVTHDRPerFrameMetadataGenerationOptionsHDRFormatsKey.