swscale: Move Contexts used only in hscale.c into it
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
7b6e6895f2
commit
e06403331c
2 changed files with 15 additions and 15 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue