Searched refs:AvFrameError (Results 1 – 3 of 3) sorted by relevance
/external/crosvm/media/ffmpeg/src/ |
D | avcodec.rs | 754 pub enum AvFrameError { enum 774 pub fn new() -> Result<Self, AvFrameError> { in new() 777 unsafe { ffi::av_frame_alloc().as_mut() }.ok_or(AvFrameError::FrameAllocationFailed)?, in new() 783 pub fn builder() -> Result<AvFrameBuilder, AvFrameError> { in builder() 826 pub fn make_writable(&mut self) -> Result<(), AvFrameError> { in make_writable() argument 836 pub fn set_dimensions(&mut self, dimensions: Dimensions) -> Result<(), AvFrameError> { in set_dimensions() argument 842 .map_err(|_| AvFrameError::DimensionOverflow)?; in set_dimensions() 846 .map_err(|_| AvFrameError::DimensionOverflow)?; in set_dimensions() 852 pub fn set_format(&mut self, format: AvPixelFormat) -> Result<(), AvFrameError> { in set_format() argument 887 ) -> Result<AvFrame, AvFrameError> { in build_owned() argument [all …]
|
/external/crosvm/devices/src/virtio/video/ |
D | ffmpeg.rs | 16 use ffmpeg::avcodec::AvFrameError; 74 AvFrameError(#[from] AvFrameError), enumerator 85 GuestResourceToAvFrameError::AvFrameError(AvFrameError::AvError(e)) in from()
|
/external/crosvm/devices/src/virtio/video/decoder/backend/ |
D | ffmpeg.rs | 146 CreateAvFrame(#[from] AvFrameError),
|