transform.h
上传用户:hjq518
上传日期:2021-12-09
资源大小:5084k
文件大小:1k
源码类别:

Audio

开发平台:

Visual C++

  1. /*!
  2.  ***************************************************************************
  3.  *
  4.  * file transform.h
  5.  *
  6.  * brief
  7. *    prototypes of transform functions
  8.   *
  9.  * date
  10.  *    10 July 2007
  11.  *
  12.  * author
  13.  *    Main contributors (see contributors.h for copyright, address and affiliation details)
  14.  *    Alexis Michael Tourapis
  15.  **************************************************************************/
  16. #ifndef _TRANSFORM_H_
  17. #define _TRANSFORM_H_
  18. void forward4x4   (int (*block) [16], int (*tblock)[16], int pos_y, int pos_x);
  19. void inverse4x4   (int (*tblock)[16], int (*block )[16], int pos_y, int pos_x);
  20. void forward8x8   (int (*block) [16], int (*tblock)[16], int pos_y, int pos_x);
  21. void inverse8x8   (int (*tblock)[16], int (*block )[16], int pos_y, int pos_x);
  22. void hadamard4x4  (int (*block) [ 4], int (*tblock)[ 4]);
  23. void ihadamard4x4 (int (*tblock)[ 4], int (*block) [ 4]);
  24. void hadamard4x2  (int (*block) [ 4], int (*tblock)[ 4]);
  25. void ihadamard4x2 (int (*tblock)[ 4], int (*block) [ 4]);
  26. void hadamard2x2  (int (*block)[16], int tblock[4]);
  27. void ihadamard2x2 (int block[4], int tblock[4]);
  28. #endif //_TRANSFORM_H_