Lines Matching defs:Self
108 fn from(err: QueueError) -> Self { in from()
114 fn from(_err: v4l2r::device::queue::qbuf::QueueError<B>) -> Self { in from()
120 fn from(_err: CreateQueueError) -> Self { in from()
126 fn from(_err: GFmtError) -> Self { in from()
132 fn from(_err: SFmtError) -> Self { in from()
138 fn from(_err: RequestBuffersError) -> Self { in from()
144 fn from(_err: StreamOnError) -> Self { in from()
150 fn from(_err: GetFreeBufferError) -> Self { in from()
156 fn from(_err: IoctlConvertError<QBufIoctlError, Infallible>) -> Self { in from()
189 ) -> Self { in new()
198 pub fn write(&mut self, data: &[u8]) -> &mut Self { in write()
229 pub fn new(device: Arc<Device>) -> Result<Self, NewStatelessDecoderError> { in new()
261 ) -> Result<&mut Self, QueueError> { in initialize()
331 fn new(frame: Arc<V>, handle: DqBuffer<Capture, V4l2VideoFrame<V>>) -> Self { in new()
351 pub fn new(device: Arc<Device>) -> Result<Self, NewStatelessDecoderError> { in new()
379 pub fn initialize(&mut self, requested_num_buffers: u32) -> Result<&mut Self, QueueError> { in initialize()