?? ccmpeg.h
字號:
/***********************************************************************/
/* File: */
/* ===== */
/* Descripton: */
/* =========== */
/* */
/* Log: */
/* ===== */
/*
$Name: V_1_11 V_1_10 V_1_08 V_1_06 V_1_05 V_1_04 V_1_03 V_1_02 V_1_01 V_1_00 B_0_90.1 B_0_90 B_0_87 B_0_86 B_0_84 B_0_82 B_0_81 B_0_8 A_0_5 A_0_4 A_0_3 A_0_2 A_0_1 $
$Header: /I76/I76_Common/I76_Reference/Playcore/Nav_DVD/Header/CCMPEG.H 2 12/30/03 11:27a Leonh $
$Log: /I76/I76_Common/I76_Reference/Playcore/Nav_DVD/Header/CCMPEG.H $
*
* 2 12/30/03 11:27a Leonh
* Angieh:Change for DVD AUDIO navigator header.
*
* 1 03-04-28 11:15 Fwang
* Initial for DVDA
*
* 3 4/26/02 12:45p Leslie
* Add new member "resume_lbn" in S_DATA_CONTAINER
*
* 2 23/04/02 9:34 Nirm
* - Added dependency in "Config.h".
*
* 1 2/17/02 12:12 Rinata
*
* 1 2/17/02 11:38 Rinata
*
* 2 8/01/02 16:24 Nirm
* Corrected Include-Paths.
Revision 1.3 2000/06/14 02:46:09Z tia
Revision 1.2 2000/05/17 02:41:25 tia
Revision 1.1 2000/04/14 02:02:02 tia
Initial revision
*/
/***********************************************************************/
#include "Config.h" // Global Configuration - do not remove!
#ifndef ccmpeg_h
#define ccmpeg_h 1
#include <string.h>
#include "Playcore\Nav_DVD\Header\navdef.h"
#include "Include\sysdefs.h"
typedef LONG ERRORCODE;
#define CCMPEG_OK 0
#define CCMPEG_ERROR (-1)
//
// Presentation Time Stamp type
//
//typedef ULONG P_T_S;
//
// data type
//
/************ CDataContainer translation - data *************/
typedef struct{
DWORD time_stamp;
BYTE* sc_handle;
DWORD resume_lbn;//LX042602
} S_DATA_CONTAINER;
//
// Bitstream data types
//
#define DATA_TYPE_MPEG2_VIDEO 1
#define DATA_TYPE_MPEG2_AUDIO 2
#define DATA_TYPE_AC3_AUDIO 3
#define DATA_TYPE_PCM_AUDIO 4
#define DATA_TYPE_SPU 5
#define DATA_TYPE_MPEG1_VIDEO 6
#define DATA_TYPE_MPEG1_AUDIO 7
#define DATA_TYPE_MPEG_USER_DATA 8
#define DATA_TYPE_DTS_AUDIO 9
// MPEG user data subtypes
#define SEQUENCE_USER_DATA 0
#define GOP_USER_DATA 1
#define PICTURE_USER_DATA 2
//
// Render data types
//
#define DATA_TYPE_VIDEO_DATA 0x10
#define DATA_TYPE_AUDIO_DATA 0x20
#define DATA_TYPE_SPU_DATA 0x30
#define DATA_TYPE_PCM_DATA 0x40
//
// Event IDs
//
#define EVENT_DESTINATION_PIPE_REQUEST 1 /* output data available, need destination pipe */
#define EVENT_EOD 2 /* hit iso_11172_end_code */
// user defined events start here and continue upward
#define EVENT_ID_USER_FIRST 1024
#define EVENT_PCI_ARRIVED 1025
#define EVENT_EOF_USER_DATA 1026
//
// Stream status flags (use bits from right to left)
//
#define DEMUX_STREAM_STATUS_INACTIVE 1 /* PES stream ignored */
#define DEMUX_STREAM_STATUS_PAYLOAD 2 /* PES layers skipped */
#define DEMUX_STREAM_STATUS_CHANGE_SCR 4 /* SCR should be changed */
#define DEMUX_STREAM_STATUS_NOTIFY 8 /* manager should be notified */
#define DEMUX_STREAM_STATUS_CHANGE_USER_SCR 0x10 /* SCR should be changed */
//
// Supported parameter IDs. param1 holds the PES ID, param2 sets/gets the value
//
#define DEMUX_PARAM_STATUS 1 /* Set/Get PES stream status */
#define DEMUX_PARAM_TYPE 2 /* Set/Get data type associated with the PES stream */
#define DEMUX_PARAM_PRIVATE_DATA_SIZE 3 /* Set/Get private data size associated with the PES stream */
#define DEMUX_PARAM_PIPE 4 /* Set/Get pipe associated with the PES stream */
#define DEMUX_PARAM_DELTA_SCR 5 /* Set/Get SCR adjustment value (global) */
//
// ****************************************************
//## end module.additionalDeclarations
//
// Supported parameter IDs. value holds the value.
//
#define DECODER_PARAM_SET_MEDIA_ID 0x10000 /* Set media ID */
#define DECODER_PARAM_SET_ITEM_ID 0x20000 /* Set play-back item ID */
#define DECODER_PARAM_INIT 0x40000 // initialize
#define DECODER_PARAM_UNINIT 0x80000 // initialize
#define DECODER_PARAM_SET_DECRYPT_DATA 0x100000 /* Set Decrypt Data */
#endif // ccmpeg_h
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -