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

📄 mpvd_define.h

📁 SAMSUNG 5009的源代码
💻 H
字号:
/******************************************************************************
 *   Filename    : Mpvd_define.h
 *   Start       : 2005.1.15
 *   By          : Inseo Han
 *   Contact     : ishan@samsung.com
 *   Description : 
 ******************************************************************************
 */ 

#ifndef _MPVD_DEFINE_H_
#define _MPVD_DEFINE_H_


#ifdef __cplusplus
extern "C" {
#endif

#define MPVD_HISR_STACK_SIZE_CMD_READY			1600
#define MPVD_HISR_STACK_SIZE_SET_ERROR			1600



/*************************************************************
  * 	MPVD Video show level
  *	
  *	- MPVD_SHOW_ALL_CORRUPTED : show all the corrupted videos
  *	- MPVD_SHOW_NO_CORRUPTED : show only uncorrupted videos
  *************************************************************/
#define MPVD_SHOW_ALL_CORRUPTED			0
#define MPVD_SHOW_NO_CORRUPTED			1

#define MPVD_SHOW_LEVEL	MPVD_SHOW_NO_CORRUPTED


/*************************************************************
  * 		Threshold of the concealed MB 
  *************************************************************/
/* The threshold of the concealed macroblocks (1~2047) */
//#define MPVD_MIN_THRESHOLD_CONCEALED_MB	1
#define MPVD_MIN_THRESHOLD_CONCEALED_MB	2047
#define MPVD_MAX_THRESHOLD_CONCEALED_MB	2047

#if MPVD_SHOW_LEVEL==MPVD_SHOW_ALL_CORRUPTED
#define MPVD_THRESHOLD_CONCEALED_MB		MPVD_MAX_THRESHOLD_CONCEALED_MB
//#define MPVD_THRESHOLD_CONCEALED_MB		MPVD_MIN_THRESHOLD_CONCEALED_MB
#else 
#define MPVD_THRESHOLD_CONCEALED_MB		MPVD_MIN_THRESHOLD_CONCEALED_MB
#endif

/*  Problem : If the ref1 is used for decoder and the ref0 is set to 0x0,
            and the stream is corrupted, then concealed MB is constructed by the ref0(0x0).
            Resultly, the green noisy blocks appear in the concealed area.
    _REF_BUF_REPEAT_FOR_CONCEAL_MODE : If the reference buf is located on 0x0,
            then that buf is forcely moved to the position of the other ref buf. 20060627 Lee, Cheong Woo. */
#define _REF_BUF_REPEAT_FOR_CONCEAL_MODE	1

/*  S5L5009 new feature : The average MV can be used per MB in the case of GMC.
    The GMC decoding is processed by HW, not per MB or per picture. 2006060707 Lee, Cheong Woo */
#define _MPVD_GMC_HW_PROCESS_				1
#ifdef __cplusplus
}
#endif


#endif

⌨️ 快捷键说明

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