pub struct CudaEncodedJ2kMetadata {
pub backend: BackendKind,
pub dispatch_report: J2kEncodeDispatchReport,
pub width: u32,
pub height: u32,
pub components: u16,
pub bit_depth: u8,
pub signed: bool,
}Expand description
Host-visible metadata for a CUDA-resident encoded J2K codestream.
Fields§
§backend: BackendKindBackend that satisfied the encode contract.
dispatch_report: J2kEncodeDispatchReportEncode-stage dispatches observed while producing the codestream.
width: u32Encoded image width in pixels.
height: u32Encoded image height in pixels.
components: u16Encoded component count.
bit_depth: u8Encoded significant bits per sample.
signed: boolWhether encoded samples are signed.
Trait Implementations§
Source§impl Clone for CudaEncodedJ2kMetadata
impl Clone for CudaEncodedJ2kMetadata
Source§fn clone(&self) -> CudaEncodedJ2kMetadata
fn clone(&self) -> CudaEncodedJ2kMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CudaEncodedJ2kMetadata
Source§impl Debug for CudaEncodedJ2kMetadata
impl Debug for CudaEncodedJ2kMetadata
impl Eq for CudaEncodedJ2kMetadata
Source§impl PartialEq for CudaEncodedJ2kMetadata
impl PartialEq for CudaEncodedJ2kMetadata
impl StructuralPartialEq for CudaEncodedJ2kMetadata
Auto Trait Implementations§
impl Freeze for CudaEncodedJ2kMetadata
impl RefUnwindSafe for CudaEncodedJ2kMetadata
impl Send for CudaEncodedJ2kMetadata
impl Sync for CudaEncodedJ2kMetadata
impl Unpin for CudaEncodedJ2kMetadata
impl UnsafeUnpin for CudaEncodedJ2kMetadata
impl UnwindSafe for CudaEncodedJ2kMetadata
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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