1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

bfin: Make vp3 functions static

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2013-04-03 04:26:14 -07:00
parent aa8d89536d
commit 0f59845708
2 changed files with 4 additions and 6 deletions

View File

@ -28,7 +28,7 @@
#include "vp3_bfin.h" #include "vp3_bfin.h"
/* Intra iDCT offset 128 */ /* Intra iDCT offset 128 */
void ff_bfin_vp3_idct_put (uint8_t *dest, int line_size, int16_t *block) static void bfin_vp3_idct_put(uint8_t *dest, int line_size, int16_t *block)
{ {
uint8_t *cm = ff_cropTbl + MAX_NEG_CROP + 128; uint8_t *cm = ff_cropTbl + MAX_NEG_CROP + 128;
int i,j; int i,j;
@ -43,7 +43,7 @@ void ff_bfin_vp3_idct_put (uint8_t *dest, int line_size, int16_t *block)
} }
/* Inter iDCT */ /* Inter iDCT */
void ff_bfin_vp3_idct_add (uint8_t *dest, int line_size, int16_t *block) static void bfin_vp3_idct_add(uint8_t *dest, int line_size, int16_t *block)
{ {
ff_bfin_vp3_idct (block); ff_bfin_vp3_idct (block);
ff_bfin_add_pixels_clamped (block, dest, line_size); ff_bfin_add_pixels_clamped (block, dest, line_size);
@ -54,7 +54,7 @@ void ff_bfin_vp3_idct_add (uint8_t *dest, int line_size, int16_t *block)
av_cold void ff_vp3dsp_init_bfin(VP3DSPContext *c, int flags) av_cold void ff_vp3dsp_init_bfin(VP3DSPContext *c, int flags)
{ {
if (!(flags & CODEC_FLAG_BITEXACT)) { if (!(flags & CODEC_FLAG_BITEXACT)) {
c->idct_add = ff_bfin_vp3_idct_add; c->idct_add = bfin_vp3_idct_add;
c->idct_put = ff_bfin_vp3_idct_put; c->idct_put = bfin_vp3_idct_put;
} }
} }

View File

@ -23,7 +23,5 @@
#include <stdint.h> #include <stdint.h>
void ff_bfin_vp3_idct(int16_t *block); void ff_bfin_vp3_idct(int16_t *block);
void ff_bfin_vp3_idct_put(uint8_t *dest, int line_size, int16_t *block);
void ff_bfin_vp3_idct_add(uint8_t *dest, int line_size, int16_t *block);
#endif /* AVCODEC_BFIN_VP3_BFIN_H */ #endif /* AVCODEC_BFIN_VP3_BFIN_H */