Mercurial > libavcodec.hg
comparison dsputil.h @ 7218:7f3d6509628b libavcodec
Fix x86-64
author | michael |
---|---|
date | Mon, 07 Jul 2008 21:04:29 +0000 |
parents | 87b1dfb5a98d |
children | cc55dd004819 |
comparison
equal
deleted
inserted
replaced
7217:726770da3234 | 7218:7f3d6509628b |
---|---|
61 void ff_h264_lowres_idct_add_c(uint8_t *dst, int stride, DCTELEM *block); | 61 void ff_h264_lowres_idct_add_c(uint8_t *dst, int stride, DCTELEM *block); |
62 void ff_h264_lowres_idct_put_c(uint8_t *dst, int stride, DCTELEM *block); | 62 void ff_h264_lowres_idct_put_c(uint8_t *dst, int stride, DCTELEM *block); |
63 | 63 |
64 void ff_vector_fmul_add_add_c(float *dst, const float *src0, const float *src1, | 64 void ff_vector_fmul_add_add_c(float *dst, const float *src0, const float *src1, |
65 const float *src2, int src3, int blocksize, int step); | 65 const float *src2, int src3, int blocksize, int step); |
66 void ff_float_to_int16_c(int16_t *dst, const float *src, int len); | 66 void ff_float_to_int16_c(int16_t *dst, const float *src, long len); |
67 | 67 |
68 /* encoding scans */ | 68 /* encoding scans */ |
69 extern const uint8_t ff_alternate_horizontal_scan[64]; | 69 extern const uint8_t ff_alternate_horizontal_scan[64]; |
70 extern const uint8_t ff_alternate_vertical_scan[64]; | 70 extern const uint8_t ff_alternate_vertical_scan[64]; |
71 extern const uint8_t ff_zigzag_direct[64]; | 71 extern const uint8_t ff_zigzag_direct[64]; |
365 /* assume len is a multiple of 8, and src arrays are 16-byte aligned */ | 365 /* assume len is a multiple of 8, and src arrays are 16-byte aligned */ |
366 void (*vector_fmul_add_add)(float *dst, const float *src0, const float *src1, const float *src2, int src3, int len, int step); | 366 void (*vector_fmul_add_add)(float *dst, const float *src0, const float *src1, const float *src2, int src3, int len, int step); |
367 | 367 |
368 /* C version: convert floats from the range [384.0,386.0] to ints in [-32768,32767] | 368 /* C version: convert floats from the range [384.0,386.0] to ints in [-32768,32767] |
369 * simd versions: convert floats from [-32768.0,32767.0] without rescaling and arrays are 16byte aligned */ | 369 * simd versions: convert floats from [-32768.0,32767.0] without rescaling and arrays are 16byte aligned */ |
370 void (*float_to_int16)(int16_t *dst, const float *src, int len); | 370 void (*float_to_int16)(int16_t *dst, const float *src, long len); |
371 | 371 |
372 /* (I)DCT */ | 372 /* (I)DCT */ |
373 void (*fdct)(DCTELEM *block/* align 16*/); | 373 void (*fdct)(DCTELEM *block/* align 16*/); |
374 void (*fdct248)(DCTELEM *block/* align 16*/); | 374 void (*fdct248)(DCTELEM *block/* align 16*/); |
375 | 375 |