📄 sync.h
字号:
#ifndef EXECTIVE
#define LWTempR20 %0x1000
#define LWTempR21 %0x1004
#define LWTempR22 %0x1008
#define LWTempR23 %0x100c
#define LWTempR24 %0x1010
#define LWTempR25 %0x1014
#define LIMpegAttr %0x1018
#define LWStatusReg %0x101c
#else
#include "globalv.h"
#endif
#if LS388
#define MPEG_VID_SETUP 0x804>>2
#define MPEG_VID_FIFO_CUR_ADR 0x810>>2
#define MPEG_VID_FIFO_CUR_BYTE 0x81c>>2
#define MPEG_VID_FIFO_TOT_BYTE 0x824>>2
#define MACROBLK_HEIGHT 0x82c>>2
#define AUDIO_CTRL 0x700>>2
#define VSYNC_CTRL 0x704>>2
#define VSYNC_STATUS 0x708>>2
#define WAIT_LINE 0x70c>>2
#define V_DEC_FRAME_PER 0x710>>2
#define STC_INTERVAL 0x714>>2
#define STC 0x718>>2
#define TOP_BITS 0x71c>>2
#define VIDEO_PTS 0x750>>2
#define AUDIO_PTS 0x754>>2
#define VID_SYNC_DEBUG 0x760>>2
#define SYNC_PTS_DEBUG 0x764>>2
#define FRAME_NUMBER 0x768>>2
#define VIDEO_DTS 0x76c>>2
#define DSP_INT_STATUS 0x770>>2
#define DSP_INT_CTRL 0x774>>2
#define DSP_INT_CLEAR 0x77c>>2
#define VID_DRAM_LINE_LENGTH 0xb04>>2
#define VIR_OFFSET 0xb24>>2
#define VID_HOR_SCALE 0xb28>>2
#define VID_VIR_SCALE 0xb2c>>2
#else // LS388
#define MPEG_VID_SETUP 0x184>>2
#define MPEG_VID_FIFO_CUR_ADR 0x190>>2
#define MPEG_VID_FIFO_TOT_BYTE 0x1a4>>2
#define MACROBLK_HEIGHT 0x1b0>>2
#define AUDIO_CTRL 0x200>>2
#define VSYNC_CTRL 0x204>>2
#define VSYNC_STATUS 0x208>>2
#define WAIT_LINE 0x20c>>2
#define V_DEC_FRAME_PER 0x210>>2
#define STC_INTERVAL 0x214>>2
#define STC 0x218>>2
#define TOP_BITS 0x21c>>2
#define VIDEO_PTS 0x250>>2
#define AUDIO_PTS 0x254>>2
#define VID_SYNC_DEBUG 0x260>>2
#define SYNC_PTS_DEBUG 0x264>>2
#define FRAME_NUMBER 0x268>>2
#define VIDEO_DTS 0x26c>>2
#define DSP_INT_STATUS 0x270>>2
#define DSP_INT_CTRL 0x274>>2
#define DSP_INT_CLEAR 0x27c>>2
#define VID_DRAM_LINE_LENGTH 0x304>>2
#define VIR_OFFSET 0x324>>2
#define VID_HOR_SCALE 0x328>>2
#define VID_VIR_SCALE 0x32c>>2
#endif // LS388
//#define HOST_CTRL 0x010>>2
//#define MPEG_V_CTRL 0x180>>2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -