mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
swscale: Move VScalerContext into vscale.c
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
653f9d84ae
commit
7b6e6895f2
@ -1004,15 +1004,6 @@ typedef struct FilterContext
|
|||||||
int xInc;
|
int xInc;
|
||||||
} FilterContext;
|
} 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])
|
// 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]
|
// 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);
|
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);
|
||||||
|
@ -19,6 +19,16 @@
|
|||||||
*/
|
*/
|
||||||
#include "swscale_internal.h"
|
#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)
|
static int lum_planar_vscale(SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH)
|
||||||
{
|
{
|
||||||
VScalerContext *inst = desc->instance;
|
VScalerContext *inst = desc->instance;
|
||||||
|
Loading…
Reference in New Issue
Block a user