Home
last modified time | relevance | path

Searched refs:VideoResult (Results 1 – 6 of 6) sorted by relevance

/external/crosvm/devices/src/virtio/video/decoder/backend/
Dmod.rs11 error::{VideoError, VideoResult},
28 fn set_output_buffer_count(&self, count: usize) -> VideoResult<()>; in set_output_buffer_count() argument
49 ) -> VideoResult<()>; in decode() argument
55 fn flush(&self) -> VideoResult<()>; in flush() argument
60 fn reset(&self) -> VideoResult<()>; in reset() argument
86 ) -> VideoResult<()>; in use_output_buffer() argument
95 fn reuse_output_buffer(&self, picture_buffer_id: i32) -> VideoResult<()>; in reuse_output_buffer() argument
98 fn read_event(&mut self) -> VideoResult<DecoderEvent>; in read_event()
105 fn new_session(&self, format: Format) -> VideoResult<Self::Session>; in new_session()
136 FlushCompleted(VideoResult<()>),
[all …]
Dvda.rs12 error::{VideoError, VideoResult},
59 fn vda_response_to_result(resp: libvda::decode::Response) -> VideoResult<()> { in from() argument
124 fn set_output_buffer_count(&self, count: usize) -> VideoResult<()> { in set_output_buffer_count() argument
134 ) -> VideoResult<()> { in decode() argument
140 fn flush(&self) -> VideoResult<()> { in flush() argument
144 fn reset(&self) -> VideoResult<()> { in reset() argument
159 ) -> VideoResult<()> { in use_output_buffer() argument
170 fn reuse_output_buffer(&self, picture_buffer_id: i32) -> VideoResult<()> { in reuse_output_buffer() argument
174 fn read_event(&mut self) -> VideoResult<DecoderEvent> { in read_event()
185 fn new_session(&self, format: Format) -> VideoResult<Self::Session> { in new_session()
/external/crosvm/devices/src/virtio/video/decoder/
Dmod.rs98 ) -> VideoResult<QueueOutputResourceResult> { in queue_resource()
261 ) -> VideoResult<BufferInfo> { in get_resource_info()
365 fn insert(&mut self, ctx: Context<S>) -> VideoResult<()> { in insert() argument
378 fn get(&self, stream_id: &StreamId) -> VideoResult<&Context<S>> { in get()
385 fn get_mut(&mut self, stream_id: &StreamId) -> VideoResult<&mut Context<S>> { in get_mut()
418 ) -> VideoResult<VideoCmdResponseType> { in create_stream()
439 ) -> VideoResult<D::Session> { in create_session()
471 ) -> VideoResult<VideoCmdResponseType> { in create_resource()
514 ) -> VideoResult<VideoCmdResponseType> { in destroy_all_resources()
536 ) -> VideoResult<VideoCmdResponseType> { in queue_input_resource()
[all …]
/external/crosvm/devices/src/virtio/video/encoder/
Dmod.rs99 ) -> VideoResult<Self> { in new()
176 ) -> VideoResult<()> { in set_encode_session() argument
212 fn clear_encode_session(&mut self, wait_ctx: &WaitContext<Token>) -> VideoResult<()> { in clear_encode_session() argument
501 fn get_resource_info(res_bridge: &Tube, uuid: u128) -> VideoResult<BufferInfo> { in get_resource_info()
522 fn query_capabilities(&self, queue_type: QueueType) -> VideoResult<VideoCmdResponseType> { in query_capabilities()
536 ) -> VideoResult<VideoCmdResponseType> { in stream_create()
546 fn stream_destroy(&mut self, stream_id: u32) -> VideoResult<VideoCmdResponseType> { in stream_destroy()
560 fn stream_drain(&mut self, stream_id: u32) -> VideoResult<VideoCmdResponseType> { in stream_drain()
606 ) -> VideoResult<VideoCmdResponseType> { in resource_create()
681 ) -> VideoResult<VideoCmdResponseType> { in resource_queue()
[all …]
/external/crosvm/devices/src/virtio/video/
Derror.rs72 pub type VideoResult<T> = Result<T, VideoError>; typedef
Ddevice.rs64 pub response: VideoResult<response::CmdResponse>,