#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "dsputil.h"
#include "dwt.h"
#include "libavcodec/x86/dwt.h"
Go to the source code of this file.
#define LIFT | ( | src, | |||
ref, | |||||
inv | ) | ((src) + ((inv) ? -(ref) : +(ref))) |
Referenced by lift().
#define LIFTS | ( | src, | |||
ref, | |||||
inv | ) |
void ff_dsputil_init_dwt | ( | DSPContext * | c | ) |
void ff_dwt_init | ( | DWTContext * | c | ) |
void ff_slice_buffer_destroy | ( | slice_buffer * | buf | ) |
void ff_slice_buffer_flush | ( | slice_buffer * | buf | ) |
IDWTELEM* ff_slice_buffer_load_line | ( | slice_buffer * | buf, | |
int | line | |||
) |
void ff_slice_buffer_release | ( | slice_buffer * | buf, | |
int | line | |||
) |
void ff_spatial_idwt_buffered_init | ( | DWTCompose * | cs, | |
slice_buffer * | sb, | |||
int | width, | |||
int | height, | |||
int | stride_line, | |||
int | type, | |||
int | decomposition_count | |||
) |
void ff_spatial_idwt_buffered_slice | ( | DWTContext * | dsp, | |
DWTCompose * | cs, | |||
slice_buffer * | slice_buf, | |||
IDWTELEM * | temp, | |||
int | width, | |||
int | height, | |||
int | stride_line, | |||
int | type, | |||
int | decomposition_count, | |||
int | y | |||
) |
int ff_spatial_idwt_init2 | ( | DWTContext * | d, | |
IDWTELEM * | buffer, | |||
int | width, | |||
int | height, | |||
int | stride, | |||
enum dwt_type | type, | |||
int | decomposition_count, | |||
IDWTELEM * | temp | |||
) |
Definition at line 1296 of file dwt.c.
Referenced by dirac_decode_frame_internal(), and ff_spatial_idwt2().
void ff_spatial_idwt_slice2 | ( | DWTContext * | d, | |
int | y | |||
) |
Definition at line 1393 of file dwt.c.
Referenced by dirac_decode_frame_internal(), and ff_spatial_idwt2().
Definition at line 346 of file dwt.c.
Referenced by spatial_compose53i_dy(), and spatial_compose53i_dy_buffered().
static av_always_inline void horizontal_compose_haari | ( | IDWTELEM * | b, | |
IDWTELEM * | temp, | |||
int | w, | |||
int | shift | |||
) | [static] |
Definition at line 951 of file dwt.c.
Referenced by horizontal_compose_haar0i(), and horizontal_compose_haar1i().
static av_always_inline void interleave | ( | IDWTELEM * | dst, | |
IDWTELEM * | src0, | |||
IDWTELEM * | src1, | |||
int | w2, | |||
int | add, | |||
int | shift | |||
) | [static] |
Definition at line 886 of file dwt.c.
Referenced by audio_resample(), horizontal_compose_dirac53i(), horizontal_compose_fidelityi(), horizontal_compose_haari(), and put_image().
static av_always_inline void lift | ( | DWTELEM * | dst, | |
DWTELEM * | src, | |||
DWTELEM * | ref, | |||
int | dst_step, | |||
int | src_step, | |||
int | ref_step, | |||
int | width, | |||
int | mul, | |||
int | add, | |||
int | shift, | |||
int | highpass, | |||
int | inverse | |||
) | [static] |
Definition at line 121 of file dwt.c.
Referenced by horizontal_decompose53i(), and horizontal_decompose97i().
Definition at line 111 of file dwt.c.
Referenced by avfilter_transform(), compose(), decompose(), spatial_compose53i_buffered_init(), spatial_compose53i_dy(), spatial_compose53i_dy_buffered(), spatial_compose53i_init(), spatial_compose53i_init2(), spatial_compose97i_buffered_init(), spatial_compose97i_dy(), spatial_compose97i_dy_buffered(), spatial_compose97i_init(), spatial_compose97i_init2(), spatial_compose_daub97i_dy(), spatial_compose_dirac53i_dy(), spatial_decompose53i(), and spatial_decompose97i().
static void spatial_compose53i_buffered_init | ( | DWTCompose * | cs, | |
slice_buffer * | sb, | |||
int | height, | |||
int | stride_line | |||
) | [static] |
static void spatial_compose53i_dy | ( | DWTCompose * | cs, | |
IDWTELEM * | buffer, | |||
IDWTELEM * | temp, | |||
int | width, | |||
int | height, | |||
int | stride | |||
) | [static] |
Definition at line 446 of file dwt.c.
Referenced by ff_spatial_idwt_slice(), and spatial_compose53i().
static void spatial_compose53i_dy_buffered | ( | DWTCompose * | cs, | |
slice_buffer * | sb, | |||
IDWTELEM * | temp, | |||
int | width, | |||
int | height, | |||
int | stride_line | |||
) | [static] |
static void spatial_compose53i_init | ( | DWTCompose * | cs, | |
IDWTELEM * | buffer, | |||
int | height, | |||
int | stride | |||
) | [static] |
Definition at line 398 of file dwt.c.
Referenced by ff_spatial_idwt_init(), and spatial_compose53i().
static void spatial_compose53i_init2 | ( | DWTCompose * | cs, | |
IDWTELEM * | buffer, | |||
int | height, | |||
int | stride | |||
) | [static] |
static void spatial_compose97i_buffered_init | ( | DWTCompose * | cs, | |
slice_buffer * | sb, | |||
int | height, | |||
int | stride_line | |||
) | [static] |
static void spatial_compose97i_dy | ( | DWTCompose * | cs, | |
IDWTELEM * | buffer, | |||
IDWTELEM * | temp, | |||
int | width, | |||
int | height, | |||
int | stride | |||
) | [static] |
Definition at line 621 of file dwt.c.
Referenced by ff_spatial_idwt_slice(), and spatial_compose97i().
static void spatial_compose97i_dy_buffered | ( | DWTContext * | dsp, | |
DWTCompose * | cs, | |||
slice_buffer * | sb, | |||
IDWTELEM * | temp, | |||
int | width, | |||
int | height, | |||
int | stride_line | |||
) | [static] |
static void spatial_compose97i_init | ( | DWTCompose * | cs, | |
IDWTELEM * | buffer, | |||
int | height, | |||
int | stride | |||
) | [static] |
Definition at line 568 of file dwt.c.
Referenced by ff_spatial_idwt_init(), and spatial_compose97i().
static void spatial_compose97i_init2 | ( | DWTCompose * | cs, | |
IDWTELEM * | buffer, | |||
int | height, | |||
int | stride | |||
) | [static] |
static void spatial_compose_daub97i_dy | ( | DWTContext * | d, | |
int | level, | |||
int | width, | |||
int | height, | |||
int | stride | |||
) | [static] |
static void spatial_compose_dd137i_dy | ( | DWTContext * | d, | |
int | level, | |||
int | width, | |||
int | height, | |||
int | stride | |||
) | [static] |
static void spatial_compose_dd137i_init | ( | DWTCompose * | cs, | |
IDWTELEM * | buffer, | |||
int | height, | |||
int | stride | |||
) | [static] |
static void spatial_compose_dd97i_dy | ( | DWTContext * | d, | |
int | level, | |||
int | width, | |||
int | height, | |||
int | stride | |||
) | [static] |
static void spatial_compose_dd97i_init | ( | DWTCompose * | cs, | |
IDWTELEM * | buffer, | |||
int | height, | |||
int | stride | |||
) | [static] |
static void spatial_compose_dirac53i_dy | ( | DWTContext * | d, | |
int | level, | |||
int | width, | |||
int | height, | |||
int | stride | |||
) | [static] |
static void spatial_compose_fidelity | ( | DWTContext * | d, | |
int | level, | |||
int | width, | |||
int | height, | |||
int | stride | |||
) | [static] |
static void spatial_compose_haari_dy | ( | DWTContext * | d, | |
int | level, | |||
int | width, | |||
int | height, | |||
int | stride | |||
) | [static] |
static void vertical_compose53iH0 | ( | IDWTELEM * | b0, | |
IDWTELEM * | b1, | |||
IDWTELEM * | b2, | |||
int | width | |||
) | [static] |
Definition at line 371 of file dwt.c.
Referenced by spatial_compose53i_dy(), and spatial_compose53i_dy_buffered().
static void vertical_compose53iL0 | ( | IDWTELEM * | b0, | |
IDWTELEM * | b1, | |||
IDWTELEM * | b2, | |||
int | width | |||
) | [static] |
Definition at line 380 of file dwt.c.
Referenced by ff_spatial_idwt_init2(), spatial_compose53i_dy(), and spatial_compose53i_dy_buffered().
static void vertical_compose97iH0 | ( | IDWTELEM * | b0, | |
IDWTELEM * | b1, | |||
IDWTELEM * | b2, | |||
int | width | |||
) | [static] |
Definition at line 508 of file dwt.c.
Referenced by spatial_compose97i_dy(), and spatial_compose97i_dy_buffered().
static void vertical_compose97iH1 | ( | IDWTELEM * | b0, | |
IDWTELEM * | b1, | |||
IDWTELEM * | b2, | |||
int | width | |||
) | [static] |
Definition at line 517 of file dwt.c.
Referenced by spatial_compose97i_dy(), and spatial_compose97i_dy_buffered().
static void vertical_compose97iL0 | ( | IDWTELEM * | b0, | |
IDWTELEM * | b1, | |||
IDWTELEM * | b2, | |||
int | width | |||
) | [static] |
Definition at line 526 of file dwt.c.
Referenced by spatial_compose97i_dy(), and spatial_compose97i_dy_buffered().
static void vertical_compose97iL1 | ( | IDWTELEM * | b0, | |
IDWTELEM * | b1, | |||
IDWTELEM * | b2, | |||
int | width | |||
) | [static] |
Definition at line 535 of file dwt.c.
Referenced by spatial_compose97i_dy(), and spatial_compose97i_dy_buffered().
static int w_c | ( | void * | v, | |
uint8_t * | pix1, | |||
uint8_t * | pix2, | |||
int | line_size, | |||
int | w, | |||
int | h, | |||
int | type | |||
) | [inline, static] |
Definition at line 767 of file 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().