1
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:33:46 +01:00

Split swscale.c into scaler code (swscale.c) and utility code (utils.c).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30411 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ramiro 2010-01-24 02:08:22 +00:00
parent 4e90199d2e
commit d9f2d9d62c
4 changed files with 1620 additions and 1539 deletions

View File

@ -5,7 +5,7 @@ FFLIBS = avutil
HEADERS = swscale.h
OBJS = options.o rgb2rgb.o swscale.o yuv2rgb.o
OBJS = options.o rgb2rgb.o swscale.o utils.o yuv2rgb.o
OBJS-$(ARCH_BFIN) += bfin/internal_bfin.o \
bfin/swscale_bfin.o \

File diff suppressed because it is too large Load Diff

View File

@ -460,4 +460,21 @@ extern const uint64_t ff_dither8[2];
extern const AVClass sws_context_class;
/**
* Sets c->swScale to an unscaled converter if one exists for the specific
* source and destination formats, bit depths, flags, etc.
*/
void ff_get_unscaled_swscale(SwsContext *c);
/**
* Returns the SWS_CPU_CAPS for the optimized code compiled into swscale.
*/
int ff_hardcodedcpuflags(void);
/**
* Returns function pointer to fastest main scaler path function depending
* on architecture and available optimizations.
*/
SwsFunc ff_getSwsFunc(SwsContext *c);
#endif /* SWSCALE_SWSCALE_INTERNAL_H */

1589
libswscale/utils.c Normal file

File diff suppressed because it is too large Load Diff