⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wp.h

📁 H.264编码实现
💻 H
字号:
/*!
 ***************************************************************************
 * \file
 *    wp.h
 *
 * \author
 *    Alexis Michael Tourapis
 *
 * \date
 *    22. February 2008
 *
 * \brief
 *    Headerfile for weighted prediction support
 **************************************************************************
 */

#ifndef _WP_H_
#define _WP_H_

#include "wp_lms.h"
#include "wp_mcprec.h"

#define DEBUG_WP  0

void InitWP(InputParameters *params);
void (*EstimateWPBSlice) (ImageParameters *img, InputParameters *params);
void (*EstimateWPPSlice) (ImageParameters *img, InputParameters *params, int offset);
int  (*TestWPPSlice)     (ImageParameters *img, InputParameters *params, int offset);
int  (*TestWPBSlice)     (ImageParameters *img, InputParameters *params, int method);

void EstimateWPBSliceAlg0(ImageParameters *img, InputParameters *params);
void EstimateWPPSliceAlg0(ImageParameters *img, InputParameters *params, int offset);
int  TestWPPSliceAlg0    (ImageParameters *img, InputParameters *params, int offset);
int  TestWPBSliceAlg0    (ImageParameters *img, InputParameters *params, int method);

double ComputeImgSum     (imgpel **CurrentImage, int height, int width);

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -