#[repr(C)]pub struct MJpegHuffmanCode {
pub table_id: u8,
pub code: u8,
pub mant: u16,
}
Expand description
Buffer of JPEG frame data.
Optimal Huffman table generation requires the frame data to be loaded into a buffer so that the tables can be computed. There are at most mb_widthmb_height12*64 of these per frame.
Fields§
§table_id: u8
< The Huffman table id associated with the data.
code: u8
< The exponent.
mant: u16
< The mantissa.
Trait Implementations§
Source§impl Clone for MJpegHuffmanCode
impl Clone for MJpegHuffmanCode
Source§fn clone(&self) -> MJpegHuffmanCode
fn clone(&self) -> MJpegHuffmanCode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MJpegHuffmanCode
impl Debug for MJpegHuffmanCode
impl Copy for MJpegHuffmanCode
Auto Trait Implementations§
impl Freeze for MJpegHuffmanCode
impl RefUnwindSafe for MJpegHuffmanCode
impl Send for MJpegHuffmanCode
impl Sync for MJpegHuffmanCode
impl Unpin for MJpegHuffmanCode
impl UnwindSafe for MJpegHuffmanCode
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