Browse Source

sh4: Add ff_ prefix to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n0.11
Martin Storsjö 13 years ago
parent
commit
f73673a770
3 changed files with 5 additions and 5 deletions
  1. +3
    -3
      libavcodec/sh4/dsputil_sh4.c
  2. +1
    -1
      libavcodec/sh4/dsputil_sh4.h
  3. +1
    -1
      libavcodec/sh4/idct_sh4.c

+ 3
- 3
libavcodec/sh4/dsputil_sh4.c View File

@@ -56,7 +56,7 @@ static void idct_put(uint8_t *dest, int line_size, DCTELEM *block)
{ {
int i; int i;
uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
idct_sh4(block);
ff_idct_sh4(block);
for(i=0;i<8;i++) { for(i=0;i<8;i++) {
dest[0] = cm[block[0]]; dest[0] = cm[block[0]];
dest[1] = cm[block[1]]; dest[1] = cm[block[1]];
@@ -74,7 +74,7 @@ static void idct_add(uint8_t *dest, int line_size, DCTELEM *block)
{ {
int i; int i;
uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
idct_sh4(block);
ff_idct_sh4(block);
for(i=0;i<8;i++) { for(i=0;i<8;i++) {
dest[0] = cm[dest[0]+block[0]]; dest[0] = cm[dest[0]+block[0]];
dest[1] = cm[dest[1]+block[1]]; dest[1] = cm[dest[1]+block[1]];
@@ -101,7 +101,7 @@ void ff_dsputil_init_sh4(DSPContext* c, AVCodecContext *avctx)
(idct_algo==FF_IDCT_AUTO || idct_algo==FF_IDCT_SH4)) { (idct_algo==FF_IDCT_AUTO || idct_algo==FF_IDCT_SH4)) {
c->idct_put = idct_put; c->idct_put = idct_put;
c->idct_add = idct_add; c->idct_add = idct_add;
c->idct = idct_sh4;
c->idct = ff_idct_sh4;
c->idct_permutation_type= FF_NO_IDCT_PERM; c->idct_permutation_type= FF_NO_IDCT_PERM;
} }
} }

+ 1
- 1
libavcodec/sh4/dsputil_sh4.h View File

@@ -22,7 +22,7 @@
#include "libavcodec/avcodec.h" #include "libavcodec/avcodec.h"
#include "libavcodec/dsputil.h" #include "libavcodec/dsputil.h"


void idct_sh4(DCTELEM *block);
void ff_idct_sh4(DCTELEM *block);
void ff_dsputil_init_align(DSPContext* c, AVCodecContext *avctx); void ff_dsputil_init_align(DSPContext* c, AVCodecContext *avctx);


#endif /* AVCODEC_SH4_DSPUTIL_SH4_H */ #endif /* AVCODEC_SH4_DSPUTIL_SH4_H */

+ 1
- 1
libavcodec/sh4/idct_sh4.c View File

@@ -89,7 +89,7 @@ static const float odd_table[] __attribute__ ((aligned(8))) = {


//optimized //optimized


void idct_sh4(DCTELEM *block)
void ff_idct_sh4(DCTELEM *block)
{ {
DEFREG; DEFREG;




Loading…
Cancel
Save