mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-23 15:53:08 +00:00
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
This commit is contained in:
parent
2c0ee01866
commit
a4388ebd37
@ -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 \
|
||||
|
1551
libswscale/swscale.c
1551
libswscale/swscale.c
File diff suppressed because it is too large
Load Diff
@ -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
1589
libswscale/utils.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user