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

Audio

开发平台:

Visual C++

  1. /*!
  2.  ***************************************************************************
  3.  * file
  4.  *    wp.h
  5.  *
  6.  * author
  7.  *    Alexis Michael Tourapis
  8.  *
  9.  * date
  10.  *    22. February 2008
  11.  *
  12.  * brief
  13.  *    Headerfile for weighted prediction support
  14.  **************************************************************************
  15.  */
  16. #ifndef _WP_H_
  17. #define _WP_H_
  18. #include "wp_lms.h"
  19. #include "wp_mcprec.h"
  20. #define DEBUG_WP  0
  21. void InitWP(InputParameters *params);
  22. void (*EstimateWPBSlice) (ImageParameters *img, InputParameters *params);
  23. void (*EstimateWPPSlice) (ImageParameters *img, InputParameters *params, int offset);
  24. int  (*TestWPPSlice)     (ImageParameters *img, InputParameters *params, int offset);
  25. int  (*TestWPBSlice)     (ImageParameters *img, InputParameters *params, int method);
  26. void EstimateWPBSliceAlg0(ImageParameters *img, InputParameters *params);
  27. void EstimateWPPSliceAlg0(ImageParameters *img, InputParameters *params, int offset);
  28. int  TestWPPSliceAlg0    (ImageParameters *img, InputParameters *params, int offset);
  29. int  TestWPBSliceAlg0    (ImageParameters *img, InputParameters *params, int method);
  30. double ComputeImgSum     (imgpel **CurrentImage, int height, int width);
  31. #endif