Realm

oa::video::convert_range

Convert a frame’s component range between limited and full. The frame’s color metadata is updated to the target range; Unspecified input uses BT.709 limited as the source. Same-range requests return a copy at identity. Errors Returns an error for a non-device-planar frame or a runtime recording failure.

FnRust public API

Function Documentation

pub fn convert_range( frame: &VideoFrame, range: VideoColorRange ) -> Result<VideoFrame>
Convert a frame’s component range between limited and full. The frame’s color metadata is updated to the target range; Unspecified input uses BT.709 limited as the source. Same-range requests return a copy at identity. Errors Returns an error for a non-device-planar frame or a runtime recording failure.