Commit a4388ebd authored by Ramiro Polla's avatar Ramiro Polla
Browse files

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

Originally committed as revision 30411 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 2c0ee018
......@@ -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 \
......
This diff is collapsed.
......@@ -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 */
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment