pub struct Layout {
pub ctb_w: usize,
pub ctb_h: usize,
pub log2_ctb: u32,
pub rs2ts: Vec<u32>,
pub ts2rs: Vec<u32>,
pub tile: Vec<u16>,
pub col_bd: Vec<u32>,
pub z: Vec<u32>,
pub w4: usize,
pub h4: usize,
}Available on crate feature
decode only.Expand description
Where CTBs sit in tile scan, and the z-scan order of every 4×4 block (§6.5.1, §6.5.2). Depends on the SPS and PPS only.
Fields§
§ctb_w: usize§ctb_h: usize§log2_ctb: u32§rs2ts: Vec<u32>§ts2rs: Vec<u32>§tile: Vec<u16>Tile index per CTB, by raster address.
col_bd: Vec<u32>Column boundaries of tiles, in CTBs.
z: Vec<u32>Z-scan order per 4×4 block, raster over the picture in 4×4 units.
w4: usize§h4: usizeImplementations§
Auto Trait Implementations§
impl Forget for Layout
impl Freeze for Layout
impl Move for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
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> 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