libavcodec/snow.h File Reference

#include "dsputil.h"

Go to the source code of this file.

Data Structures

struct  slice_buffer_s
 Used to minimize the amount of memory used in order to optimize cache performance. More...

Defines

#define MID_STATE   128
#define MAX_DECOMPOSITIONS   8
#define MAX_PLANES   4
#define QSHIFT   5
#define QROOT   (1<<QSHIFT)
#define LOSSLESS_QLOG   -128
#define FRAC_BITS   4
#define MAX_REF_FRAMES   8
#define LOG2_OBMC_MAX   8
#define OBMC_MAX   (1<<(LOG2_OBMC_MAX))
#define DWT_97   0
#define DWT_53   1
#define liftS   lift
#define W_AM   3
#define W_AO   0
#define W_AS   1
#define W_BM   1
#define W_BO   8
#define W_BS   4
#define W_CM   1
#define W_CO   0
#define W_CS   0
#define W_DM   3
#define W_DO   4
#define W_DS   3

Functions

void ff_snow_vertical_compose97i (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, IDWTELEM *b3, IDWTELEM *b4, IDWTELEM *b5, int width)
void ff_snow_horizontal_compose97i (IDWTELEM *b, int width)
void ff_snow_inner_add_yblock (const uint8_t *obmc, const int obmc_stride, uint8_t **block, int b_w, int b_h, int src_x, int src_y, int src_stride, slice_buffer *sb, int add, uint8_t *dst8)
static int w53_32_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h)
static int w97_32_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h)
static av_always_inline void snow_interleave_line_header (int *i, int width, IDWTELEM *low, IDWTELEM *high)
static av_always_inline void snow_interleave_line_footer (int *i, IDWTELEM *low, IDWTELEM *high)
static av_always_inline void snow_horizontal_compose_lift_lead_out (int i, IDWTELEM *dst, IDWTELEM *src, IDWTELEM *ref, int width, int w, int lift_high, int mul, int add, int shift)
static av_always_inline void snow_horizontal_compose_liftS_lead_out (int i, IDWTELEM *dst, IDWTELEM *src, IDWTELEM *ref, int width, int w)


Define Documentation

#define DWT_53   1

#define DWT_97   0

#define FRAC_BITS   4

Definition at line 34 of file snow.h.

#define liftS   lift

Definition at line 54 of file snow.h.

Referenced by horizontal_decompose97i().

#define LOG2_OBMC_MAX   8

Definition at line 37 of file snow.h.

Referenced by add_yblock(), ff_snow_inner_add_yblock(), get_block_rd(), and get_dc().

#define LOSSLESS_QLOG   -128

#define MAX_DECOMPOSITIONS   8

Definition at line 29 of file snow.h.

Referenced by decode_frame(), ff_spatial_idwt(), and reset_contexts().

#define MAX_PLANES   4

Definition at line 30 of file snow.h.

#define MAX_REF_FRAMES   8

Definition at line 35 of file snow.h.

Referenced by common_end(), common_init(), decode_header(), and encode_init().

#define MID_STATE   128

Definition at line 27 of file snow.h.

Referenced by decode_header(), encode_header(), and reset_contexts().

#define OBMC_MAX   (1<<(LOG2_OBMC_MAX))

Definition at line 38 of file snow.h.

Referenced by add_yblock().

#define QROOT   (1<<QSHIFT)

#define QSHIFT   5

#define W_AM   3

#define W_AO   0

#define W_AS   1

#define W_BM   1

#define W_BO   8

#define W_BS   4

#define W_CM   1

#define W_CO   0

#define W_CS   0

#define W_DM   3

#define W_DO   4

#define W_DS   3


Function Documentation

void ff_snow_horizontal_compose97i ( IDWTELEM b,
int  width 
)

Definition at line 1141 of file snow.c.

Referenced by dsputil_init(), and spatial_compose97i_dy().

void ff_snow_inner_add_yblock ( const uint8_t *  obmc,
const int  obmc_stride,
uint8_t **  block,
int  b_w,
int  b_h,
int  src_x,
int  src_y,
int  src_stride,
slice_buffer sb,
int  add,
uint8_t *  dst8 
)

void ff_snow_vertical_compose97i ( IDWTELEM b0,
IDWTELEM b1,
IDWTELEM b2,
IDWTELEM b3,
IDWTELEM b4,
IDWTELEM b5,
int  width 
)

Definition at line 1187 of file snow.c.

Referenced by dsputil_init().

static av_always_inline void snow_horizontal_compose_lift_lead_out ( int  i,
IDWTELEM dst,
IDWTELEM src,
IDWTELEM ref,
int  width,
int  w,
int  lift_high,
int  mul,
int  add,
int  shift 
) [static]

static av_always_inline void snow_horizontal_compose_liftS_lead_out ( int  i,
IDWTELEM dst,
IDWTELEM src,
IDWTELEM ref,
int  width,
int  w 
) [static]

static av_always_inline void snow_interleave_line_footer ( int *  i,
IDWTELEM low,
IDWTELEM high 
) [static]

Definition at line 147 of file snow.h.

static av_always_inline void snow_interleave_line_header ( int *  i,
int  width,
IDWTELEM low,
IDWTELEM high 
) [static]

static int w53_32_c ( void *  v,
uint8_t *  pix1,
uint8_t *  pix2,
int  line_size,
int  h 
) [static]

Definition at line 132 of file snow.h.

Referenced by get_block_rd().

static int w97_32_c ( void *  v,
uint8_t *  pix1,
uint8_t *  pix2,
int  line_size,
int  h 
) [static]

Definition at line 133 of file snow.h.

Referenced by get_block_rd().


Generated on Fri Oct 26 02:35:44 2012 for FFmpeg by  doxygen 1.5.8