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

Audio

开发平台:

Visual C++

  1. /*!
  2.  ************************************************************************
  3.  * file img_distortion.h
  4.  *
  5.  * brief
  6.  *    Distortion related definitions
  7.  *
  8.  * author
  9.  *    Main contributors (see contributors.h for copyright, address and affiliation details)
  10.  *     - Alexis Michael Tourapis         <alexismt@ieee.org>
  11.  *     - Woo-Shik Kim                    <wooshik.kim@usc.edu>
  12.  *
  13.  ************************************************************************
  14.  */
  15. #ifndef _IMG_DISTORTION_H_
  16. #define _IMG_DISTORTION_H_
  17. typedef struct
  18. {  
  19.   FrameFormat format;      //!< ImageStructure format Information
  20.   imgpel **data[3];        //!< ImageStructure pixel data
  21. } ImageStructure;
  22. void accumulate_avslice(DistMetric metric[3], int slice_type, int frames);
  23. void accumulate_average(DistMetric metric[3], int frames);
  24. void find_distortion(void);
  25. void select_img(ImageStructure *imgSRC, ImageStructure *imgREF);
  26. void compute_distortion(void);
  27. #endif