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

Definition at line 39 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 59 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 74 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 93 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 115 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 128 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 133 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 138 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 159 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 184 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 193 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 203 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 213 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 223 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 232 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 241 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 250 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 259 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 268 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 278 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 302 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 325 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 350 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 366 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 391 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 420 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 429 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 436 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 447 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 460 of file dirac_dwt.c.

Referenced by dirac_decode_frame_internal().

void ff_spatial_idwt_slice2 ( DWTContext d,
int  y 
)

Definition at line 558 of file dirac_dwt.c.

Referenced by dirac_decode_frame_internal().