FmtConvertContext Struct Reference

#include <fmtconvert.h>


Data Fields

void(* int32_to_float_fmul_scalar )(float *dst, const int *src, float mul, int len)
 Convert an array of int32_t to float and multiply by a float value.
void(* float_to_int16 )(int16_t *dst, const float *src, long len)
 Convert an array of float to an array of int16_t.
void(* float_to_int16_interleave )(int16_t *dst, const float **src, long len, int channels)
 Convert multiple arrays of float to an interleaved array of int16_t.
void(* float_interleave )(float *dst, const float **src, unsigned int len, int channels)
 Convert multiple arrays of float to an array of interleaved float.


Detailed Description

Definition at line 28 of file fmtconvert.h.


Field Documentation

void(* FmtConvertContext::float_interleave)(float *dst, const float **src, unsigned int len, int channels)

Convert multiple arrays of float to an array of interleaved float.

Parameters:
dst destination array of interleaved float. constraints: 16-byte aligned
src source array of float arrays, one for each channel. constraints: 16-byte aligned
len number of elements to convert. constraints: multiple of 8
channels number of channels

Referenced by aac_decode_frame_int(), ac3_decode_frame(), atrac1_decode_frame(), atrac3_decode_frame(), dca_decode_frame(), decode_frame(), ff_fmt_convert_init(), ff_fmt_convert_init_x86(), and vorbis_decode_frame().

void(* FmtConvertContext::float_to_int16)(int16_t *dst, const float *src, long len)

Convert an array of float to an array of int16_t.

Convert floats from in the range [-32768.0,32767.0] to ints without rescaling

Parameters:
dst destination array of int16_t. constraints: 16-byte aligned
src source array of float. constraints: 16-byte aligned
len number of elements to convert. constraints: multiple of 8

Referenced by decode_tag(), ff_fmt_convert_init(), ff_fmt_convert_init_altivec(), ff_fmt_convert_init_arm(), and ff_fmt_convert_init_x86().

void(* FmtConvertContext::float_to_int16_interleave)(int16_t *dst, const float **src, long len, int channels)

Convert multiple arrays of float to an interleaved array of int16_t.

Convert floats from in the range [-32768.0,32767.0] to ints without rescaling

Parameters:
dst destination array of interleaved int16_t. constraints: 16-byte aligned
src source array of float arrays, one for each channel. constraints: 16-byte aligned
len number of elements to convert. constraints: multiple of 8
channels number of channels

Referenced by aac_decode_frame_int(), ac3_decode_frame(), atrac3_decode_frame(), dca_decode_frame(), decode_block(), ff_fmt_convert_init(), ff_fmt_convert_init_altivec(), ff_fmt_convert_init_arm(), ff_fmt_convert_init_x86(), vorbis_decode_frame(), and wma_decode_frame().

void(* FmtConvertContext::int32_to_float_fmul_scalar)(float *dst, const int *src, float mul, int len)

Convert an array of int32_t to float and multiply by a float value.

Parameters:
dst destination array of float. constraints: 16-byte aligned
src source array of int32_t. constraints: 16-byte aligned
len number of elements to convert. constraints: multiple of 8

Referenced by dca_subsubframe(), decode_audio_block(), ff_fmt_convert_init(), ff_fmt_convert_init_altivec(), ff_fmt_convert_init_arm(), and ff_fmt_convert_init_x86().


The documentation for this struct was generated from the following file:

Generated on Fri Oct 26 02:46:16 2012 for FFmpeg by  doxygen 1.5.8