Mercurial > libavcodec.hg
comparison dsputil.h @ 2693:02925a3903b6 libavcodec
porting vp3 idct over to lavc idct api
author | michael |
---|---|
date | Tue, 17 May 2005 11:12:04 +0000 |
parents | 72e6ffa1f3a5 |
children | 9699d325049d |
comparison
equal
deleted
inserted
replaced
2692:fb8f26fc57eb | 2693:02925a3903b6 |
---|---|
66 /* temporary */ | 66 /* temporary */ |
67 extern uint32_t squareTbl[512]; | 67 extern uint32_t squareTbl[512]; |
68 extern uint8_t cropTbl[256 + 2 * MAX_NEG_CROP]; | 68 extern uint8_t cropTbl[256 + 2 * MAX_NEG_CROP]; |
69 | 69 |
70 /* VP3 DSP functions */ | 70 /* VP3 DSP functions */ |
71 void vp3_dsp_init_c(void); | 71 void ff_vp3_idct_c(DCTELEM *block/* align 16*/); |
72 void vp3_idct_c(int16_t *input_data, int16_t *dequant_matrix, | 72 void ff_vp3_idct_put_c(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/); |
73 int coeff_count, DCTELEM *output_data); | 73 void ff_vp3_idct_add_c(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/); |
74 | |
75 void vp3_dsp_init_mmx(void); | |
76 void vp3_idct_mmx(int16_t *input_data, int16_t *dequant_matrix, | |
77 int coeff_count, DCTELEM *output_data); | |
78 | |
79 void vp3_dsp_init_sse2(void); | |
80 void vp3_idct_sse2(int16_t *input_data, int16_t *dequant_matrix, | |
81 int coeff_count, DCTELEM *output_data); | |
82 | 74 |
83 /* minimum alignment rules ;) | 75 /* minimum alignment rules ;) |
84 if u notice errors in the align stuff, need more alignment for some asm code for some cpu | 76 if u notice errors in the align stuff, need more alignment for some asm code for some cpu |
85 or need to use a function with less aligned data then send a mail to the ffmpeg-dev list, ... | 77 or need to use a function with less aligned data then send a mail to the ffmpeg-dev list, ... |
86 | 78 |