pub struct Neighbours {
pub above: [i32; 8],
pub left: [i32; 8],
pub corner: i32,
pub have_above: bool,
pub have_left: bool,
}Expand description
The neighbour samples a 4x4 intra predictor reads: the row above and the
column to the left, each w + h = 8 samples long, plus the shared
top-left corner. Assembled by the tile driver per §7.11.2 general process.
Fields§
§above: [i32; 8]AboveRow[0..8].
left: [i32; 8]LeftCol[0..8].
corner: i32AboveRow[-1] (equal to LeftCol[-1]).
have_above: boolWhether the above row holds real reconstructed samples.
have_left: boolWhether the left column holds real reconstructed samples.
Trait Implementations§
Source§impl Clone for Neighbours
impl Clone for Neighbours
impl Copy for Neighbours
Auto Trait Implementations§
impl Freeze for Neighbours
impl RefUnwindSafe for Neighbours
impl Send for Neighbours
impl Sync for Neighbours
impl Unpin for Neighbours
impl UnsafeUnpin for Neighbours
impl UnwindSafe for Neighbours
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