FFmpeg
 All Data Structures 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 "dsputil.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)
 
int ff_spatial_idwt2 (IDWTELEM *buffer, int width, int height, int stride, enum dwt_type type, int decomposition_count, IDWTELEM *temp)
 

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 40 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 60 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 75 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 94 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 116 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 129 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 134 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 139 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 160 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 185 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 194 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 204 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 214 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 224 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 233 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 242 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 251 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 260 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 269 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 279 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 303 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 326 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 351 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 367 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 392 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 421 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 430 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 437 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 448 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 461 of file dirac_dwt.c.

Referenced by dirac_decode_frame_internal(), and ff_spatial_idwt2().

void ff_spatial_idwt_slice2 ( DWTContext d,
int  y 
)

Definition at line 558 of file dirac_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 572 of file dirac_dwt.c.