oa::video::threshold
Threshold a frame’s luma plane; chroma planes are copied unchanged. value >= threshold maps to high, otherwise low. Errors Returns an error for a non-device-planar frame or a runtime recording failure.
Function Documentation
Threshold a frame’s luma plane; chroma planes are copied unchanged. value >= threshold maps to high, otherwise low. Errors Returns an error for a non-device-planar frame or a runtime recording failure.