avcodec/v210dec: Add ff prefix to v210_x86_init()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-02-27 19:08:09 +01:00
parent b37c3396cd
commit 23a90768a8
3 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
s->unpack_frame = v210_planar_unpack_c;
if (HAVE_MMX)
v210_x86_init(s);
ff_v210_x86_init(s);
return 0;
}
@ -101,7 +101,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
if (aligned_input != s->aligned_input) {
s->aligned_input = aligned_input;
if (HAVE_MMX)
v210_x86_init(s);
ff_v210_x86_init(s);
}
if ((ret = ff_get_buffer(avctx, pic, 0)) < 0)

View File

@ -31,6 +31,6 @@ typedef struct {
void (*unpack_frame)(const uint32_t *src, uint16_t *y, uint16_t *u, uint16_t *v, int width);
} V210DecContext;
void v210_x86_init(V210DecContext *s);
void ff_v210_x86_init(V210DecContext *s);
#endif /* AVCODEC_V210DEC_H */

View File

@ -25,7 +25,7 @@ extern void ff_v210_planar_unpack_unaligned_avx(const uint32_t *src, uint16_t *y
extern void ff_v210_planar_unpack_aligned_ssse3(const uint32_t *src, uint16_t *y, uint16_t *u, uint16_t *v, int width);
extern void ff_v210_planar_unpack_aligned_avx(const uint32_t *src, uint16_t *y, uint16_t *u, uint16_t *v, int width);
av_cold void v210_x86_init(V210DecContext *s)
av_cold void ff_v210_x86_init(V210DecContext *s)
{
int cpu_flags = av_get_cpu_flags();