FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
dirac_dwt.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "dirac_dwt.h"
#include "libavcodec/x86/dirac_dwt.h"

Go to the source code of this file.

Functions

static void vertical_compose53iL0 (IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, int width)
 
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)
 

Function Documentation

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

Definition at line 29 of file dirac_dwt.c.

Referenced by ff_spatial_idwt_init2().

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 49 of file dirac_dwt.c.

Referenced by ff_spatial_idwt_init2().

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

Definition at line 64 of file dirac_dwt.c.

Referenced by ff_spatial_idwt_init2().

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

Definition at line 83 of file dirac_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 105 of file dirac_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 118 of file dirac_dwt.c.

Referenced by ff_spatial_idwt_init2().

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

Definition at line 123 of file dirac_dwt.c.

Referenced by ff_spatial_idwt_init2().

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

Definition at line 128 of file dirac_dwt.c.

Referenced by ff_spatial_idwt_init2().

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

Definition at line 149 of file dirac_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 174 of file dirac_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 183 of file dirac_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 193 of file dirac_dwt.c.

Referenced by ff_spatial_idwt_init2().

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

Definition at line 203 of file dirac_dwt.c.

Referenced by ff_spatial_idwt_init2().

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

Definition at line 213 of file dirac_dwt.c.

Referenced by ff_spatial_idwt_init2().

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

Definition at line 222 of file dirac_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 231 of file dirac_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 240 of file dirac_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 249 of file dirac_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 258 of file dirac_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 268 of file dirac_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 292 of file dirac_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 315 of file dirac_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 340 of file dirac_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 356 of file dirac_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 381 of file dirac_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 410 of file dirac_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 419 of file dirac_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 426 of file dirac_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 437 of file dirac_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 450 of file dirac_dwt.c.

Referenced by dirac_decode_frame_internal().

void ff_spatial_idwt_slice2 ( DWTContext d,
int  y 
)

Definition at line 548 of file dirac_dwt.c.

Referenced by dirac_decode_frame_internal().