Home
last modified time | relevance | path

Searched defs:VaError (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/rust/cros-libva/lib/src/
Ddisplay.rs146 pub fn query_config_profiles(&self) -> Result<Vec<bindings::VAProfile::Type>, VaError> { in query_config_profiles() argument
194 ) -> Result<Vec<bindings::VAEntrypoint::Type>, VaError> { in query_config_entrypoints() argument
230 ) -> Result<(), VaError> { in get_config_attributes() argument
273 ) -> Result<Vec<Surface<D>>, VaError> { in create_surfaces() argument
301 ) -> Result<Rc<Context>, VaError> { in create_context() argument
323 ) -> Result<Config, VaError> { in create_config() argument
328 pub fn query_image_formats(&self) -> Result<Vec<bindings::VAImageFormat>, VaError> { in query_image_formats() argument
Dlib.rs50 pub struct VaError(NonZeroI32); struct
52 impl VaError { impl
59 impl std::fmt::Display for VaError { implementation
72 impl std::error::Error for VaError {} implementation
78 fn va_check(code: VAStatus) -> Result<(), VaError> { in va_check() argument
Dsurface.rs204 ) -> Result<Vec<Self>, VaError> { in new() argument
263 pub fn sync(&self) -> Result<(), VaError> { in sync() argument
275 pub fn query_status(&self) -> Result<bindings::VASurfaceStatus::Type, VaError> { in query_status() argument
285 pub fn query_error(&self) -> Result<Vec<SurfaceDecodeMBError>, VaError> { in query_error() argument
348 pub fn export_prime(&self) -> Result<DrmPrimeSurfaceDescriptor, VaError> { in export_prime() argument
Dcontext.rs36 ) -> Result<Rc<Self>, VaError> { in new() argument
82 pub fn create_buffer(self: &Rc<Self>, type_: BufferType) -> Result<Buffer, VaError> { in create_buffer() argument
87 pub fn create_enc_coded(self: &Rc<Self>, size: usize) -> Result<EncCodedBuffer, VaError> { in create_enc_coded() argument
Dconfig.rs26 VaError(#[from] VaError), enumerator
39 ) -> Result<Self, VaError> { in new() argument
73 fn query_surface_attributes(&mut self) -> Result<Vec<bindings::VASurfaceAttrib>, VaError> { in query_surface_attributes() argument
Dimage.rs51 ) -> Result<Self, VaError> { in new() argument
101 ) -> Result<Self, VaError> { in derive_from() argument
125 ) -> Result<Image, VaError> { in create_from() argument
Dpicture.rs175 pub fn render(self) -> Result<Picture<PictureRender, T>, VaError> { in render() argument
197 pub fn end(self) -> Result<Picture<PictureEnd, T>, VaError> { in end() argument
216 ) -> Result<Picture<PictureSync, T>, (VaError, Self)> in sync()
Dbuffer.rs41 pub(crate) fn new(context: Rc<Context>, mut type_: BufferType) -> Result<Self, VaError> { in new() argument
455 pub(crate) fn new(context: Rc<Context>, size: usize) -> Result<Self, VaError> { in new() argument
483 pub fn new(buffer: &'p EncCodedBuffer) -> Result<Self, VaError> { in new() argument