[][src]Struct ffmpeg_dev::sys::AVFixedDSPContext

#[repr(C)]
pub struct AVFixedDSPContext {
    pub vector_fmul_window_scaled: Option<unsafe extern "C" fn(dst: *mut i16, src0: *const i32, src1: *const i32, win: *const i32, len: c_int, bits: u8)>,
    pub vector_fmul_window: Option<unsafe extern "C" fn(dst: *mut i32, src0: *const i32, src1: *const i32, win: *const i32, len: c_int)>,
    pub vector_fmul: Option<unsafe extern "C" fn(dst: *mut c_int, src0: *const c_int, src1: *const c_int, len: c_int)>,
    pub vector_fmul_reverse: Option<unsafe extern "C" fn(dst: *mut c_int, src0: *const c_int, src1: *const c_int, len: c_int)>,
    pub vector_fmul_add: Option<unsafe extern "C" fn(dst: *mut c_int, src0: *const c_int, src1: *const c_int, src2: *const c_int, len: c_int)>,
    pub scalarproduct_fixed: Option<unsafe extern "C" fn(v1: *const c_int, v2: *const c_int, len: c_int) -> c_int>,
    pub butterflies_fixed: Option<unsafe extern "C" fn(v1: *mut c_int, v2: *mut c_int, len: c_int)>,
}

Fields

vector_fmul_window_scaled: Option<unsafe extern "C" fn(dst: *mut i16, src0: *const i32, src1: *const i32, win: *const i32, len: c_int, bits: u8)>

Overlap/add with window function. Result is scaled down by "bits" bits. Used primarily by MDCT-based audio codecs. Source and destination vectors must overlap exactly or not at all.

@param dst result vector constraints: 16-byte aligned @param src0 first source vector constraints: 16-byte aligned @param src1 second source vector constraints: 16-byte aligned @param win half-window vector constraints: 16-byte aligned @param len length of vector constraints: multiple of 4 @param bits scaling parameter

vector_fmul_window: Option<unsafe extern "C" fn(dst: *mut i32, src0: *const i32, src1: *const i32, win: *const i32, len: c_int)>

Overlap/add with window function. Used primarily by MDCT-based audio codecs. Source and destination vectors must overlap exactly or not at all.

@param dst result vector constraints: 32-byte aligned @param src0 first source vector constraints: 16-byte aligned @param src1 second source vector constraints: 16-byte aligned @param win half-window vector constraints: 16-byte aligned @param len length of vector constraints: multiple of 4

vector_fmul: Option<unsafe extern "C" fn(dst: *mut c_int, src0: *const c_int, src1: *const c_int, len: c_int)>

Fixed-point multiplication that calculates the entry wise product of two vectors of integers and stores the result in a vector of integers.

@param dst output vector constraints: 32-byte aligned @param src0 first input vector constraints: 32-byte aligned @param src1 second input vector constraints: 32-byte aligned @param len number of elements in the input constraints: multiple of 16

vector_fmul_reverse: Option<unsafe extern "C" fn(dst: *mut c_int, src0: *const c_int, src1: *const c_int, len: c_int)>vector_fmul_add: Option<unsafe extern "C" fn(dst: *mut c_int, src0: *const c_int, src1: *const c_int, src2: *const c_int, len: c_int)>

Calculate the entry wise product of two vectors of integers, add a third vector of integers and store the result in a vector of integers.

@param dst output vector constraints: 32-byte aligned @param src0 first input vector constraints: 32-byte aligned @param src1 second input vector constraints: 32-byte aligned @param src2 third input vector constraints: 32-byte aligned @param len number of elements in the input constraints: multiple of 16

scalarproduct_fixed: Option<unsafe extern "C" fn(v1: *const c_int, v2: *const c_int, len: c_int) -> c_int>

Calculate the scalar product of two vectors of integers.

@param v1 first vector, 16-byte aligned @param v2 second vector, 16-byte aligned @param len length of vectors, multiple of 4

@return sum of elementwise products

butterflies_fixed: Option<unsafe extern "C" fn(v1: *mut c_int, v2: *mut c_int, len: c_int)>

Calculate the sum and difference of two vectors of integers.

@param v1 first input vector, sum output, 16-byte aligned @param v2 second input vector, difference output, 16-byte aligned @param len length of vectors, multiple of 4

Trait Implementations

impl Clone for AVFixedDSPContext[src]

impl Copy for AVFixedDSPContext[src]

impl Debug for AVFixedDSPContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.