?? pmt.h
字號(hào):
/****************************************************************************************
* 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
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -