comparison mpegaudio.h @ 12040:b4888704c11e libavcodec

Altivec-optimized mp{1,2,3} windowing
author vitor
date Thu, 01 Jul 2010 21:04:12 +0000
parents 3f3d08bb5cf8
children
comparison
equal deleted inserted replaced
12039:d5705b52b76e 12040:b4888704c11e
186 MPA_INT *window, int *dither_state, 186 MPA_INT *window, int *dither_state,
187 OUT_INT *samples, int incr, 187 OUT_INT *samples, int incr,
188 INTFLOAT sb_samples[SBLIMIT]); 188 INTFLOAT sb_samples[SBLIMIT]);
189 189
190 void ff_mpegaudiodec_init_mmx(MPADecodeContext *s); 190 void ff_mpegaudiodec_init_mmx(MPADecodeContext *s);
191 void ff_mpegaudiodec_init_altivec(MPADecodeContext *s);
191 192
192 /* fast header check for resync */ 193 /* fast header check for resync */
193 static inline int ff_mpa_check_header(uint32_t header){ 194 static inline int ff_mpa_check_header(uint32_t header){
194 /* header */ 195 /* header */
195 if ((header & 0xffe00000) != 0xffe00000) 196 if ((header & 0xffe00000) != 0xffe00000)