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

📄 pmt.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: pmt.h $             
 *
 * Description: 
 * ============
 * 
 * 
 * Log:
 * ====
 * $Revision: $
 * Last Modified by $Author: $ at $Modtime: $ 
 ****************************************************************************************
 * Updates:
 ****************************************************************************************/
#include "Config.h"		// Global Configuration - do not remove!

#ifdef FTA_SUPPORT

#ifndef __PMT_H_
#define __PMT_H_

#include "Include\sysdefs.h"
#include "Playcore\FTA\PSI\section.h"
#include "Playcore\FTA\PSI\descriptors.h"

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

#define MAX_STREAM_TYPE		0xFF
#define MAX_PMT_TABLE		4096

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

typedef struct
{
	UINT16 sElementaryPid;		// The elementary PID
	UINT8 cStreamType;			// The stream type
	BOOL bCADesExist;
} PMT_ENTRY;

typedef struct 
{
	SECTION_HEADER bMpgHeader;
	UINT32 iCompSize;					// The number of components in the PMT
	PMT_ENTRY *sPmtInfo;				// The elementary stream information
	UINT16 sPcrPid;						// PCR PID
	BOOL bCADesExist;
} PMT_SECTION;

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

void PSI_PmtReset(void);
BOOL PSI_ParsePmtSection(UINT32 ulSectionAddr, UINT16 uiSectionOffset);
UINT16 PSI_PmtGetNumberOfComponents(void);
UINT16 PSI_PmtGetPcrPid(void);
BOOL PSI_PmtGetComponentInfo(int iCompIndex, UINT16* pCompInfo);
BOOL PSI_PmtCAExit(UINT16 uiCompIndex);

#ifdef _DEBUG
void PSI_PrintPmt(void);
#endif

#endif // __PMT_H_

#endif // FTA_SUPPORT

⌨️ 快捷键说明

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