mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 18:49:58 +00:00
swscale: rename sws_rgb2rgb_init to ff_sws_rgb2rgb_init
It is an internal swscale function and thus should not be exported. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
parent
8bfbc8c5e5
commit
e8c3716064
@ -45,7 +45,7 @@ int main(int argc, char **argv)
|
||||
return -1;
|
||||
|
||||
av_log(NULL, AV_LOG_INFO, "memory corruption test ...\n");
|
||||
sws_rgb2rgb_init();
|
||||
ff_sws_rgb2rgb_init();
|
||||
|
||||
for (funcNum = 0; ; funcNum++) {
|
||||
struct func_info_s {
|
||||
|
@ -130,7 +130,7 @@ void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
|
||||
* 32-bit C version, and and&add trick by Michael Niedermayer
|
||||
*/
|
||||
|
||||
av_cold void sws_rgb2rgb_init(void)
|
||||
av_cold void ff_sws_rgb2rgb_init(void)
|
||||
{
|
||||
rgb2rgb_init_c();
|
||||
if (ARCH_X86)
|
||||
|
@ -164,7 +164,7 @@ extern void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const u
|
||||
int width, int height,
|
||||
int lumStride, int chromStride, int srcStride);
|
||||
|
||||
void sws_rgb2rgb_init(void);
|
||||
void ff_sws_rgb2rgb_init(void);
|
||||
|
||||
void rgb2rgb_init_x86(void);
|
||||
|
||||
|
@ -1127,7 +1127,7 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter,
|
||||
flags = c->flags;
|
||||
emms_c();
|
||||
if (!rgb15to16)
|
||||
sws_rgb2rgb_init();
|
||||
ff_sws_rgb2rgb_init();
|
||||
|
||||
unscaled = (srcW == dstW && srcH == dstH);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user