FFmpeg
|
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "dsputil.h"
#include "snow_dwt.h"
Go to the source code of this file.
Macros | |
#define | LIFT(src, ref, inv) ((src) + ((inv) ? -(ref) : +(ref))) |
#define | LIFTS(src, ref, inv) |
#define LIFT | ( | src, | |
ref, | |||
inv | |||
) | ((src) + ((inv) ? -(ref) : +(ref))) |
Referenced by lift().
#define LIFTS | ( | src, | |
ref, | |||
inv | |||
) |
int ff_slice_buffer_init | ( | slice_buffer * | buf, |
int | line_count, | ||
int | max_allocated_lines, | ||
int | line_width, | ||
IDWTELEM * | base_buffer | ||
) |
Definition at line 28 of file snow_dwt.c.
Referenced by decode_frame().
IDWTELEM* ff_slice_buffer_load_line | ( | slice_buffer * | buf, |
int | line | ||
) |
Definition at line 62 of file snow_dwt.c.
void ff_slice_buffer_release | ( | slice_buffer * | buf, |
int | line | ||
) |
Definition at line 78 of file snow_dwt.c.
Referenced by decode_frame(), and ff_slice_buffer_flush().
void ff_slice_buffer_flush | ( | slice_buffer * | buf | ) |
Definition at line 91 of file snow_dwt.c.
Referenced by decode_frame(), and ff_slice_buffer_destroy().
void ff_slice_buffer_destroy | ( | slice_buffer * | buf | ) |
Definition at line 99 of file snow_dwt.c.
Referenced by decode_end(), and decode_frame().
|
inlinestatic |
Definition at line 110 of file snow_dwt.c.
Referenced by spatial_compose53i_buffered_init(), spatial_compose53i_dy(), spatial_compose53i_dy_buffered(), spatial_compose53i_init(), spatial_compose97i_buffered_init(), spatial_compose97i_dy(), spatial_compose97i_dy_buffered(), spatial_compose97i_init(), spatial_decompose53i(), and spatial_decompose97i().
|
static |
Definition at line 120 of file snow_dwt.c.
Referenced by horizontal_decompose53i(), and horizontal_decompose97i().
|
static |
Definition at line 150 of file snow_dwt.c.
Referenced by horizontal_decompose97i().
Definition at line 183 of file snow_dwt.c.
Referenced by spatial_decompose53i().
Definition at line 199 of file snow_dwt.c.
Referenced by spatial_decompose53i().
Definition at line 208 of file snow_dwt.c.
Referenced by spatial_decompose53i().
|
static |
Definition at line 217 of file snow_dwt.c.
Referenced by ff_spatial_dwt().
Definition at line 243 of file snow_dwt.c.
Referenced by spatial_decompose97i().
Definition at line 253 of file snow_dwt.c.
Referenced by spatial_decompose97i().
Definition at line 262 of file snow_dwt.c.
Referenced by spatial_decompose97i().
Definition at line 271 of file snow_dwt.c.
Referenced by spatial_decompose97i().
Definition at line 281 of file snow_dwt.c.
Referenced by spatial_decompose97i().
|
static |
Definition at line 290 of file snow_dwt.c.
Referenced by ff_spatial_dwt().
void ff_spatial_dwt | ( | DWTELEM * | buffer, |
DWTELEM * | temp, | ||
int | width, | ||
int | height, | ||
int | stride, | ||
int | type, | ||
int | decomposition_count | ||
) |
Definition at line 324 of file snow_dwt.c.
Referenced by encode_frame(), and w_c().
Definition at line 345 of file snow_dwt.c.
Referenced by spatial_compose53i_dy(), and spatial_compose53i_dy_buffered().
Definition at line 370 of file snow_dwt.c.
Referenced by spatial_compose53i_dy(), and spatial_compose53i_dy_buffered().
Definition at line 379 of file snow_dwt.c.
Referenced by spatial_compose53i_dy(), and spatial_compose53i_dy_buffered().
|
static |
Definition at line 388 of file snow_dwt.c.
Referenced by ff_spatial_idwt_buffered_init().
|
static |
Definition at line 397 of file snow_dwt.c.
Referenced by ff_spatial_idwt_init().
|
static |
Definition at line 405 of file snow_dwt.c.
Referenced by ff_spatial_idwt_buffered_slice().
|
static |
Definition at line 445 of file snow_dwt.c.
Referenced by ff_spatial_idwt_slice().
Definition at line 470 of file snow_dwt.c.
Referenced by ff_dwt_init(), and spatial_compose97i_dy().
Definition at line 498 of file snow_dwt.c.
Referenced by spatial_compose97i_dy(), and spatial_compose97i_dy_buffered().
Definition at line 507 of file snow_dwt.c.
Referenced by spatial_compose97i_dy(), and spatial_compose97i_dy_buffered().
Definition at line 516 of file snow_dwt.c.
Referenced by spatial_compose97i_dy(), and spatial_compose97i_dy_buffered().
Definition at line 525 of file snow_dwt.c.
Referenced by spatial_compose97i_dy(), and spatial_compose97i_dy_buffered().
void ff_snow_vertical_compose97i | ( | IDWTELEM * | b0, |
IDWTELEM * | b1, | ||
IDWTELEM * | b2, | ||
IDWTELEM * | b3, | ||
IDWTELEM * | b4, | ||
IDWTELEM * | b5, | ||
int | width | ||
) |
Definition at line 534 of file snow_dwt.c.
Referenced by ff_dwt_init().
|
static |
Definition at line 548 of file snow_dwt.c.
Referenced by ff_spatial_idwt_buffered_init().
|
static |
Definition at line 558 of file snow_dwt.c.
Referenced by ff_spatial_idwt_init().
|
static |
Definition at line 568 of file snow_dwt.c.
Referenced by ff_spatial_idwt_buffered_slice().
|
static |
Definition at line 611 of file snow_dwt.c.
Referenced by ff_spatial_idwt_slice().
void ff_spatial_idwt_buffered_init | ( | DWTCompose * | cs, |
slice_buffer * | sb, | ||
int | width, | ||
int | height, | ||
int | stride_line, | ||
int | type, | ||
int | decomposition_count | ||
) |
Definition at line 644 of file snow_dwt.c.
Referenced by decode_frame().
void ff_spatial_idwt_buffered_slice | ( | SnowDWTContext * | dsp, |
DWTCompose * | cs, | ||
slice_buffer * | slice_buf, | ||
IDWTELEM * | temp, | ||
int | width, | ||
int | height, | ||
int | stride_line, | ||
int | type, | ||
int | decomposition_count, | ||
int | y | ||
) |
Definition at line 663 of file snow_dwt.c.
Referenced by decode_frame().
|
static |
Definition at line 692 of file snow_dwt.c.
Referenced by ff_spatial_idwt().
|
static |
Definition at line 711 of file snow_dwt.c.
Referenced by ff_spatial_idwt().
void ff_spatial_idwt | ( | IDWTELEM * | buffer, |
IDWTELEM * | temp, | ||
int | width, | ||
int | height, | ||
int | stride, | ||
int | type, | ||
int | decomposition_count | ||
) |
Definition at line 736 of file snow_dwt.c.
Referenced by calculate_visual_weight(), and encode_frame().
|
inlinestatic |
Definition at line 748 of file snow_dwt.c.
Referenced by ff_w53_32_c(), ff_w97_32_c(), w53_16_c(), w53_8_c(), w97_16_c(), and w97_8_c().
Definition at line 817 of file snow_dwt.c.
Referenced by ff_dsputil_init_dwt().
Definition at line 822 of file snow_dwt.c.
Referenced by ff_dsputil_init_dwt().
Definition at line 827 of file snow_dwt.c.
Referenced by ff_dsputil_init_dwt().
Definition at line 832 of file snow_dwt.c.
Referenced by ff_dsputil_init_dwt().
Definition at line 837 of file snow_dwt.c.
Referenced by get_block_rd().
Definition at line 842 of file snow_dwt.c.
Referenced by get_block_rd().
void ff_dsputil_init_dwt | ( | DSPContext * | c | ) |
Definition at line 847 of file snow_dwt.c.
Referenced by ff_dsputil_init().
void ff_dwt_init | ( | SnowDWTContext * | c | ) |
Definition at line 855 of file snow_dwt.c.
Referenced by mca().