mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-13 21:26:33 +02:00
sh4: Add ff_ prefix to nonstatic symbols
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
efd29844eb
commit
f73673a770
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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 */
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user