pub struct CudaLosslessEncodeTile<'a> {
pub buffer: &'a CudaDeviceBuffer,
pub byte_offset: usize,
pub width: u32,
pub height: u32,
pub pitch_bytes: usize,
pub output_width: u32,
pub output_height: u32,
pub format: PixelFormat,
}Expand description
CUDA-resident lossless J2K/HTJ2K encode input tile.
Fields§
§buffer: &'a CudaDeviceBufferSource CUDA buffer containing interleaved Gray/RGB/RGBA pixels.
byte_offset: usizeByte offset of the first source pixel in buffer.
width: u32Width of the valid input region in pixels.
height: u32Height of the valid input region in pixels.
pitch_bytes: usizeNumber of bytes between consecutive input rows.
output_width: u32Encoded image width in pixels.
output_height: u32Encoded image height in pixels.
format: PixelFormatPixel format of the source buffer.
Trait Implementations§
Source§impl<'a> Clone for CudaLosslessEncodeTile<'a>
impl<'a> Clone for CudaLosslessEncodeTile<'a>
Source§fn clone(&self) -> CudaLosslessEncodeTile<'a>
fn clone(&self) -> CudaLosslessEncodeTile<'a>
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<'a> Copy for CudaLosslessEncodeTile<'a>
Auto Trait Implementations§
impl<'a> Freeze for CudaLosslessEncodeTile<'a>
impl<'a> RefUnwindSafe for CudaLosslessEncodeTile<'a>
impl<'a> Send for CudaLosslessEncodeTile<'a>
impl<'a> Sync for CudaLosslessEncodeTile<'a>
impl<'a> Unpin for CudaLosslessEncodeTile<'a>
impl<'a> UnsafeUnpin for CudaLosslessEncodeTile<'a>
impl<'a> UnwindSafe for CudaLosslessEncodeTile<'a>
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