Revision 05aec7bb libavcodec/dsputil.h

View differences:

libavcodec/dsputil.h
37 37
//#define DEBUG
38 38
/* dct code */
39 39
typedef short DCTELEM;
40
typedef int DWTELEM;
41
typedef short IDWTELEM;
42 40

  
43 41
void fdct_ifast (DCTELEM *data);
44 42
void fdct_ifast248 (DCTELEM *data);
......
185 183
// although currently h<4 is not used as functions with width <8 are neither used nor implemented
186 184
typedef int (*me_cmp_func)(void /*MpegEncContext*/ *s, uint8_t *blk1/*align width (8 or 16)*/, uint8_t *blk2/*align 1*/, int line_size, int h)/* __attribute__ ((const))*/;
187 185

  
188

  
189
// for snow slices
190
typedef struct slice_buffer_s slice_buffer;
191

  
192 186
/**
193 187
 * Scantable.
194 188
 */
......
538 532
    void (*h264_idct_add8)(uint8_t **dst/*align 16*/, const int *blockoffset, DCTELEM *block/*align 16*/, int stride, const uint8_t nnzc[6*8]);
539 533
    void (*h264_idct_add16intra)(uint8_t *dst/*align 16*/, const int *blockoffset, DCTELEM *block/*align 16*/, int stride, const uint8_t nnzc[6*8]);
540 534

  
541
    /* snow wavelet */
542
    void (*vertical_compose97i)(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, IDWTELEM *b3, IDWTELEM *b4, IDWTELEM *b5, int width);
543
    void (*horizontal_compose97i)(IDWTELEM *b, int width);
544
    void (*inner_add_yblock)(const uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h, int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8);
545

  
546 535
    void (*prefetch)(void *mem, int stride, int h);
547 536

  
548 537
    void (*shrink[4])(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
......
681 670
void dsputil_init_sh4(DSPContext* c, AVCodecContext *avctx);
682 671
void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx);
683 672

  
673
void ff_dsputil_init_dwt(DSPContext *c);
684 674
void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx);
685 675
void ff_rv30dsp_init(DSPContext* c, AVCodecContext *avctx);
686 676
void ff_rv40dsp_init(DSPContext* c, AVCodecContext *avctx);

Also available in: Unified diff