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

📄 o_sacd_defs.h

📁 Zoran V966 DVD 解码 Soc芯片的源程序
💻 H
字号:
/* **************************************************************************************
*  Copyright (c) 2005 ZORAN Corporation, All Rights Reserved
*  THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
*
*  File: $Workfile: o_sacd_defs.h $
*
* Description:
* ============
*
****************************************************************************************/
#include "Config.h"		// Global Configuration - do not remove!

#ifndef __O_SACD_DEFS_H__
#define __O_SACD_DEFS_H__

#include "GUI\Menu_system\ms_component_defs.h"


/***************************************************************************************
* The SACD component descriptor.
****************************************************************************************/
typedef struct ms_descriptor_sacd {
	MS_DESCRIPTOR_COMPONENT 	moDescriptor;
	CONST UINT8* 				mpBgBmp;		// Background bitmap
	UINT16						mwTextColor;		// Text color	
}MS_DESCRIPTOR_SACD;

/***************************************************************************************
*	Structure : 	MS_PARAM_SACD
*
*	Members	: 	1. mbFocusActiveItem	= TRUE if the focus has to be set on the currently playing track.
*
*				2. mbHDAreaChanged	= Set to TRUE when the HD area is switched.
*
*	Desc 	:	The SACD component parameters.
****************************************************************************************/
typedef struct ms_param_sacd {
	BOOL	mbFocusActiveItem;
	BOOL	mbHDAreaChanged;
}MS_PARAM_SACD;

/***************************************************************************************
* The SACD component object.
****************************************************************************************/
typedef struct mso_sacd {	
	MSO_COMPONENT 		moComponent;
	MS_PARAM_SACD		moParam;
}MSO_SACD;


// TODO: The play state object could be, and should be shared across all menus/components. 

/***************************************************************************************
*	Structure : 	MS_PARAM_SACD_PLAYSTATE
*
*	Members	: 	1. mcPlayState 		=	Current play state.
*
*				2. mbIsResumeStop	=	TRUE if in resume stop.
*
*				3. mnScanSpeed		=	Current Scan speed.
*
*	Desc 	:	This structure contains a list of parameters used by the Play state object.
****************************************************************************************/
typedef struct ms_param_sacd_playstate {
	UINT8		mcPlayState;
	BOOL		mbIsResumeStop;
	INT16 		mnScanSpeed;
} MS_PARAM_SACD_PLAYSTATE;

/***************************************************************************************
*	Structure : 	MSO_SACD_PLAYSTATE
*
*	Members	: 	1. moText 	=	Base of all text objects.
*
*				2. moParam	=	Play state parameters.
*
*	Desc 	:	The Play state structure.
****************************************************************************************/
typedef struct mso_sacd_playstate {
	MSO_TEXT					moText;
	MS_PARAM_SACD_PLAYSTATE	moParam;
} MSO_SACD_PLAYSTATE;

/***************************************************************************************
*	Structure : 	MS_DESCRIPTOR_SACD_PLAYSTATE
*
*	Members	: 	None.
*
*	Desc 	:	The Vertical list descriptor.
****************************************************************************************/
typedef MS_DESCRIPTOR_TEXT MS_DESCRIPTOR_SACD_PLAYSTATE;

/***************************************************************************************
*	Structure : 	MS_PARAM_SACD_PLAYFILE
*
*	Members	: 	1. mwCurrentTrack	=	Currently playing item.
*
*				2. mwTotalItems	=	Total number of items in the current directory.
*
*	Desc 	:	This structure contains a list of parameters used by the Play Info object.
****************************************************************************************/
typedef struct ms_param_sacd_playfile {
	UINT16 mwCurrentTrack;
	UINT16 mwTotalTracks;
} MS_PARAM_SACD_PLAYFILE;

/***************************************************************************************
*	Structure : 	MSO_SACD_PLAYFILE
*
*	Members	: 	1. moText 	=	Base of all text objects.
*
*				2. moParam	=	Play item parameters.
*
*	Desc 	:	The SACD Play Info structure.
****************************************************************************************/
typedef struct mso_sacd_playfile {
	MSO_TEXT					moText;
	MS_PARAM_SACD_PLAYFILE		moParam;
} MSO_SACD_PLAYFILE;

/***************************************************************************************
*	Structure : 	MS_DESCRIPTOR_SACD_PLAYFILE
*
*	Members	: 	None.
*
*	Desc 	:	MSO_SACD_PLAYFILE descriptor.
****************************************************************************************/
typedef MS_DESCRIPTOR_TEXT MS_DESCRIPTOR_SACD_PLAYFILE;

/***************************************************************************************
*	Structure : 	MS_PARAM_SACD_PLAYTIME
*
*	Members	: 	1. mwElapsedTime	=	Elapsed time.
*
*	Desc 	:	This structure contains a list of parameters used by the Play Info object.
****************************************************************************************/
typedef struct ms_param_sacd_playtime {
	UINT16 mwElapsedTime;
} MS_PARAM_SACD_PLAYTIME;

/***************************************************************************************
*	Structure : 	MSO_SACD_PLAYTIME
*
*	Members	: 	1. moText 	=	Base of all text objects.
*
*				2. moParam	=	Play time parameters.
*
*	Desc 	:	The SACD Play time structure.
****************************************************************************************/
typedef struct mso_sacd_playtime {
	MSO_TEXT					moText;
	MS_PARAM_SACD_PLAYTIME	moParam;
} MSO_SACD_PLAYTIME;

/***************************************************************************************
*	Structure : 	MS_DESCRIPTOR_SACD_PLAYTIME
*
*	Members	: 	None.
*
*	Desc 	:	MSO_SACD_PLAYTIME descriptor.
****************************************************************************************/
typedef MS_DESCRIPTOR_TEXT MS_DESCRIPTOR_SACD_PLAYTIME;

/***************************************************************************************
*	Structure : 	MS_PARAM_SACD_LISTITEM
*
*	Members	: 	1. mcIndex		=	Index of the track.
*
*				2. mbIsPlaying	=	TRUE if this track is currently playing.
*
*	Desc 	:	This structure contains a list of parameters used by the list item object.
****************************************************************************************/
typedef struct ms_param_sacd_listitem {
	UINT8 	mcIndex;
	BOOL	mbIsPlaying;
} MS_PARAM_SACD_LISTITEM;

/***************************************************************************************
*	Structure : 	MSO_SACD_LISTITEM
*
*	Members	: 	1. moText 	=	Base of all text objects.
*
*				2. moParam	=	List item parameters.
*
*	Desc 	:	The SACD list item structure.
****************************************************************************************/
typedef struct mso_sacd_listitem {
	MSO_TEXT					moText;
	MS_PARAM_SACD_LISTITEM		moParam;
} MSO_SACD_LISTITEM;

/***************************************************************************************
*	Structure : 	MS_DESCRIPTOR_SACD_LISTITEM
*
*	Members	: 	None
*
*	Desc 	:	MSO_SACD_LISTITEM descriptor.
****************************************************************************************/
typedef MS_DESCRIPTOR_TEXT MS_DESCRIPTOR_SACD_LISTITEM;

/***************************************************************************************
*	Structure : 	MS_PARAM_SACD_HELPTEXT
*
*	Members	: 	1. mwCurrentTrack		=	Currently playing item.
*
*	Desc 	:	This structure contains a list of parameters used by the SACD help text object.
****************************************************************************************/
typedef struct ms_param_sacd_helptext {
	UINT16 	mwCurrentTrack;
} MS_PARAM_SACD_HELPTEXT;

/***************************************************************************************
*	Structure : 	MSO_SACD_HELPTEXT
*
*	Members	: 	1. moHScrollText 	=	Base of all H-Scroll text objects.
*
*				2. moParam		=	SACd help text parameters.
*
*	Desc 	:	The SACD list item structure.
****************************************************************************************/
typedef struct mso_sacd_helptext {
	MSO_HSCROLL_TEXT			moHScrollText;
	MS_PARAM_SACD_HELPTEXT	moParam;
} MSO_SACD_HELPTEXT;

/***************************************************************************************
*	Structure : 	MS_DESCRIPTOR_SACD_HELPTEXT
*
*	Members	: 	None.
*
*	Desc 	:	MSO_SACD_HELPTEXT descriptor.
****************************************************************************************/
typedef MS_DESCRIPTOR_HSCROLL_TEXT MS_DESCRIPTOR_SACD_HELPTEXT;


#endif // __O_SACD_DEFS_H__

⌨️ 快捷键说明

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