Skip to main content

present_for_extraction_into

Function present_for_extraction_into 

Source
pub fn present_for_extraction_into(
    renderer: &CpuRenderer,
    frame: Arc<DecodedVideoFrame>,
    size: u32,
    place: &mut FramePlace<'_>,
) -> Result<SuppliedFrame, String>
Expand description

present_for_extraction, writing the pixels into the memory place gives when it gives some; the returned frame’s rgba is then empty.

§Errors

A frame the renderer cannot present.