diff options
author | Pedro Arthur <bygrandao@gmail.com> | 2015-08-17 17:07:53 -0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-18 01:33:32 +0200 |
commit | 737aa902f069ed218fd2d13c59015391facf73c8 (patch) | |
tree | 0fd8160cb7a10518debdcca8b4fb6060ea8b2748 /libswscale/swscale_internal.h | |
parent | e0a3173a94f2029de467f7a60f44e8caa7adb450 (diff) | |
download | ffmpeg-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.h | 4 |
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 */ |