diff options
author | ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-24 02:08:22 +0000 |
---|---|---|
committer | ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-24 02:08:22 +0000 |
commit | d9f2d9d62c3db77459d9bdce11e4dc33815f97bd (patch) | |
tree | 8c0a2e50ccdb56848b701a85f814273005fbce98 /libswscale/swscale_internal.h | |
parent | 4e90199d2ee19ecaab142ee6e34327ac5dda6166 (diff) | |
download | mpv-d9f2d9d62c3db77459d9bdce11e4dc33815f97bd.tar.bz2 mpv-d9f2d9d62c3db77459d9bdce11e4dc33815f97bd.tar.xz |
Split swscale.c into scaler code (swscale.c) and utility code (utils.c).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30411 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 17 |
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 */ |