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

📄 upsample_config.h

📁 三星ic 9980的源代码. 718版.
💻 H
字号:

.ifndef UPSAMPLE_CONFIG_H
.defvar UPSAMPLE_CONFIG_H

UPsample_xbase			equ			0

UPsample_ybase			equ			0x8000


//used in MDCT-------------------------
//cPI3_8 			equ		0x30fbc5
//cPI2_8 			equ		0x5a827a
//cPI1_8 			equ		0x7641af
//-----------------------------------
//For test=================================================
Key_Input			equ		0x4000		
UPsam_SB0_size		equ		0x5E80
UPsam_SB1_size		equ		0x4000
//=========================================================

UPInput_add		equ		0x7FFE
UpOutput_add	equ		0x7FFF
OutputSize		equ		960*3
OutputSize32	equ		640*4
OutputSize441	equ		882*3



//PostCodecShared_t==========================
UP_CodecStartFlag			equ		0x0
UP_pParameter_H				equ		0x02
UP_pParameter_L				equ		0x04
UP_NumberOfSamples			equ		0x06
UP_PCMResolution			equ		0x08
UP_DecodeErrFlag			equ		0x09
UP_SamplingRate_H			equ		0x0a
UP_SamplingRate_L			equ		0x0c
UP_InputBufferOffset_H		equ		0x0e
UP_InputBufferOffset_L		equ		0x10
UP_OutputBufferOffset_H		equ		0x12
UP_OutputBufferOffset_L		equ		0x14
UP_MicInputBufferOffset_H	equ		0x16
UP_MicInputBufferOffset_L	equ		0x18
UP_AudioMode				equ		0x1a


/*
HOST_EVENT_INT_EN					equ			0x40
UPLOAD_COMPLETE_INT_EN				equ			0x20
NEW_DOWNLOAD_INT_EN					equ			0x10

HOST_EVENT_INT_FALG					equ			0x40
UPLOAD_COMPLETE_INT_FLAG			equ			0x20
NEW_DOWNLOAD_INT_FLAG				equ			0x10

NEW_UPLOAD	 						equ			0
DOWNLOAD_COMPLETE					equ			1
ADM_EVENT	 						equ			2
CLEAR_NEW_DOWNLOAD_INT_FLAG			equ			4
CLEAR_UPLOAD_COMPLETE_INT_FLAG		equ			5
CLEAR_HOST_EVENT_INT_FLAG 			equ			6	


NOTOPEN				equ		0
PARTOPEN  			equ		1
OPENED    			equ		2
STREAMSET 			equ		3 /* serialno and link set, but not to current link * /
LINKSET   			equ		4 /* serialno and link set to current link * /
INITSET   			equ		5
*/







/*
OV_FALSE      		equ		-1  
OV_EOF        		equ		-2
OV_HOLE       		equ		-3
	
OV_EREAD      		equ		-128
OV_EFAULT     		equ		-129
OV_EIMPL      		equ		-130
OV_EINVAL     		equ		-131
OV_ENOTVORBIS 		equ		-132
OV_EBADHEADER 		equ		-133
OV_EVERSION   		equ		-134
OV_ENOTAUDIO  		equ		-135
OV_EBADPACKET 		equ		-136
OV_EBADLINK   		equ		-137
OV_ENOSEEK    		equ		-138

OGG_SUCCESS   		equ		0

OGG_HOLE   			equ		-10
OGG_SPAN   			equ		-11
OGG_EVERSION   		equ		-12
OGG_ESERIAL   		equ		-13
OGG_EINVAL	   		equ		-14
OGG_EEOS	   		equ		-15

//remain data and temp SB
remain_data			equ		0
remmain_flag		equ		2
dataOFF_H			equ		4
dataOFF_L			equ		6

at_S0base_H			equ		8
at_S0base_L			equ		10
at_SB0OFF_H			equ		12
at_SB0OFF_L			equ		14
at_SB0Begin_H		equ		16
at_SB0Begin_L		equ		18
at_SB0End_H			equ		20
at_SB0End_L			equ		22

at_S1base_H			equ		24
at_S1base_L			equ		26
at_SB1OFF_H			equ		28
at_SB1OFF_L			equ		30
at_SB1Begin_H		equ		32
at_SB1Begin_L		equ		34
at_SB1End_H			equ		36
at_SB1End_L			equ		38

f_rem_data_H		equ		40
f_rem_data_L		equ		42






temp_base			equ			0x6878		//0x4878		//0x5C14		//0x6814				//temp_data_bass address

//define for Upack_book
book_start_addr		equ		/*0x6814* / temp_base				//temp_data
maptype				equ		/*0x6815* / temp_base+1 			//temp_data+1
quantval			equ		/*0x6816* / temp_base+2 			//temp_data+2
ca_quantval			equ		0x200000+2*(temp_base+2)	//Calm side quantval
mark				equ		/*0x6817* / temp_base+3				//temp_data+3

work				equ		temp_base+37			//temp_data+37

//Temp register for Floor_inverse1
FLOOR1_INFO			equ 		temp_base+516

//Local values of Residue Inverse for MAC
nonzero				equ			temp_base+512			//size 2
zerobundle			equ			temp_base+514			//size 2
pcmbundle			equ			temp_base+516			//size 2
partword_0       	equ			temp_base+518			//size 190   
partword_1          equ			temp_base+708			//size 190
val                 equ		  	temp_base+898			//size 128     //max codebook->dim

//Local values of Residue Inverse for Calm
ca_zerobundle		equ			0x200000+2*(temp_base+514)
ca_pcmbundle		equ			0x200000+2*(temp_base+516)
ca_partword_0		equ			0x200000+2*(temp_base+518)	
ca_partword_1		equ			0x200000+2*(temp_base+708)



TEMP_PHRASEBOOK		equ			temp_base+1026
ca_beginoff_ch		equ			0x200000+2*(temp_base+1027)


lengthlist			equ			0x20A01A				//0x20601A	//use vd_work0, vd_work1 area 



*/

.endif /* ifndef UPSAMPLE_CONFIG_H */

⌨️ 快捷键说明

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