Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
dvda_ats.h
Package: tb_i86_wr_1019_1102. [view]
Upload User: super_houu
Upload Date: 2008-09-21
Package Size: 4099k
Code Size: 4k
Category:
DVD
Development Platform:
Others
- /****************************************************************************************
- * Copyright (c) 2000 ZORAN Corporation, All Rights Reserved
- * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
- *
- * File: "dvda_ats.h" 20/12/00
- *
- * Description:
- * ============
- * Audio title set functions and data structures
- *
- * Log:
- * ====
- * $Revision: 1 $
- * Last Modified by $Author: Leonh $ at $Modtime: 12/30/03 11:16a $
- ****************************************************************************************
- * Updates:
- ****************************************************************************************
- * $Log: /I76/I76_Common/I76_Reference/Playcore/Nav_DVD/Header/dvda_ats.h $
- *
- * 1 12/30/03 11:30a Leonh
- * Angieh:Change for DVD AUDIO navigator header.
- *
- * 6 12/30/03 10:42a Leonh
- * Angieh:Add #include "Config.h".
- *
- * 5 12/21/03 4:46p Leonh
- * Angieh:Support for the Bookmark Play.
- *
- * 4 11/03/03 2:53p Leslie
- * add dvd audio compile switch
- *
- * 3 10/20/03 11:46a Leslie
- * check the variable type and change the dvda rtpb schedule way as the
- * same with DVD Video
- *
- * 2 03-06-19 9:47 Leonh
- *
- * 1 03-05-07 18:42 Leonh
- *
- * 1 10/24/02 14:21 Rinata
- *
- * 8 7/30/02 14:54 Nirp
- * zch tree merge
- *
- * 6 7/19/01 15:55 Rinata
- * Assaf: Hidden group play
- * Time search
- * Entry search
- * Bug fixes (LinkCN etc.)
- *
- * 5 6/14/01 14:16 Rinata
- * Assaf
- *
- * 4 17-04-01 11:36 Assafm
- *
- * 3 21-03-01 15:25 Assafm
- *
- * 2 20/12/00 11:44 Finik
- * 1 10-12-00 15:21 Assafm
- *
- * 1 28-11-00 17:59 Assafm
- Revision 1.1 2000/04/27 17:17:39 tia
- Initial revision
- */
- /**************************************************************************************/
- #include "Config.h" // Global Configuration - do not remove!
- #ifdef DVD_AUDIO_SUPPORT
- #ifndef _DVDA_ATS_H
- #define _DVDA_ATS_H
- #include "Playcorecoremaincoremain.h"
- #include "PlaycoreNav_DVDHeadernavdef.h"
- //Angie_0803_2004:Use the SCPAD static memory.
- #define AOTT_AOB_ATRT_SIZE 128//bytes
- #define ATS_DMX_TBL_SIZE 288+1//bytes
- #define ats_AudioAttr_GetCodingMode(idx) ats_AudioAttr_GetAttrByte(idx,0)
- #define ats_AudioAttr_GetQ_CH_GR1(idx) ((ats_AudioAttr_GetAttrByte(idx,2) & 0xf0) >> 4)// Quantization (bits)
- #define ats_AudioAttr_GetQ_CH_GR2(idx) (ats_AudioAttr_GetAttrByte(idx,2) & 0x0f) // for groups 1/2
- #define ats_AudioAttr_GetFs_CH_GR1(idx) ((ats_AudioAttr_GetAttrByte(idx,3) & 0xf0) >> 4)// Sampling rates
- #define ats_AudioAttr_GetFs_CH_GR2(idx) (ats_AudioAttr_GetAttrByte(idx,3) & 0x0f) // for groups 1/2
- #define ats_AudioAttr_GetMCT(idx) ((ats_AudioAttr_GetAttrByte(idx,4) & 0xe0) >> 5) // Multi Channel Type
- #define ats_AudioAttr_GetCHAssign(idx) (ats_AudioAttr_GetAttrByte(idx,4) & 0x1f) // Channel Assignment
- typedef struct {
- BYTE ASVUN;
- BYTE ASV_DMD;
- WORD ATS_ASV_PBI_SA;
- WORD ATS_ASV_PBI_EA;
- } ATS_PG_ASV_PBI_SRP;
- typedef struct {
- BYTE ASVNum;
- BYTE res1;
- BYTE FOSL_BTTN;
- BYTE PGNum;
- DWORD DisplayTime;
- BYTE StartEffect;
- BYTE EndEffect;
- } ATS_PG_ASV_DLIST;
- void ats_construct( S_FPOS *address ,WORD language);
- void ats_title_dom_construct( S_DOM *dom,S_FPOS *pgct );
- void ats_delete();
- #ifdef NO_SCPAD
- BOOL ats_c_pbit_Get_ATS_Cell_PBI(S_STORAGE *st, int cell, S_ATS_C_PBI *buffer);
- #else
- BOOL ats_c_pbit_Get_ATS_Cell_PBI(S_SC_STORAGE *st, int cell, S_ATS_C_PBI *buffer);
- #endif
- #ifdef NO_SCPAD
- int ats_Get_PG_By_Cell(S_STORAGE *cell_st,S_STORAGE *pg_st, int cell);
- #else
- int ats_Get_PG_By_Cell(S_SC_STORAGE *cell_st,S_SC_STORAGE *pg_st, int cell);
- #endif
- BYTE ats_AudioAttr_GetAttrByte(int atrn,int byte_num);
- void ats_title_dom_GetPGC( S_DOM *dom, S_FPOS *fposp, S_PGC_SRP *srp, BYTE ats_ttn);
- DWORD ats_FindPGCTimeEntry(UINT32 entry_time,UINT32 *pg_num,int *cellNumber,UINT32 *pg_entry_time);
- #endif
- #endif//DVD_AUDIO_SUPPORT