MCPcopy Create free account
hub / github.com/Recordscript/recordscript / flush

Method flush

libs/scrap/src/common/aom.rs:502–513  ·  view source on GitHub ↗

Notify the decoder to return any pending frame

(&mut self)

Source from the content-addressed store, hash-verified

500
501 /// Notify the decoder to return any pending frame
502 pub fn flush(&mut self) -> Result<DecodeFrames> {
503 call_aom!(aom_codec_decode(
504 &mut self.ctx,
505 ptr::null(),
506 0,
507 ptr::null_mut(),
508 ));
509 Ok(DecodeFrames {
510 ctx: &mut self.ctx,
511 iter: ptr::null(),
512 })
513 }
514}
515
516impl Drop for AomDecoder {

Callers 6

test_vpxFunction · 0.45
test_av1Function · 0.45
test_encoderFunction · 0.45
http_connectMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_vpxFunction · 0.36
test_av1Function · 0.36
test_encoderFunction · 0.36