You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/videodsp: Make ff_emulated_edge_mc_16 static
Only ff_emulated_edge_mc_8() is used outside of lavc/videodsp.c. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -36,7 +36,6 @@ void ff_emulated_edge_mc_ ## depth(uint8_t *dst, const uint8_t *src, \
|
||||
int src_x, int src_y, int w, int h);
|
||||
|
||||
EMULATED_EDGE(8)
|
||||
EMULATED_EDGE(16)
|
||||
|
||||
typedef struct VideoDSPContext {
|
||||
/**
|
||||
|
@@ -20,6 +20,10 @@
|
||||
*/
|
||||
|
||||
#include "bit_depth_template.c"
|
||||
#if BIT_DEPTH != 8
|
||||
// ff_emulated_edge_mc_8 is used by the x86 MpegVideoDSP API.
|
||||
static
|
||||
#endif
|
||||
void FUNC(ff_emulated_edge_mc)(uint8_t *buf, const uint8_t *src,
|
||||
ptrdiff_t buf_linesize,
|
||||
ptrdiff_t src_linesize,
|
||||
|
Reference in New Issue
Block a user