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

Go to the source code of this file.

Functions

static void free_lines (SwsSlice *s)
 
static int alloc_lines (SwsSlice *s, int size, int width)
 
static int alloc_slice (SwsSlice *s, enum AVPixelFormat fmt, int lumLines, int chrLines, int h_sub_sample, int v_sub_sample, int ring)
 
static void free_slice (SwsSlice *s)
 
int ff_rotate_slice (SwsSlice *s, int lum, int chr)
 
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)
 
static void fill_ones (SwsSlice *s, int n, int is16bit)
 
int ff_init_filters (SwsContext *c)
 
int ff_free_filters (SwsContext *c)
 

Function Documentation

static void free_lines ( SwsSlice s)
static

Definition at line 23 of file slice.c.

Referenced by alloc_lines(), and free_slice().

static int alloc_lines ( SwsSlice s,
int  size,
int  width 
)
static

Definition at line 45 of file slice.c.

Referenced by ff_init_filters().

static int alloc_slice ( SwsSlice s,
enum AVPixelFormat  fmt,
int  lumLines,
int  chrLines,
int  h_sub_sample,
int  v_sub_sample,
int  ring 
)
static

Definition at line 78 of file slice.c.

Referenced by ff_init_filters().

static void free_slice ( SwsSlice s)
static

Definition at line 106 of file slice.c.

Referenced by ff_free_filters().

int ff_rotate_slice ( SwsSlice s,
int  lum,
int  chr 
)

Definition at line 119 of file slice.c.

Referenced by swscale().

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 
)

Definition at line 147 of file slice.c.

Referenced by swscale().

static void fill_ones ( SwsSlice s,
int  n,
int  is16bit 
)
static

Definition at line 192 of file slice.c.

Referenced by ff_init_filters().

int ff_init_filters ( SwsContext c)

Definition at line 213 of file slice.c.

Referenced by sws_init_context().

int ff_free_filters ( SwsContext c)

Definition at line 334 of file slice.c.

Referenced by ff_init_filters(), sws_freeContext(), and sws_init_context().