?? 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 + -