img_distortion.h
资源名称:chapter15.rar [点击查看]
上传用户:hjq518
上传日期:2021-12-09
资源大小:5084k
文件大小:1k
源码类别:
Audio
开发平台:
Visual C++
- /*!
- ************************************************************************
- * file img_distortion.h
- *
- * brief
- * Distortion related definitions
- *
- * author
- * Main contributors (see contributors.h for copyright, address and affiliation details)
- * - Alexis Michael Tourapis <alexismt@ieee.org>
- * - Woo-Shik Kim <wooshik.kim@usc.edu>
- *
- ************************************************************************
- */
- #ifndef _IMG_DISTORTION_H_
- #define _IMG_DISTORTION_H_
- typedef struct
- {
- FrameFormat format; //!< ImageStructure format Information
- imgpel **data[3]; //!< ImageStructure pixel data
- } ImageStructure;
- void accumulate_avslice(DistMetric metric[3], int slice_type, int frames);
- void accumulate_average(DistMetric metric[3], int frames);
- void find_distortion(void);
- void select_img(ImageStructure *imgSRC, ImageStructure *imgREF);
- void compute_distortion(void);
- #endif