Struct libaom_sys::aom_roi_map

source ·
#[repr(C)]
pub struct aom_roi_map { pub roi_map: *mut c_uchar, pub rows: c_uint, pub cols: c_uint, pub delta_q: [c_int; 8], pub delta_lf: [c_int; 8], pub static_threshold: [c_uint; 8], }
Expand description

aom region of interest map

These defines the data structures for the region of interest map

TODO(yaowu): create a unit test for ROI map related APIs

Fields§

§roi_map: *mut c_uchar

An id between 0 and 7 for each 8x8 region within a frame.

§rows: c_uint

Number of rows.

§cols: c_uint

Number of columns.

§delta_q: [c_int; 8]

Quantizer deltas.

§delta_lf: [c_int; 8]

Loop filter deltas.

§static_threshold: [c_uint; 8]

Static breakout threshold for each segment.

Trait Implementations§

source§

impl Clone for aom_roi_map

source§

fn clone(&self) -> aom_roi_map

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for aom_roi_map

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for aom_roi_map

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.