aw_typedef.h
来自「AMLOGIC DPF source code」· C头文件 代码 · 共 113 行
H
113 行
/*****************************************************************
** **
** Copyright (C) 2004 Amlogic,Inc. **
** All rights reserved **
** Filename : aw_typedef.h /Project:AVOS **
** Revision : 1.0 **
** **
*****************************************************************/
#ifndef _AW_TYPEDEF_H
#define _AW_TYPEDEF_H
#define MAX_SOURCE_NUM 32
typedef struct
{
INT8U media_done ;
INT8U media_num ;
INT32U media_list[MAX_SOURCE_NUM] ;
} MEDIALIST ;
typedef struct
{
INT8U media_type ; // Loader, HD, USB, Tuner, ANALOG IN, DIGITAL IN, NONE
INT16U data_device_status; // bit 0~3: loader status (Opened, Opening, Closed, Closing)
// bit 4~5: HD status (ready, off)
// bit 6~7: USB status (ready, off)
// bit 8~9: Tuner status
// bit a~b: ANALOG IN status
// bit c~d: DIGITAL IN staus
INT8U disc_type; // HVD, DVD, VCD, CD, CDROM(MP3,wma,Jpeg, Divx), No Disc, Disc checking
INT8U play_list; // Sequence, Program, A-B, Repeat one
INT8U pbc_flag ; // PBC ON/OFF
INT8U repeat_flag; // Repeat 1, Repeat ALL, Repeat Title, Repeate Group, Repeat Folder, Repeat AB
INT8U ab_flag ; // Clear, Set A- , Repeat A-B
INT8U random_flag ; // Random On/Off
INT8U play_mode; // Stop, Resume, Pause, Playing, FF, FB, SF, SB, Step Forward, Step Back, Thumbnail, Rotate
INT8U fast_slow_level; // Fast motion speed and slow motion speed
INT8U zoom_level; //
INT8U title_group_no; // For DVD Video/Audio only, ranges from 0 ~ 99
// 0 for menu status(VMGM&VTSM)
// 1 ~ 99 for TT domain
INT8U total_t_g_num;
INT16U chapter_no; // For DVD, VCD, CD, MP3, Jpeg
INT16U total_chapter_num;
INT8U sub_title_no; // For DVD only, ranges from 0 to 31
INT8U total_s_t_num;
INT8U sub_title_list[32] ; //?(data type)
INT8U audio_stream_no;
INT8U total_audio_atream_num;
INT8U audio_stream_list[8] ;//?(data type)
INT8U audio_channel_nums; // 1.0, 2.0, 2.1, 3.0, 4.0, 5.0, 5.1, 6.1, 7.1
INT16U audio_specific_code;
INT8U digital_output_type; //PCM Output, RAW Output
INT8U analog_output_type; // Stereo, Surround, Prologic II, ...
INT8U audio_dsp_mode ; //normal, pop, Jazz, ....
INT16U audio_bit_rate ; // bit rate kBit/s
INT8U audio_sample_rate ; // 192k, 176k, 96k, 88k, 48k, 44.1k, 32k, 22k, 16k
INT8U audio_sample_bit ; // 16bit/sample, 20bit, 24bit
INT8U volume_level; // Bit 7
// Mute - 0x1
// UnMute - 0x0
// Bit 6~0
// Volume value. Ranges from 0~31
INT8U video_mode ; // 480,576,720,1080 ...
INT16U video_bit_rate ; // video bit rate, kBits/s
INT8U video_type; // Progressive , Interlace
INT8U deinterlace_flag; //
INT8U tv_System; // Bit 7 Progressive, interlace
// Interlace - 0x0
// Progressive - 0x1
// Bit 6~4 - NTSC, PAL, AUTO
// NTSC - 0x1
// PAL - 0x2
// AUTO - 0x0
// Bit 3~0 - Wide, Pan-Scan, Letter-Box, 4:3
// 4:3 - 0x0
// Wide - 0x1
// Letter-Box - 0x2
// Pan-Scan - 0x3
INT8U angle_no; // For DVD, jpeg
INT8U total_agl_num; // For DVD only
INT8U is_vcd_menu; // For VCD only.
// 0 - Not in the menu
// 1 - In the menu
INT32U display_time;
INT8U time_format; // Display Time format
// For DVD:
// 0x0 - title process time
// 0x1 - title remain time
// 0x2 - chapter process time
// 0x4 - chapter remain time
// For CDDA:
// 0x0 - current track time
// 0x1 - current track remain time
// 0x2 - disc process time
// 0x4 - disc remain time
// For VCD:
// 0x0 - Track elapsed time
// 0x1 - Track remain time
// 0x2 - Disc elapsed time
// 0x3 - Disc remain time
// 0x8 - Info Banner Display bit
} SYSTEMINFO;
#endif //end of _AW_TYPEDEF_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?