📄 bin_id.h
字号:
#ifndef __BIN_ID_H__
#define __BIN_ID_H__
// BIN_HEADER_ADDR is defined in sysinfo.h
////////////////////////////////////////////////////
// Unique ID for each binary used to identify the binary entity in the packed binary
// If changed, need to sync them to PackList_X.txt
////////////////////////////////////////////////////
// Code: Audio
#define BIN_ID_CODE_AUDIO 0x0000
#define BIN_ID_CODE_JPEG 0x0001
// Code: VD
#define BIN_ID_CODE_VD_DSP 0x0010
#define BIN_ID_CODE_VD_DSP_NTSC 0x0011
// Code: MVD
#define BIN_ID_CODE_MVD_HD 0x0020
#define BIN_ID_CODE_MVD_SD 0x0021
#define BIN_ID_CODE_MVD_SD_REDUCE 0x0022
#define BIN_ID_CODE_MVD_HDN 0x0023
// Code: Demux
#define BIN_ID_CODE_DEMUX 0x0030
// Code: Card reader
#define BIN_ID_CODE_CREADER 0x0040
#define BIN_ID_CODE_CREADER_PATCH 0x0041
// Code: Aeon
#define BIN_ID_CODE_AEON 0x0050
// Code: M4VD
#define BIN_ID_CODE_M4VD 0x0060
// Font: Range 0x0100-0x01FF. See MApp_LoadFont.c
// Bitmap: Range 0x0200-0x02FF. See MApp_LoadBitmap.c
// JPEG: Logo
#define BIN_ID_JPEG_BOOT_LOGO 0x0300
#define BIN_ID_JPEG_OSD_LOGO 0x0301
//Code: LZ
#define BIN_ID_CODE_LZ 0x0333
// String
#define BIN_ID_STRING 0x0400
#define BIN_ID_MELODY_ON 0x0701
#define BIN_ID_MELODY_OFF 0x0702
//OSDCOMPOSER
//#define BIN_ID_FONT_OSDCP_0 0x0800
//#define BIN_ID_FONT_OSDCP_1 0x0801
#define BIN_ID_OSDCP_BMP 0x0810
//#define BIN_ID_OSDCP_BMPINFO 0x0821
#define BIN_ID_OSDCP_TEXT 0x0822
#define BIN_ID_OSDCP_FONTPACK 0x0830
// Magic number
#define BIN_ID_MAGIC_55AAABCD 0xF000
////////////////////////////////////////////////////
/// Information of a binary section saved in the header of the packed file.
typedef struct BIN_FORMAT
{
U16 B_ID; //!< Unique ID
U32 B_FAddr; //!< Start address
U32 B_Len; //!< Length in bytes
} BINFORMAT;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -