mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
avcodec/v210dec: Add ff prefix to v210_x86_init()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b37c3396cd
commit
23a90768a8
@ -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)
|
||||
|
@ -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 */
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user