Revision bb54f6ab libavcodec/i386/dsputil_mmx.c

View differences:

libavcodec/i386/dsputil_mmx.c
2667 2667
#endif /* CONFIG_ENCODERS */
2668 2668

  
2669 2669
#define PREFETCH(name, op) \
2670
void name(void *mem, int stride, int h){\
2670
static void name(void *mem, int stride, int h){\
2671 2671
    const uint8_t *p= mem;\
2672 2672
    do{\
2673 2673
        asm volatile(#op" %0" :: "m"(*p));\
......
3007 3007
        ff_vector_fmul_add_add_c(dst, src0, src1, src2, src3, len, step);
3008 3008
}
3009 3009

  
3010
void float_to_int16_3dnow(int16_t *dst, const float *src, int len){
3010
static void float_to_int16_3dnow(int16_t *dst, const float *src, int len){
3011 3011
    // not bit-exact: pf2id uses different rounding than C and SSE
3012 3012
    int i;
3013 3013
    for(i=0; i<len; i+=4) {
......
3022 3022
    }
3023 3023
    asm volatile("femms");
3024 3024
}
3025
void float_to_int16_sse(int16_t *dst, const float *src, int len){
3025
static void float_to_int16_sse(int16_t *dst, const float *src, int len){
3026 3026
    int i;
3027 3027
    for(i=0; i<len; i+=4) {
3028 3028
        asm volatile(

Also available in: Unified diff