pub struct Jpeg {
pub visual: Visual,
pub btrt: Option<Btrt>,
pub colr: Option<Colr>,
pub pasp: Option<Pasp>,
pub fiel: Option<Fiel>,
pub spatial: Option<Box<Spatial>>,
}Expand description
Photo - JPEG (‘jpeg’), QuickTime’s Motion JPEG visual sample entry.
Unlike most video codecs, JPEG has no separate decoder configuration box:
the quantization/Huffman tables and everything else needed to decode are
self-contained within each JPEG-coded sample (baseline JPEG per
ITU-T T.81 | ISO/IEC 10918-1, the
core JPEG bitstream standard), so this is just a Visual sample entry
plus the usual optional extension boxes.
'jpeg' itself is a QuickTime-registered codec, not part of the ISO
base media file format – see its
MP4RA registration (spec:
“QT”) and Apple’s QuickTime documentation on the
Photo Compressor,
which each sample’s JPEG bitstream conforms to.
Fields§
§visual: Visual§btrt: Option<Btrt>§colr: Option<Colr>§pasp: Option<Pasp>§fiel: Option<Fiel>§spatial: Option<Box<Spatial>>Trait Implementations§
impl Eq for Jpeg
impl StructuralPartialEq for Jpeg
Auto Trait Implementations§
impl Freeze for Jpeg
impl RefUnwindSafe for Jpeg
impl Send for Jpeg
impl Sync for Jpeg
impl Unpin for Jpeg
impl UnsafeUnpin for Jpeg
impl UnwindSafe for Jpeg
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