Contents

kVTDecompressionPropertyKey_RequestRAWOutput

For decoders that produce RAW output, this property requests that the decompression session provides unprocessed output.

Declaration

let kVTDecompressionPropertyKey_RequestRAWOutput: CFString

Discussion

When a decoder produces RAW output the VTDecompressionSession automatically invokes a VTRAWProcessingSession with default settings and emits processed frames by default, or when kVTDecompressionPropertyKey_RequestRAWOutput is set to kCFBooleanFalse. If you want to run a VTRAWProcessingSession on the RAW output to control the post-decode processing of the decoded CVPixelBuffer objects, you must set kVTDecompressionPropertyKey_RequestRAWOutput to kCFBooleanTrue. If kVTDecompressionPropertyKey_RequestRAWOutput is enabled and the decoder produces RAW output, the VTDecompressionSession returns CVPixelBuffer objects in the decoder’s native RAW format, and ignores any specified image buffer attributes.

See Also

Post-Decompression Processing