pub struct CudaExternalBatchGroup { /* private fields */ }Expand description
Metadata for a homogeneous group decoded directly into caller-owned CUDA storage.
Implementations§
Source§impl CudaExternalBatchGroup
impl CudaExternalBatchGroup
Sourcepub const fn info(&self) -> &BatchGroupInfo
pub const fn info(&self) -> &BatchGroupInfo
Shared decoded dimensions, type, color, transform, route, and layout.
Sourcepub fn source_indices(&self) -> &[usize]
pub fn source_indices(&self) -> &[usize]
Original input indices in destination batch order.
Sourcepub fn decoded_rects(&self) -> &[Rect]
pub fn decoded_rects(&self) -> &[Rect]
Actual decoded rectangle for each image.
Sourcepub fn warnings(&self) -> &[Vec<J2kDecodeWarning>]
pub fn warnings(&self) -> &[Vec<J2kDecodeWarning>]
Non-fatal codec warnings for each image.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CudaExternalBatchGroup
impl RefUnwindSafe for CudaExternalBatchGroup
impl Send for CudaExternalBatchGroup
impl Sync for CudaExternalBatchGroup
impl Unpin for CudaExternalBatchGroup
impl UnsafeUnpin for CudaExternalBatchGroup
impl UnwindSafe for CudaExternalBatchGroup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more