comparison dsputil.h @ 7286:e267f2519248 libavcodec

float_to_int16_interleave: change src to an array of pointers instead of assuming it's contiguous. this has no immediate effect, but will allow it to be used in more codecs.
author lorenm
date Wed, 16 Jul 2008 00:50:12 +0000
parents fc843d00867c
children 483421b11d98
comparison
equal deleted inserted replaced
7285:1fe3ae6a9491 7286:e267f2519248
370 void (*vector_fmul_window)(float *dst, const float *src0, const float *src1, const float *win, float add_bias, int len); 370 void (*vector_fmul_window)(float *dst, const float *src0, const float *src1, const float *win, float add_bias, int len);
371 371
372 /* C version: convert floats from the range [384.0,386.0] to ints in [-32768,32767] 372 /* C version: convert floats from the range [384.0,386.0] to ints in [-32768,32767]
373 * simd versions: convert floats from [-32768.0,32767.0] without rescaling and arrays are 16byte aligned */ 373 * simd versions: convert floats from [-32768.0,32767.0] without rescaling and arrays are 16byte aligned */
374 void (*float_to_int16)(int16_t *dst, const float *src, long len); 374 void (*float_to_int16)(int16_t *dst, const float *src, long len);
375 void (*float_to_int16_interleave)(int16_t *dst, const float *src, long len, int channels); 375 void (*float_to_int16_interleave)(int16_t *dst, const float **src, long len, int channels);
376 376
377 /* (I)DCT */ 377 /* (I)DCT */
378 void (*fdct)(DCTELEM *block/* align 16*/); 378 void (*fdct)(DCTELEM *block/* align 16*/);
379 void (*fdct248)(DCTELEM *block/* align 16*/); 379 void (*fdct248)(DCTELEM *block/* align 16*/);
380 380