Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Arthur <bygrandao@gmail.com>2015-08-17 23:07:53 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-18 02:33:32 +0300
commit737aa902f069ed218fd2d13c59015391facf73c8 (patch)
tree0fd8160cb7a10518debdcca8b4fb6060ea8b2748 /libswscale/swscale_internal.h
parente0a3173a94f2029de467f7a60f44e8caa7adb450 (diff)
swscale: process horizontal lines in batches
Process more lines in a single pass to improve performance Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 2e69e27901..f46bb78bd7 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -1019,7 +1019,6 @@ int ff_free_filters(SwsContext *c);
*/
int ff_rotate_slice(SwsSlice *s, int lum, int chr);
-
/// initializes lum pixel format conversion descriptor
int ff_init_desc_fmt_convert(SwsFilterDescriptor *desc, SwsSlice * src, SwsSlice *dst, uint32_t *pal);
@@ -1034,4 +1033,7 @@ int ff_init_desc_chscale(SwsFilterDescriptor *desc, SwsSlice *src, SwsSlice *dst
int ff_init_desc_no_chr(SwsFilterDescriptor *desc, SwsSlice * src, SwsSlice *dst);
+//number of extra lines to process
+#define MAX_LINES_AHEAD 4
+
#endif /* SWSCALE_SWSCALE_INTERNAL_H */