summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorPedro Arthur <bygrandao@gmail.com>2015-08-17 17:07:53 -0300
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-18 01:33:32 +0200
commit737aa902f069ed218fd2d13c59015391facf73c8 (patch)
tree0fd8160cb7a10518debdcca8b4fb6060ea8b2748 /libswscale/swscale_internal.h
parente0a3173a94f2029de467f7a60f44e8caa7adb450 (diff)
downloadffmpeg-streaming-737aa902f069ed218fd2d13c59015391facf73c8.zip
ffmpeg-streaming-737aa902f069ed218fd2d13c59015391facf73c8.tar.gz
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 2e69e27..f46bb78 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 */
OpenPOWER on IntegriCloud