section.h

来自「ZORAN 962/966 SOURCE CODE,DVD chip」· C头文件 代码 · 共 63 行

H
63
字号
/****************************************************************************************
 *  Copyright (c) 2005 ZORAN Corporation, All Rights Reserved
 *  THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
 *
 *  File: $Workfile: section.h $             
 *
 * Description: 
 * ============
 * 
 * 
 * Log:
 * ====
 * $Revision: $
 * Last Modified by $Author: $ at $Modtime: $ 
 ****************************************************************************************
 * Updates:
 ****************************************************************************************/
#include "Config.h"		// Global Configuration - do not remove!

#ifdef FTA_SUPPORT

#ifndef __SECTION_H_
#define __SECTION_H_

#include "Include\sysdefs.h"

/////////////////////////////////////////////////////////////////////////////////////////////////
// Macros

/////////////////////////////////////////////////////////////////////////////////////////////////
// Enumerations & Typedefs

/////////////////////////////////////////////////////////////////////////////////////////////////
// Structures

typedef struct 
{
	UINT uReserved		: 2;
	UINT uVersionNumber	: 5;
	UINT uCurNextInd	: 1;
} MPEG_SECTION_BITFIELD;

typedef union 
{
	UINT8 cRegister;
	MPEG_SECTION_BITFIELD bitfield;
} MPEG_SECTION_BUFFER;

typedef struct
{
	UINT8 cTableId;					// The table ID
	UINT8 cSectionNumber;			// The section number
	MPEG_SECTION_BUFFER secBuffer;
} SECTION_HEADER;

/////////////////////////////////////////////////////////////////////////////////////////////////
// Public Services

void PSI_ResetSection(SECTION_HEADER* bMpgHeader);
void PSI_FillSectionHeader(UINT8 huge *buffer, SECTION_HEADER* bMpgHeader);

#endif // __SECTION_H_
#endif // FTA_SUPPORT

⌨️ 快捷键说明

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