#[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§
Source§impl Clone for AVFixedDSPContext
impl Clone for AVFixedDSPContext
Source§fn clone(&self) -> AVFixedDSPContext
fn clone(&self) -> AVFixedDSPContext
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more