Mercurial > mplayer.hg
diff libswscale/swscale_internal.h @ 30369:8c479cb29c7a
Split swscale.c into scaler code (swscale.c) and utility code (utils.c).
author | ramiro |
---|---|
date | Sun, 24 Jan 2010 02:08:22 +0000 |
parents | 4d50825554ee |
children | 2eea1f09e2c5 |
line wrap: on
line diff
--- a/libswscale/swscale_internal.h Sat Jan 23 23:50:25 2010 +0000 +++ b/libswscale/swscale_internal.h Sun Jan 24 02:08:22 2010 +0000 @@ -460,4 +460,21 @@ 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 */