pub struct CleanApertureBox {
pub clean_aperture_width_n: u32,
pub clean_aperture_width_d: u32,
pub clean_aperture_height_n: u32,
pub clean_aperture_height_d: u32,
pub horiz_off_n: u32,
pub horiz_off_d: u32,
pub vert_off_n: u32,
pub vert_off_d: u32,
}Expand description
Clean aperture box
ISO/IEC 14496-12 - 12.1.4
Fields§
§clean_aperture_width_n: u32A fractional number which defines the width of the clean aperture image.
clean_aperture_width_d: u32A fractional number which defines the width of the clean aperture image.
clean_aperture_height_n: u32A fractional number which defines the height of the clean aperture image.
clean_aperture_height_d: u32A fractional number which defines the height of the clean aperture image.
horiz_off_n: u32A fractional number which defines the horizontal offset between the clean aperture image centre and the full aperture image centre. Typically 0.
horiz_off_d: u32A fractional number which defines the horizontal offset between the clean aperture image centre and the full aperture image centre. Typically 0.
vert_off_n: u32A fractional number which defines the vertical offset between clean aperture image centre and the full aperture image centre. Typically 0.
vert_off_d: u32A fractional number which defines the vertical offset between clean aperture image centre and the full aperture image centre. Typically 0.
Trait Implementations§
Source§impl Debug for CleanApertureBox
impl Debug for CleanApertureBox
Source§impl<'a> Deserialize<'a> for CleanApertureBox
impl<'a> Deserialize<'a> for CleanApertureBox
Source§fn deserialize<R>(reader: R) -> Result<Self>where
R: ZeroCopyReader<'a>,
fn deserialize<R>(reader: R) -> Result<Self>where
R: ZeroCopyReader<'a>,
Source§impl<'a> DeserializeSeed<'a, BoxHeader> for CleanApertureBox
impl<'a> DeserializeSeed<'a, BoxHeader> for CleanApertureBox
Source§fn deserialize_seed<R>(reader: R, seed: BoxHeader) -> Result<Self>where
R: ZeroCopyReader<'a>,
fn deserialize_seed<R>(reader: R, seed: BoxHeader) -> Result<Self>where
R: ZeroCopyReader<'a>,
Source§impl IsoBox for CleanApertureBox
impl IsoBox for CleanApertureBox
Source§fn add_header_size(payload_size: usize) -> usize
fn add_header_size(payload_size: usize) -> usize
Source§fn box_header(&self) -> BoxHeader
fn box_header(&self) -> BoxHeader
BoxHeader for this box.Source§fn serialize_box_header<W>(&self, writer: W) -> Result<()>where
W: Write,
fn serialize_box_header<W>(&self, writer: W) -> Result<()>where
W: Write,
IsoBox::box_header to the given writer.