Commit 2e353905 authored by ramiro's avatar ramiro

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


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@30411 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 281ba1ce
...@@ -5,7 +5,7 @@ FFLIBS = avutil ...@@ -5,7 +5,7 @@ FFLIBS = avutil
HEADERS = swscale.h 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 \ OBJS-$(ARCH_BFIN) += bfin/internal_bfin.o \
bfin/swscale_bfin.o \ bfin/swscale_bfin.o \
......
This diff is collapsed.
...@@ -460,4 +460,21 @@ extern const uint64_t ff_dither8[2]; ...@@ -460,4 +460,21 @@ extern const uint64_t ff_dither8[2];
extern const AVClass sws_context_class; 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 */ #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