/aosp_15_r20/external/rust/cros-libva/lib/src/ |
D | display.rs | 146 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
|
D | lib.rs | 50 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
|
D | surface.rs | 204 ) -> 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
|
D | context.rs | 36 ) -> 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
|
D | config.rs | 26 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
|
D | image.rs | 51 ) -> Result<Self, VaError> { in new() argument 101 ) -> Result<Self, VaError> { in derive_from() argument 125 ) -> Result<Image, VaError> { in create_from() argument
|
D | picture.rs | 175 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()
|
D | buffer.rs | 41 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
|