summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2010-01-24 02:08:22 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2010-01-24 02:08:22 +0000
commita4388ebd37e42721e294946721d5c008ca0b3e66 (patch)
tree8512bdab51449523515fe908b414544678205bd5 /libswscale/swscale_internal.h
parent2c0ee018660781c7e57667f11dc5e002872994ef (diff)
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
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 0ae6dbc0f2..658c4aef72 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -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 */