diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-14 16:49:33 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-14 21:58:02 +0100 |
commit | 7b6e6895f2cbfa90a39874d03e2fac392bcbd33b (patch) | |
tree | 88ec9c394cc6e79841b28cb2cd0be21ebbf86aae | |
parent | 653f9d84ae83188bc1dbef0546b7187841040dc8 (diff) | |
download | ffmpeg-7b6e6895f2cbfa90a39874d03e2fac392bcbd33b.tar.gz |
swscale: Move VScalerContext into vscale.c
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libswscale/swscale_internal.h | 9 | ||||
-rw-r--r-- | libswscale/vscale.c | 10 |
2 files changed, 10 insertions, 9 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index b28a2339cd..80c1dc211a 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -1004,15 +1004,6 @@ typedef struct FilterContext int xInc; } FilterContext; -typedef struct VScalerContext -{ - uint16_t *filter[2]; - int32_t *filter_pos; - int filter_size; - int isMMX; - void *pfn; -} VScalerContext; - // warp input lines in the form (src + width*i + j) to slice format (line[i][j]) // relative=true means first line src[x][0] otherwise first line is src[x][lum/crh Y] int ff_init_slice_from_src(SwsSlice * s, uint8_t *src[4], int stride[4], int srcW, int lumY, int lumH, int chrY, int chrH, int relative); diff --git a/libswscale/vscale.c b/libswscale/vscale.c index 3d6e81a70f..f4b0b67ed0 100644 --- a/libswscale/vscale.c +++ b/libswscale/vscale.c @@ -19,6 +19,16 @@ */ #include "swscale_internal.h" +typedef struct VScalerContext +{ + uint16_t *filter[2]; + int32_t *filter_pos; + int filter_size; + int isMMX; + void *pfn; +} VScalerContext; + + static int lum_planar_vscale(SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH) { VScalerContext *inst = desc->instance; |