⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 encode_mpeg_init.asm

📁 adi bf533视频编码程序
💻 ASM
字号:
#include <defBF533.h>

.extern     _ppi_dma_disable;
.extern     _videoin_dma;
.extern     _PPI_STOP;
.extern     _BF533_EZ_KIT_ISR_Config;
.extern 	_ppi_dma_ini;
.extern 	_ppi_dma_en;
.extern 	_BF533_EZ_KIT_PPI_Config;

.section L1_data_b;
.align 4;
//.global _refwin;
.global _MBy_match_16x16;
.global _MBy_match_4x8x8;
.global _MBy_match_uv;
//.byte _refwin[48*48];
.byte _MBy_match_16x16[256];
.byte _MBy_match_4x8x8[256];
.byte _MBy_match_uv[128];


.section L1_code;

.global _encode_mpeg_init;
_encode_mpeg_init:
	[--sp]=(r7:4,p5:3);
	[--sp]=rets;

	CALL _PPI_STOP;
	CALL _ppi_dma_disable;
	CALL _BF533_EZ_KIT_ISR_Config;	//Configure the Interrupt service routine
	//CALL BF533_EZ_KIT_SDRAM_Config;	//Configure the SDRAM
//	CALL _videoin_dma;
	CALL _ppi_dma_ini;
	CALL _ppi_dma_en;
	CALL _BF533_EZ_KIT_PPI_Config;	//start PPI module
	
	//CALL _BF533_EZ_KIT_DMA_Config_jpeg;	//Configure the DMA in Stop Mode
	//Configure the PPI 8bit, ITU-656 mode, Input Mode, Active Field Only......
	//CALL _BF533_EZ_KIT_PPI_Config_jpeg;	


	rets = [sp++];
	(r7:4,p5:3) = [sp++];
_encode_mpeg_init.end:
rts;    
    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -