diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-14 16:51:34 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-14 21:58:02 +0100 |
commit | e06403331cecae4686a1590793eb5a2c064b2478 (patch) | |
tree | 62be6ef616da1b4695a6ec9b468afa09de0a6def /libswscale/hscale.c | |
parent | 7b6e6895f2cbfa90a39874d03e2fac392bcbd33b (diff) | |
download | ffmpeg-streaming-e06403331cecae4686a1590793eb5a2c064b2478.zip ffmpeg-streaming-e06403331cecae4686a1590793eb5a2c064b2478.tar.gz |
swscale: Move Contexts used only in hscale.c into it
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/hscale.c')
-rw-r--r-- | libswscale/hscale.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libswscale/hscale.c b/libswscale/hscale.c index ca09576..9f9d35b 100644 --- a/libswscale/hscale.c +++ b/libswscale/hscale.c @@ -20,6 +20,21 @@ #include "swscale_internal.h" +/// Scaler instance data +typedef struct FilterContext +{ + uint16_t *filter; + int *filter_pos; + int filter_size; + int xInc; +} FilterContext; + +/// Color conversion instance data +typedef struct ColorContext +{ + uint32_t *pal; +} ColorContext; + static int lum_h_scale(SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH) { FilterContext *instance = desc->instance; |