FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
hscale.c File Reference
#include "swscale_internal.h"

Go to the source code of this file.

Functions

static int lum_h_scale (SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH)
 
static int lum_convert (SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH)
 
int ff_init_desc_fmt_convert (SwsFilterDescriptor *desc, SwsSlice *src, SwsSlice *dst, uint32_t *pal)
 initializes lum pixel format conversion descriptor More...
 
int ff_init_desc_hscale (SwsFilterDescriptor *desc, SwsSlice *src, SwsSlice *dst, uint16_t *filter, int *filter_pos, int filter_size, int xInc)
 initializes lum horizontal scaling descriptor More...
 
static int chr_h_scale (SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH)
 
static int chr_convert (SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH)
 
int ff_init_desc_cfmt_convert (SwsFilterDescriptor *desc, SwsSlice *src, SwsSlice *dst, uint32_t *pal)
 initializes chr pixel format conversion descriptor More...
 
int ff_init_desc_chscale (SwsFilterDescriptor *desc, SwsSlice *src, SwsSlice *dst, uint16_t *filter, int *filter_pos, int filter_size, int xInc)
 initializes chr horizontal scaling descriptor More...
 
static int no_chr_scale (SwsContext *c, SwsFilterDescriptor *desc, int sliceY, int sliceH)
 
int ff_init_desc_no_chr (SwsFilterDescriptor *desc, SwsSlice *src, SwsSlice *dst)
 

Function Documentation

static int lum_h_scale ( SwsContext c,
SwsFilterDescriptor desc,
int  sliceY,
int  sliceH 
)
static

Definition at line 23 of file hscale.c.

Referenced by ff_init_desc_hscale().

static int lum_convert ( SwsContext c,
SwsFilterDescriptor desc,
int  sliceY,
int  sliceH 
)
static

Definition at line 71 of file hscale.c.

Referenced by ff_init_desc_fmt_convert().

int ff_init_desc_fmt_convert ( SwsFilterDescriptor desc,
SwsSlice src,
SwsSlice dst,
uint32_t *  pal 
)

initializes lum pixel format conversion descriptor

Definition at line 112 of file hscale.c.

Referenced by ff_init_filters().

int ff_init_desc_hscale ( SwsFilterDescriptor desc,
SwsSlice src,
SwsSlice dst,
uint16_t *  filter,
int *  filter_pos,
int  filter_size,
int  xInc 
)

initializes lum horizontal scaling descriptor

Definition at line 129 of file hscale.c.

Referenced by ff_init_filters().

static int chr_h_scale ( SwsContext c,
SwsFilterDescriptor desc,
int  sliceY,
int  sliceH 
)
static

Definition at line 151 of file hscale.c.

Referenced by ff_init_desc_chscale().

static int chr_convert ( SwsContext c,
SwsFilterDescriptor desc,
int  sliceY,
int  sliceH 
)
static

Definition at line 187 of file hscale.c.

Referenced by ff_init_desc_cfmt_convert().

int ff_init_desc_cfmt_convert ( SwsFilterDescriptor desc,
SwsSlice src,
SwsSlice dst,
uint32_t *  pal 
)

initializes chr pixel format conversion descriptor

Definition at line 220 of file hscale.c.

Referenced by ff_init_filters().

int ff_init_desc_chscale ( SwsFilterDescriptor desc,
SwsSlice src,
SwsSlice dst,
uint16_t *  filter,
int *  filter_pos,
int  filter_size,
int  xInc 
)

initializes chr horizontal scaling descriptor

Definition at line 235 of file hscale.c.

Referenced by ff_init_filters().

static int no_chr_scale ( SwsContext c,
SwsFilterDescriptor desc,
int  sliceY,
int  sliceH 
)
static

Definition at line 257 of file hscale.c.

Referenced by ff_init_desc_no_chr().

int ff_init_desc_no_chr ( SwsFilterDescriptor desc,
SwsSlice src,
SwsSlice dst 
)

Definition at line 266 of file hscale.c.

Referenced by ff_init_filters().