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

📄 par_defines.h

📁 SAMSUNG 5009的源代码
💻 H
字号:
/******************************************************************************
 * File name  :  PAR_defines.h
 * Start date :  2004.12.23
 * By         :  Chongkun Lee
 * Contact    :  bach1004@samsung.com
 * Description:  
 ******************************************************************************
 */
  
#ifndef _PAR_DEFINES_H_
#define _PAR_DEFINES_H_

#ifdef	__cplusplus
extern	"C" {
#endif


/******************************************************************************
 *   Defines
 ******************************************************************************/

/****************************************
 * parser capability setting.
 ****************************************/
#define PAR_SUPPORT_DVDV				1
#define PAR_SUPPORT_DVDVR				0

#if _APP_CAP_NAV_DVD_AUDIO
#define PAR_SUPPORT_DVDA				1
#else /* _APP_CAP_NAV_DVD_AUDIO */
#define PAR_SUPPORT_DVDA				0
#endif /* _APP_CAP_NAV_DVD_AUDIO */

#define PAR_SUPPORT_VCD				1
#define PAR_SUPPORT_AC3				0
#define PAR_SUPPORT_MP3				1
#define PAR_SUPPORT_WMA				1
#define PAR_SUPPORT_JPEG				1
#define PAR_SUPPORT_ARMJPEG			0
#define PAR_SUPPORT_CDDA				1

#if _APP_CAP_NAV_MMP_PLAY_VIDEO_FILE
 #if _API_CAP_GLB_MPVD_FRAME_MODE
#define PAR_SUPPORT_AVI				1
#define PAR_SUPPORT_ASF				0
 #else /* _API_CAP_GLB_MPVD_FRAME_MODE */
#define PAR_SUPPORT_AVI				0
#define PAR_SUPPORT_ASF				0
 #endif /* _API_CAP_GLB_MPVD_FRAME_MODE */
#define PAR_SUPPORT_MPEG_PS			1
#define PAR_SUPPORT_MPEG_ES			1
#else /* _APP_CAP_NAV_MMP_PLAY_VIDEO_FILE */
#define PAR_SUPPORT_AVI				0
#define PAR_SUPPORT_ASF				0
#define PAR_SUPPORT_MPEG_PS			0
#define PAR_SUPPORT_MPEG_ES			0
#endif /* _APP_CAP_NAV_MMP_PLAY_VIDEO_FILE */

#define __SUPPORT_ID3_PARSER			0

/****************************************
 * parser output disable setting.
 ****************************************/
#define PAR_VID_DUMMY_SYSTEM			0	/* video dummy system */
#define PAR_AUD_DUMMY_SYSTEM			0	/* audio dummy system */
#define PAR_TEXT_DUMMY_SYSTEM		0	/* text dummy system */


/****************************************
 * print message options.
 ****************************************/
#define PAR_PRINT_ERROR				1	/* parser error print */
#define AVI_PRINT_ERROR				1	/* avi error print */

/* <<< @: 5010-xxx.HoJune_Byun 05/12/27 :  */
#define	AVI_BM_CALL_AT_ONCE			0
/* <<< @: 5010-xxx.HoJune_Byun 05/12/27 :  */


/* <<< @: 5010-xxx.HoJune_Byun 20060522 :  test for 800K	*/
#define	AVI_PUT_AUDIO_CHUNK			0	
/* <<< @: 5010-xxx.HoJune_Byun 20060522 :  test for 800K	*/


#if _API_CAP_GLB_B2R_FRAME_MODE
#define PAR_PRINT_STATUS				0
#else
#define PAR_PRINT_STATUS				1
#endif

#define PAR_PRINT_RUNNING				0


/* <<< @: 5008CHN-111.cklee 050508 : V-505R1 MPEG 5.1CH happen audio skip */
/*
	mpeg program stream process is done by sector unit.
*/
#define PAR_MPEG_INPUT_SECTORUNIT	1
/* >>> @: 5008CHN-111.cklee 050508 */

/* <<< @: 5008CHN-XXX.cklee 050516 : buffer manager priority change to task */
#define PAR_BUFFERMANAGE_TASK		1
/* >>> @: 5008CHN-XXX.cklee 050516 */
#if PAR_BUFFERMANAGE_TASK
#if _USE_5010||_USE_5009		/*AVI buffer manager priority change to task zb 060329 */
#define AVI_BUFFERMANAGE_TASK			0
#endif
#endif

/* <<< @: 5008CHN-XXX.cklee 050720 : input buffer callback function just activate HISR */
#define PAR_INPUT_CALLBACK_HISR		1
/* >>> @: 5008CHN-XXX.cklee 050720 */

/* <<< @: 5008CHN-XXX.cklee 050729 : add edc & ecc for sector parser */
#define PAR_INPUT_EDC_ECC			1
/* >>> @: 5008CHN-XXX.cklee 050729 */

/* <<< @: 5008CHN-XXX.cklee 051209 : picture head int test for 5005 evt1 */
#define PAR_VBV_PICHD_DETECT		0
/* >>> @: 5008CHN-XXX.cklee 051209 */

/* <<< @: 5008CHN-XXX.cklee 060303: tbuf empty flush interrupt use... */
#define PAR_USE_TBUF_EMPTY_FLUSH	0
/* >>> @: 5008CHN-XXX.cklee 060303 */
/*
	just test edc error. do not change to 1 except debugging purpose.
	2005.05.16 by CKLee.
*/
#define PAR_EDC_CHECK			0

#define PAR_TASK_STACK_SIZE 1000
#if _API_CAP_GLB_MPVD_FRAME_MODE
#if _APP_CAP_MMP_SUPPORT_VOBSUB_SUBTITLE	// cydrain 20060712, VOBSUB
#define PAR_MSGQ_NO			30//10	// cydrain 20060712, VOBSUB
#else
#define PAR_MSGQ_NO			10
#endif
#else
#define PAR_MSGQ_NO			2
#endif

#if PAR_BUFFERMANAGE_TASK
#define PAR_BUF_MSGQ_NO		10
#endif


/* 
	Check PSD registers for VCD case.
	2005.07.12 ishan
*/
#define PAR_VCD_CONFIG_CHECK		1

/*
	Sequence end code detect by H/W.
	don't change this value to 1... just test routine till now...
	2005.08.22 by CKLee.
*/
#define PAR_SEQ_END_DETECT_BY_PSD	0

/*
	Mpeg extension stream filtering.
	2005.09.06. by CKLee.
*/
#if _API_CAP_GLB_MPEG_AUD_SPDIF_IN_STREAM
#define PAR_MPEG_EXT_FILTERING	1
#else
#define PAR_MPEG_EXT_FILTERING	0
#endif


#define		AVI_DEBUG			0
#define 	_Print_Chunk_Size_  0


#if _USE_DVD_AUDIO
#define PAR_SUPPORT_ASV			1
#else
#define PAR_SUPPORT_ASV			0
#endif



/***************************************************************
 * 	Fanfare Function Support 	 //hjune byun 2006.06.30
 ***************************************************************/
#define	PAR_FANFARE_SUPPORT		0//zwj 0607012

#ifdef	__cplusplus
}
#endif

#endif /* _PAR_DEFINES_H_ */

⌨️ 快捷键说明

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