FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dwt.c File Reference
#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.

Macros

#define LIFT(src, ref, inv)   ((src) + ((inv) ? -(ref) : +(ref)))
 
#define LIFTS(src, ref, inv)
 

Functions

int ff_slice_buffer_init (slice_buffer *buf, int line_count, int max_allocated_lines, int line_width, IDWTELEM *base_buffer)
 
IDWTELEMff_slice_buffer_load_line (slice_buffer *buf, int line)
 
void ff_slice_buffer_release (slice_buffer *buf, int line)
 
void ff_slice_buffer_flush (slice_buffer *buf)
 
void ff_slice_buffer_destroy (slice_buffer *buf)
 
static int mirror (int v, int m)
 
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 av_always_inline void liftS (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 void horizontal_decompose53i (DWTELEM *b, DWTELEM *temp, int width)
 
static void vertical_decompose53iH0 (DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, int width)
 
static void vertical_decompose53iL0 (DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, int width)
 
static void spatial_decompose53i (DWTELEM *buffer, DWTELEM *temp, int width, int height, int stride)
 
static void horizontal_decompose97i (DWTELEM *b, DWTELEM *temp, int width)
 
static void vertical_decompose97iH0 (DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, int width)
 
static void vertical_decompose97iH1 (DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, int width)
 
static void vertical_decompose97iL0 (DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, int width)
 
static void vertical_decompose97iL1 (DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, int width)
 
static void spatial_decompose97i (DWTELEM *buffer, DWTELEM *temp, int width, int height, int stride)
 
void ff_spatial_dwt (DWTELEM *buffer, DWTELEM *temp, int width, int height, int stride, int type, int decomposition_count)
 
static void horizontal_compose53i (IDWTELEM *b, IDWTELEM *temp, int width)
 
static void vertical_compose53iH0 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, int width)
 
static void vertical_compose53iL0 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, int width)
 
static void spatial_compose53i_buffered_init (DWTCompose *cs, slice_buffer *sb, int height, int stride_line)
 
static void spatial_compose53i_init (DWTCompose *cs, IDWTELEM *buffer, int height, int stride)
 
static void spatial_compose53i_dy_buffered (DWTCompose *cs, slice_buffer *sb, IDWTELEM *temp, int width, int height, int stride_line)
 
static void spatial_compose53i_dy (DWTCompose *cs, IDWTELEM *buffer, IDWTELEM *temp, int width, int height, int stride)
 
void ff_snow_horizontal_compose97i (IDWTELEM *b, IDWTELEM *temp, int width)
 
static void vertical_compose97iH0 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, int width)
 
static void vertical_compose97iH1 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, int width)
 
static void vertical_compose97iL0 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, int width)
 
static void vertical_compose97iL1 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, int width)
 
void ff_snow_vertical_compose97i (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, IDWTELEM *b3, IDWTELEM *b4, IDWTELEM *b5, int width)
 
static void spatial_compose97i_buffered_init (DWTCompose *cs, slice_buffer *sb, int height, int stride_line)
 
static void spatial_compose97i_init (DWTCompose *cs, IDWTELEM *buffer, int height, int stride)
 
static void spatial_compose97i_dy_buffered (DWTContext *dsp, DWTCompose *cs, slice_buffer *sb, IDWTELEM *temp, int width, int height, int stride_line)
 
static void spatial_compose97i_dy (DWTCompose *cs, IDWTELEM *buffer, IDWTELEM *temp, int width, int height, int stride)
 
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)
 
static void ff_spatial_idwt_init (DWTCompose *cs, IDWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count)
 
static void ff_spatial_idwt_slice (DWTCompose *cs, IDWTELEM *buffer, IDWTELEM *temp, int width, int height, int stride, int type, int decomposition_count, int y)
 
void ff_spatial_idwt (IDWTELEM *buffer, IDWTELEM *temp, int width, int height, int stride, int type, int decomposition_count)
 
static int w_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int w, int h, int type)
 
static int w53_8_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h)
 
static int w97_8_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h)
 
static int w53_16_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h)
 
static int w97_16_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h)
 
int ff_w53_32_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h)
 
int ff_w97_32_c (void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h)
 
void ff_dsputil_init_dwt (DSPContext *c)
 
void ff_dwt_init (DWTContext *c)
 
static av_always_inline void interleave (IDWTELEM *dst, IDWTELEM *src0, IDWTELEM *src1, int w2, int add, int shift)
 
static void horizontal_compose_dirac53i (IDWTELEM *b, IDWTELEM *temp, int w)
 
static void horizontal_compose_dd97i (IDWTELEM *b, IDWTELEM *tmp, int w)
 
static void horizontal_compose_dd137i (IDWTELEM *b, IDWTELEM *tmp, int w)
 
static av_always_inline void horizontal_compose_haari (IDWTELEM *b, IDWTELEM *temp, int w, int shift)
 
static void horizontal_compose_haar0i (IDWTELEM *b, IDWTELEM *temp, int w)
 
static void horizontal_compose_haar1i (IDWTELEM *b, IDWTELEM *temp, int w)
 
static void horizontal_compose_fidelityi (IDWTELEM *b, IDWTELEM *tmp, int w)
 
static void horizontal_compose_daub97i (IDWTELEM *b, IDWTELEM *temp, int w)
 
static void vertical_compose_dirac53iH0 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, int width)
 
static void vertical_compose_dd97iH0 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, IDWTELEM *b3, IDWTELEM *b4, int width)
 
static void vertical_compose_dd137iL0 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, IDWTELEM *b3, IDWTELEM *b4, int width)
 
static void vertical_compose_haar (IDWTELEM *b0, IDWTELEM *b1, int width)
 
static void vertical_compose_fidelityiH0 (IDWTELEM *dst, IDWTELEM *b[8], int width)
 
static void vertical_compose_fidelityiL0 (IDWTELEM *dst, IDWTELEM *b[8], int width)
 
static void vertical_compose_daub97iH0 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, int width)
 
static void vertical_compose_daub97iH1 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, int width)
 
static void vertical_compose_daub97iL0 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, int width)
 
static void vertical_compose_daub97iL1 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, int width)
 
static void spatial_compose_dd97i_dy (DWTContext *d, int level, int width, int height, int stride)
 
static void spatial_compose_dirac53i_dy (DWTContext *d, int level, int width, int height, int stride)
 
static void spatial_compose_dd137i_dy (DWTContext *d, int level, int width, int height, int stride)
 
static void spatial_compose_haari_dy (DWTContext *d, int level, int width, int height, int stride)
 
static void spatial_compose_fidelity (DWTContext *d, int level, int width, int height, int stride)
 
static void spatial_compose_daub97i_dy (DWTContext *d, int level, int width, int height, int stride)
 
static void spatial_compose97i_init2 (DWTCompose *cs, IDWTELEM *buffer, int height, int stride)
 
static void spatial_compose53i_init2 (DWTCompose *cs, IDWTELEM *buffer, int height, int stride)
 
static void spatial_compose_dd97i_init (DWTCompose *cs, IDWTELEM *buffer, int height, int stride)
 
static void spatial_compose_dd137i_init (DWTCompose *cs, IDWTELEM *buffer, int height, int stride)
 
int ff_spatial_idwt_init2 (DWTContext *d, IDWTELEM *buffer, int width, int height, int stride, enum dwt_type type, int decomposition_count, IDWTELEM *temp)
 
void ff_spatial_idwt_slice2 (DWTContext *d, int y)
 
int ff_spatial_idwt2 (IDWTELEM *buffer, int width, int height, int stride, enum dwt_type type, int decomposition_count, IDWTELEM *temp)
 

Macro Definition Documentation

#define LIFT (   src,
  ref,
  inv 
)    ((src) + ((inv) ? -(ref) : +(ref)))

Referenced by lift().

#define LIFTS (   src,
  ref,
  inv 
)
Value:
((inv) ? (src) + (((ref) + 4 * (src)) >> shift) \
: -((-16 * (src) + (ref) + add / \
4 + 1 + (5 << 25)) / (5 * 4) - (1 << 23)))

Referenced by liftS().

Function Documentation

int ff_slice_buffer_init ( slice_buffer buf,
int  line_count,
int  max_allocated_lines,
int  line_width,
IDWTELEM base_buffer 
)

Definition at line 29 of file dwt.c.

Referenced by decode_frame().

IDWTELEM* ff_slice_buffer_load_line ( slice_buffer buf,
int  line 
)

Definition at line 63 of file dwt.c.

void ff_slice_buffer_release ( slice_buffer buf,
int  line 
)

Definition at line 79 of file dwt.c.

Referenced by decode_frame(), and ff_slice_buffer_flush().

void ff_slice_buffer_flush ( slice_buffer buf)

Definition at line 92 of file dwt.c.

Referenced by decode_frame(), and ff_slice_buffer_destroy().

void ff_slice_buffer_destroy ( slice_buffer buf)

Definition at line 100 of file dwt.c.

Referenced by decode_end(), and decode_frame().

static int mirror ( int  v,
int  m 
)
inlinestatic
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().

static av_always_inline void liftS ( 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 151 of file dwt.c.

Referenced by horizontal_decompose97i().

static void horizontal_decompose53i ( DWTELEM b,
DWTELEM temp,
int  width 
)
static

Definition at line 184 of file dwt.c.

Referenced by spatial_decompose53i().

static void vertical_decompose53iH0 ( DWTELEM b0,
DWTELEM b1,
DWTELEM b2,
int  width 
)
static

Definition at line 200 of file dwt.c.

Referenced by spatial_decompose53i().

static void vertical_decompose53iL0 ( DWTELEM b0,
DWTELEM b1,
DWTELEM b2,
int  width 
)
static

Definition at line 209 of file dwt.c.

Referenced by spatial_decompose53i().

static void spatial_decompose53i ( DWTELEM buffer,
DWTELEM temp,
int  width,
int  height,
int  stride 
)
static

Definition at line 218 of file dwt.c.

Referenced by ff_spatial_dwt().

static void horizontal_decompose97i ( DWTELEM b,
DWTELEM temp,
int  width 
)
static

Definition at line 244 of file dwt.c.

Referenced by spatial_decompose97i().

static void vertical_decompose97iH0 ( DWTELEM b0,
DWTELEM b1,
DWTELEM b2,
int  width 
)
static

Definition at line 254 of file dwt.c.

Referenced by spatial_decompose97i().

static void vertical_decompose97iH1 ( DWTELEM b0,
DWTELEM b1,
DWTELEM b2,
int  width 
)
static

Definition at line 263 of file dwt.c.

Referenced by spatial_decompose97i().

static void vertical_decompose97iL0 ( DWTELEM b0,
DWTELEM b1,
DWTELEM b2,
int  width 
)
static

Definition at line 272 of file dwt.c.

Referenced by spatial_decompose97i().

static void vertical_decompose97iL1 ( DWTELEM b0,
DWTELEM b1,
DWTELEM b2,
int  width 
)
static

Definition at line 282 of file dwt.c.

Referenced by spatial_decompose97i().

static void spatial_decompose97i ( DWTELEM buffer,
DWTELEM temp,
int  width,
int  height,
int  stride 
)
static

Definition at line 291 of file 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 325 of file dwt.c.

Referenced by encode_frame(), and w_c().

static void horizontal_compose53i ( IDWTELEM b,
IDWTELEM temp,
int  width 
)
static

Definition at line 346 of file dwt.c.

Referenced by spatial_compose53i_dy(), and spatial_compose53i_dy_buffered().

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
static void spatial_compose53i_buffered_init ( DWTCompose cs,
slice_buffer sb,
int  height,
int  stride_line 
)
static

Definition at line 389 of file dwt.c.

Referenced by ff_spatial_idwt_buffered_init().

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().

static void spatial_compose53i_dy_buffered ( DWTCompose cs,
slice_buffer sb,
IDWTELEM temp,
int  width,
int  height,
int  stride_line 
)
static

Definition at line 406 of file dwt.c.

Referenced by ff_spatial_idwt_buffered_slice().

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().

void ff_snow_horizontal_compose97i ( IDWTELEM b,
IDWTELEM temp,
int  width 
)

Definition at line 471 of file dwt.c.

Referenced by ff_dwt_init(), and spatial_compose97i_dy().

static void vertical_compose97iH0 ( IDWTELEM b0,
IDWTELEM b1,
IDWTELEM b2,
int  width 
)
static

Definition at line 499 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 508 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 517 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 526 of file 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 535 of file dwt.c.

Referenced by ff_dwt_init().

static void spatial_compose97i_buffered_init ( DWTCompose cs,
slice_buffer sb,
int  height,
int  stride_line 
)
static

Definition at line 549 of file dwt.c.

Referenced by ff_spatial_idwt_buffered_init().

static void spatial_compose97i_init ( DWTCompose cs,
IDWTELEM buffer,
int  height,
int  stride 
)
static

Definition at line 559 of file dwt.c.

Referenced by ff_spatial_idwt_init().

static void spatial_compose97i_dy_buffered ( DWTContext dsp,
DWTCompose cs,
slice_buffer sb,
IDWTELEM temp,
int  width,
int  height,
int  stride_line 
)
static

Definition at line 569 of file dwt.c.

Referenced by ff_spatial_idwt_buffered_slice().

static void spatial_compose97i_dy ( DWTCompose cs,
IDWTELEM buffer,
IDWTELEM temp,
int  width,
int  height,
int  stride 
)
static

Definition at line 612 of file 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 645 of file dwt.c.

Referenced by decode_frame().

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 
)

Definition at line 664 of file dwt.c.

Referenced by decode_frame().

static void ff_spatial_idwt_init ( DWTCompose cs,
IDWTELEM buffer,
int  width,
int  height,
int  stride,
int  type,
int  decomposition_count 
)
static

Definition at line 693 of file dwt.c.

Referenced by ff_spatial_idwt().

static void ff_spatial_idwt_slice ( DWTCompose cs,
IDWTELEM buffer,
IDWTELEM temp,
int  width,
int  height,
int  stride,
int  type,
int  decomposition_count,
int  y 
)
static

Definition at line 712 of file 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 737 of file dwt.c.

Referenced by calculate_visual_weight(), and encode_frame().

static int w_c ( void v,
uint8_t pix1,
uint8_t pix2,
int  line_size,
int  w,
int  h,
int  type 
)
inlinestatic

Definition at line 749 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().

static int w53_8_c ( void v,
uint8_t pix1,
uint8_t pix2,
int  line_size,
int  h 
)
static

Definition at line 818 of file dwt.c.

Referenced by ff_dsputil_init_dwt().

static int w97_8_c ( void v,
uint8_t pix1,
uint8_t pix2,
int  line_size,
int  h 
)
static

Definition at line 823 of file dwt.c.

Referenced by ff_dsputil_init_dwt().

static int w53_16_c ( void v,
uint8_t pix1,
uint8_t pix2,
int  line_size,
int  h 
)
static

Definition at line 828 of file dwt.c.

Referenced by ff_dsputil_init_dwt().

static int w97_16_c ( void v,
uint8_t pix1,
uint8_t pix2,
int  line_size,
int  h 
)
static

Definition at line 833 of file dwt.c.

Referenced by ff_dsputil_init_dwt().

int ff_w53_32_c ( void v,
uint8_t pix1,
uint8_t pix2,
int  line_size,
int  h 
)

Definition at line 838 of file dwt.c.

Referenced by get_block_rd().

int ff_w97_32_c ( void v,
uint8_t pix1,
uint8_t pix2,
int  line_size,
int  h 
)

Definition at line 843 of file dwt.c.

Referenced by get_block_rd().

void ff_dsputil_init_dwt ( DSPContext c)

Definition at line 848 of file dwt.c.

Referenced by ff_dsputil_init().

void ff_dwt_init ( DWTContext c)

Definition at line 856 of file dwt.c.

Referenced by mca().

static av_always_inline void interleave ( IDWTELEM dst,
IDWTELEM src0,
IDWTELEM src1,
int  w2,
int  add,
int  shift 
)
static
static void horizontal_compose_dirac53i ( IDWTELEM b,
IDWTELEM temp,
int  w 
)
static

Definition at line 877 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void horizontal_compose_dd97i ( IDWTELEM b,
IDWTELEM tmp,
int  w 
)
static

Definition at line 892 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void horizontal_compose_dd137i ( IDWTELEM b,
IDWTELEM tmp,
int  w 
)
static

Definition at line 911 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static av_always_inline void horizontal_compose_haari ( IDWTELEM b,
IDWTELEM temp,
int  w,
int  shift 
)
static

Definition at line 933 of file dwt.c.

Referenced by horizontal_compose_haar0i(), and horizontal_compose_haar1i().

static void horizontal_compose_haar0i ( IDWTELEM b,
IDWTELEM temp,
int  w 
)
static

Definition at line 946 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void horizontal_compose_haar1i ( IDWTELEM b,
IDWTELEM temp,
int  w 
)
static

Definition at line 951 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void horizontal_compose_fidelityi ( IDWTELEM b,
IDWTELEM tmp,
int  w 
)
static

Definition at line 956 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void horizontal_compose_daub97i ( IDWTELEM b,
IDWTELEM temp,
int  w 
)
static

Definition at line 977 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void vertical_compose_dirac53iH0 ( IDWTELEM b0,
IDWTELEM b1,
IDWTELEM b2,
int  width 
)
static

Definition at line 1002 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void vertical_compose_dd97iH0 ( IDWTELEM b0,
IDWTELEM b1,
IDWTELEM b2,
IDWTELEM b3,
IDWTELEM b4,
int  width 
)
static

Definition at line 1011 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void vertical_compose_dd137iL0 ( IDWTELEM b0,
IDWTELEM b1,
IDWTELEM b2,
IDWTELEM b3,
IDWTELEM b4,
int  width 
)
static

Definition at line 1021 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void vertical_compose_haar ( IDWTELEM b0,
IDWTELEM b1,
int  width 
)
static

Definition at line 1031 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void vertical_compose_fidelityiH0 ( IDWTELEM dst,
IDWTELEM b[8],
int  width 
)
static

Definition at line 1041 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void vertical_compose_fidelityiL0 ( IDWTELEM dst,
IDWTELEM b[8],
int  width 
)
static

Definition at line 1050 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void vertical_compose_daub97iH0 ( IDWTELEM b0,
IDWTELEM b1,
IDWTELEM b2,
int  width 
)
static

Definition at line 1059 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void vertical_compose_daub97iH1 ( IDWTELEM b0,
IDWTELEM b1,
IDWTELEM b2,
int  width 
)
static

Definition at line 1068 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void vertical_compose_daub97iL0 ( IDWTELEM b0,
IDWTELEM b1,
IDWTELEM b2,
int  width 
)
static

Definition at line 1077 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void vertical_compose_daub97iL1 ( IDWTELEM b0,
IDWTELEM b1,
IDWTELEM b2,
int  width 
)
static

Definition at line 1086 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void spatial_compose_dd97i_dy ( DWTContext d,
int  level,
int  width,
int  height,
int  stride 
)
static

Definition at line 1096 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void spatial_compose_dirac53i_dy ( DWTContext d,
int  level,
int  width,
int  height,
int  stride 
)
static

Definition at line 1120 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void spatial_compose_dd137i_dy ( DWTContext d,
int  level,
int  width,
int  height,
int  stride 
)
static

Definition at line 1143 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void spatial_compose_haari_dy ( DWTContext d,
int  level,
int  width,
int  height,
int  stride 
)
static

Definition at line 1168 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void spatial_compose_fidelity ( DWTContext d,
int  level,
int  width,
int  height,
int  stride 
)
static

Definition at line 1184 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void spatial_compose_daub97i_dy ( DWTContext d,
int  level,
int  width,
int  height,
int  stride 
)
static

Definition at line 1209 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void spatial_compose97i_init2 ( DWTCompose cs,
IDWTELEM buffer,
int  height,
int  stride 
)
static

Definition at line 1238 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void spatial_compose53i_init2 ( DWTCompose cs,
IDWTELEM buffer,
int  height,
int  stride 
)
static

Definition at line 1247 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void spatial_compose_dd97i_init ( DWTCompose cs,
IDWTELEM buffer,
int  height,
int  stride 
)
static

Definition at line 1254 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

static void spatial_compose_dd137i_init ( DWTCompose cs,
IDWTELEM buffer,
int  height,
int  stride 
)
static

Definition at line 1265 of file dwt.c.

Referenced by ff_spatial_idwt_init2().

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 1278 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 1375 of file dwt.c.

Referenced by dirac_decode_frame_internal(), and ff_spatial_idwt2().

int ff_spatial_idwt2 ( IDWTELEM buffer,
int  width,
int  height,
int  stride,
enum dwt_type  type,
int  decomposition_count,
IDWTELEM temp 
)

Definition at line 1389 of file dwt.c.