Home
last modified time | relevance | path

Searched refs:DecoderEvent (Results 1 – 12 of 12) sorted by relevance

/external/crosvm/devices/src/virtio/video/decoder/backend/
Dvda.rs70 impl From<libvda::decode::Event> for DecoderEvent { implementation
90 } => DecoderEvent::ProvidePictureBuffers { in from()
105 } => DecoderEvent::PictureReady { in from()
112 DecoderEvent::NotifyEndOfBitstreamBuffer(bitstream_id as u32) in from()
114 LibvdaEvent::NotifyError(resp) => DecoderEvent::NotifyError( in from()
118 DecoderEvent::ResetCompleted(vda_response_to_result(resp)) in from()
121 DecoderEvent::FlushCompleted(vda_response_to_result(resp)) in from()
253 fn read_event(&mut self) -> VideoResult<DecoderEvent> { in read_event() argument
261 if let DecoderEvent::NotifyEndOfBitstreamBuffer(timestamp) = &mut e { in read_event()
Dffmpeg.rs60 event_queue: Weak<SyncEventQueue<DecoderEvent>>,
69 .queue_event(DecoderEvent::NotifyEndOfBitstreamBuffer(self.resource_id)) in drop()
118 event_queue: Arc<SyncEventQueue<DecoderEvent>>,
183 fn queue_event(&mut self, event: DecoderEvent) -> base::Result<()> { in queue_event()
195 self.queue_event(DecoderEvent::ProvidePictureBuffers { in change_resolution()
320 self.queue_event(DecoderEvent::FlushCompleted(Err( in try_receive_frame()
333 self.queue_event(DecoderEvent::FlushCompleted(Ok(())))?; in try_receive_frame()
345 if let Err(e) = self.event_queue.queue_event(DecoderEvent::NotifyError( in try_receive_frame()
390 let picture_ready_event = DecoderEvent::PictureReady { in try_send_frame()
502 self.queue_event(DecoderEvent::ResetCompleted(Ok(()))) in reset()
[all …]
Dvaapi.rs36 use crate::virtio::video::decoder::DecoderEvent;
512 event_queue: EventQueue<DecoderEvent>,
521 event_queue: &mut EventQueue<DecoderEvent>, in output_picture() argument
552 .queue_event(DecoderEvent::PictureReady { in output_picture()
570 .queue_event(DecoderEvent::FlushCompleted(Ok(()))) in try_emit_flush_completed()
593 .queue_event(DecoderEvent::NotifyEndOfBitstreamBuffer(job.resource_id)) in drain_submit_queue()
614 .queue_event(DecoderEvent::NotifyError(VideoError::BackendFailure( in drain_submit_queue()
634 cros_codecs::decoder::DecoderEvent::FrameReady(frame) => { in process_decoder_events()
641 cros_codecs::decoder::DecoderEvent::FormatChanged(mut format) => { in process_decoder_events()
647 .queue_event(DecoderEvent::ProvidePictureBuffers { in process_decoder_events()
[all …]
Dmod.rs104 fn read_event(&mut self) -> VideoResult<DecoderEvent>; in read_event() argument
152 fn read_event(&mut self) -> VideoResult<DecoderEvent> { in read_event() argument
215 pub enum DecoderEvent { enum
444 … matches!(event, DecoderEvent::NotifyEndOfBitstreamBuffer(index) if *index == input_id) in decode_h264_generic()
457 DecoderEvent::ProvidePictureBuffers { in decode_h264_generic()
511 DecoderEvent::PictureReady { in decode_h264_generic()
525 DecoderEvent::PictureReady { in decode_h264_generic()
528 DecoderEvent::FlushCompleted(Ok(())) => { in decode_h264_generic()
/external/rust/crates/v4l2r/lib/src/
Ddecoder.rs31 pub enum DecoderEvent<P: HandlesProvider> { enum
50 FnMut(DecoderEvent<P>) + Send + 'static
56 F: FnMut(DecoderEvent<P>) + Send + 'static,
/external/rust/crates/v4l2r/lib/examples/simple_decoder/
Dmain.rs28 decoder::{stateful::Decoder, DecoderEvent},
143 let decoder_event_cb = move |event: DecoderEvent<MmapProvider>| match event { in main()
144 DecoderEvent::FrameDecoded(dqbuf) => output_ready_cb(dqbuf), in main()
145 DecoderEvent::EndOfStream => (), in main()
/external/crosvm/devices/src/virtio/media/
Ddecoder_adapter.rs33 use crate::virtio::video::decoder::backend::DecoderEvent;
306 DecoderEvent::NotifyEndOfBitstreamBuffer(id) => { in next_event()
312 DecoderEvent::ProvidePictureBuffers { in next_event()
342 DecoderEvent::PictureReady { in next_event()
360 DecoderEvent::FlushCompleted(res) => { in next_event()
383 DecoderEvent::ResetCompleted(_) => todo!(), in next_event()
384 DecoderEvent::NotifyError(_) => todo!(), in next_event()
/external/rust/crates/v4l2r/ffi/src/
Ddecoder.rs28 CompletedInputBuffer, DecoderEvent, DecoderEventCallback, FormatChangedCallback,
326 let event_handler = move |event: DecoderEvent<Arc<v4l2r_video_frame_provider>>| { in v4l2r_decoder_new_safe()
336 DecoderEvent::FrameDecoded(dqbuf) => { in v4l2r_decoder_new_safe()
339 DecoderEvent::EndOfStream => event_cb(cb_data.0, &mut v4l2r_decoder_event::EndOfStream), in v4l2r_decoder_new_safe()
/external/rust/crates/v4l2r/lib/src/decoder/stateful/
Dcapture_thread.rs3 stateful::{CaptureThreadResponse, DecoderCommand, DecoderEvent, DrainError},
414 (self.event_cb)(DecoderEvent::FrameDecoded(cap_buf)); in dequeue_capture_buffer()
434 (self.event_cb)(DecoderEvent::EndOfStream); in dequeue_capture_buffer()
/external/lzma/CPP/7zip/Compress/
DBZip2Decoder.h288 NWindows::NSynchronization::CAutoResetEvent DecoderEvent; variable
301 DecoderEvent.Lock(); in WaitScout()
DBZip2Decoder.cpp1136 WRes wres = DecoderEvent.Lock(); in DecodeStreams()
1369 WRes wres = DecoderEvent.CreateIfNotCreated_Reset(); in CreateThread()
1495 WRes wres = DecoderEvent.Set(); in RunScout()
/external/crosvm/devices/src/virtio/video/decoder/
Dmod.rs1098 DecoderEvent::ProvidePictureBuffers { in process_event()
1110 DecoderEvent::PictureReady { in process_event()
1138 DecoderEvent::NotifyEndOfBitstreamBuffer(resource_id) => { in process_event()
1153 DecoderEvent::FlushCompleted(flush_result) => { in process_event()
1174 DecoderEvent::ResetCompleted(reset_result) => { in process_event()
1206 DecoderEvent::NotifyError(error) => { in process_event()