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

📄 o_aux_subtitle_config.c

📁 Zoran V966 DVD 解码 Soc芯片的源程序
💻 C
字号:
/* **************************************************************************************
*  Copyright (c) 2004 ZORAN Corporation, All Rights Reserved
*  THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
*
*  File: o_aux_subtitle_config.c
*
* Description:
* ========
*
****************************************************************************************/

/***************************************************************************************
*	Descriptor 	: 	oAuxSubtTextDescriptor
*
*	Purpose	 	:	
****************************************************************************************/
#ifndef D_CUSTOM_oSubtiltleBgColorSet
CONST MS_BITMAP_SET oSubtiltleBgColorSet = {
	BMP_BG_AUX_SUBTITLE,
		NULL,
		NULL,
		NULL,
};
#endif

#ifndef D_CUSTOM_oAuxSubtTextDescriptor
#ifdef D_GUI_2BPP_AUX_SUBTITLES
CONST MS_COLOR_SET oSubtitleTextColorSet = {
	CIDX_3,
	NULL,
	NULL,
	NULL
};
#else
#define oSubtitleTextColorSet				oHelpTextColorSet
#endif//D_GUI_2BPP_AUX_SUBTITLES
#endif //D_CUSTOM_oAuxSubtTextDescriptor

#ifndef D_CUSTOM_oAuxSubtitleText
static CONST OSD_TEXT oAuxSubtitleText = {
    OAuxSubt_GetFormUniStr_AuxSubt,
    NULL
};
#endif

#ifndef D_CUSTOM_oAuxSubtTextDescriptor
CONST MS_DESCRIPTOR_MULTILINE_TEXT oAuxSubtTextDescriptor =
{
	{
		{
			sizeof(MSO_MULTILINE_TEXT),
			MS_NAV_NULL,
			MS_ATTR_OSD_LAYER_2,
			{
				0,
				0,
				AREA_AUX_SUBT_W,
				AREA_AUX_SUBT_H
			},
			OMULTILINETEXT_Operation,
			_AuxSubtFillOSDSeg,
			mpParamNull,
		},
		(MS_X_Y_ALIGN *)&oSubtitleTextXYAlign,
		(MS_COLOR_SET *)&oSubtitleTextColorSet,
		(MS_BITMAP_SET*)&oSubtiltleBgColorSet,
		(OSD_TEXT *)&oAuxSubtitleText,
		AUX_SUBT_FONT,
		NULL,
		NULL
	},
	PIXE_LEFT_RIGHT_BORDER_AUX_SUBT,
	PIXE_TOP_BOTTOM_BORDER_AUX_SUBT,
	AUX_SUBT_PIXEL_GAP,
	MAX_TABLE_LINES,
#ifdef D_GUI_DESCRIPTOR_MULTILINETEXT_EXT1
	AUX_SUBT_BG_FIT_H,
	AUX_SUBT_BG_FIT_V,
       AUX_SUBT_PIXEL_MARGIN_BG_HORIZONTAL,
       AUX_SUBT_PIXEL_MARGIN_BG_VERTICAL,
       AUX_SUBT_PREPARE_STR_FIT
#endif//D_GUI_DESCRIPTOR_MULTILINETEXT_EXT1
};
#endif //D_CUSTOM_oAuxSubtTextDescriptor



/***************************************************************************************
*	Descriptor 	: 	oAuxSubtTextDescriptor
*
*	Purpose	 	:	
****************************************************************************************/
#ifndef D_CUSTOM_apContainerContents
#define NBR_AUX_SUBT_CONTENTS		1
static CONST MS_DESCRIPTOR* CONST apContainerContents[NBR_AUX_SUBT_CONTENTS] = {
	(MS_DESCRIPTOR*)&oAuxSubtTextDescriptor
};
#endif //D_CUSTOM_ apContainerContents
#ifndef D_CUSTOM_oAuxSubtDescriptor
CONST MS_DESCRIPTOR_AUX_SUBT oAuxSubtDescriptor =
{
	{
		{
			sizeof(MSO_AUX_SUBTITLE),
			0,
			MS_ATTR_CONTAINER | MS_ATTR_OSD_LAYER_2,
			{
				AREA_AUX_SUBT_X, AREA_AUX_SUBT_Y, AREA_AUX_SUBT_W, AREA_AUX_SUBT_H,
			},
			_AuxSubtOperation,
			mpfFillOsdSegNull,
			mpParamNull,
		},
		(CONST MS_DESCRIPTOR**)apContainerContents,
		NBR_AUX_SUBT_CONTENTS
	},
	NULL,
};
#endif //D_CUSTOM_oAuxSubtDescriptor


⌨️ 快捷键说明

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