📄 pat.h
字号:
/****************************************************************************************
* Copyright (c) 2005 ZORAN Corporation, All Rights Reserved
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
*
* File: $Workfile: pat.h $
*
* Description:
* ============
*
*
* Log:
* ====
* $Revision: $
* Last Modified by $Author: $ at $Modtime: $
****************************************************************************************
* Updates:
****************************************************************************************/
#include "Config.h" // Global Configuration - do not remove!
#ifdef FTA_SUPPORT
#ifndef __PAT_H_
#define __PAT_H_
#include "Include\sysdefs.h"
#include "Playcore\FTA\PSI\section.h"
/////////////////////////////////////////////////////////////////////////////////////////////////
// Structures
typedef struct
{
UINT16 sPmtPid; // The PMT PID
UINT16 sProgram; // The program number
} PAT_ENTRY;
typedef struct
{
SECTION_HEADER bMpgHeader;
UINT32 iProgramSize; // The number of programs in the PAT
PAT_ENTRY *sPatInfo;
} PAT_SECTION;
/////////////////////////////////////////////////////////////////////////////////////////////////
// Public Services
void PSI_PatReset(void);
BOOL PSI_ParsePatSection(UINT32 ulSectionAddr, UINT16 uiSectionOffset);
UINT16 PSI_PatGetTsId(void);
UINT16 PSI_PatGetNumberOfPrograms(int index);
BOOL PSI_PatGetProgramInfo(int iSecIndex, int iProgIndex, UINT16* pProgInfo);
BOOL PSI_PatGetPmtPid(UINT16 sProgId, UINT16* sPmtPid);
#ifdef _DEBUG
void PSI_PrintPat(void);
#endif
#endif // __PAT_H_
#endif // FTA_SUPPORT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -