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

📄 pscon_mem.s

📁 samsung 9908DVD源代码,
💻 S
字号:
/******************************************************************************
* Copyright (c) 2004 VOISO Semiconductor co.,Ltd. All Rights Reserved.
*
* VOISO Semiconductor has intellectual property rights on the PITCH &
* SPEED CONTROL algorithm.
*
* DESCRIPTION
*
* @module  : Variables for Pitch & Speed Control
* @author1 : Jae-Hoe Yang (+82-51-510-2173, jhyang@voiso.com)
* @author2
* @version : 2.1
* @log
*   - 2004.04.02 : insert compile options & implement high quality (ver 2.1)
*   - 2004.03.20 : code size down & mips up<quality up(a little)> (ver 2.0)
*   - 2004.02.10 : add 'PSconFunc' function (ver 1.2)
*   - 2004.02.04 : revision (ver 1.1)
*   - 2003.10.11 : complete (ver 1.0)
*   - 2003.09.20 : start code generation
* @mips (ref. Fs=44.1kHz, STEREO, about 288000-samples Tested) : data dependent
*  --> For more details, refer to "code_summary.txt" file.
*      (High-Quality option & Worst Case Condition)
*  <1> Pitch Control
*      --> about  MP3-14.5 / MPG-16.1 / WMA-13.8  MIPS
*  <2> Speed Control : final mips = result(mips)/rate(fast or slow)
*      --> about  MP3-24.1 / MPG-27.6 / WMA-22.5  MIPS
*  <3> Pitch & Speed Control : final mips = result(mips)/rate(fast or slow)
*      --> about  MP3-37.3 / MPG-42.2 / WMA-34.8  MIPS
******************************************************************************/


.include "config_pscon.h"



;//==========================================================================//
;// [2] PITCH ONLY RAM SECTION
;//==========================================================================//
PitchOnlySection     SECTION       UDATA, DM, WORD3, ABS StartAddress_Xmem_Mac
                  PitchOnlySection
;-------------------------------
PtBuff1::         		DS3     32
PtBuff0::        		DS3     32
PdwBuf::          		DS3     32
cBuff_L::        		DS3     2
cBuff_R::         		DS3     2


PitchOnlySection_calm     SECTION       udata, OVERLAY, ABS StartAddress_Ymem_Mac
                  PitchOnlySection_calm
;-------------------------------
_PtBuff1::         		dsw     32
_PtBuff0::        		dsw     32
_PdwBuf::          		dsw     32
_cBuff_L::        		dsw     2
_cBuff_R::         		dsw     2


;------------------------------------------------------------------------------
PitchOnlyWMAvar      SECTION       UDATA, DM, WORD3, OVERLAY, ABS StartAddress_Xmem_Mac+100
                  PitchOnlyWMAvar
;-------------------------------
WMAPdBuff_L::
MP3PdBuff_L:: 
MPGPdBuff_L::			DS3		576*2

WMAPsBuff_L::
MP3PsBuff_L::
MPGPsBuff_L::     		DS3		576*3+50

.if (MONO_MODE)	
WMAPdBuff_R::
MP3PdBuff_R::
MPGPdBuff_R::     	//	DS3		576*2
WMAPsBuff_R::
MP3PsBuff_R::
MPGPsBuff_R::     	//	DS3		576*3+50
.else
WMAPdBuff_R::
MP3PdBuff_R::
MPGPdBuff_R::     		DS3		576*2
WMAPsBuff_R::
MP3PsBuff_R::
MPGPsBuff_R::     		DS3		576*3+50
.endif

/*
;------------------------------------------------------------------------------
PitchOnlyWMAvar      SECTION       UDATA, DM, WORD3, OVERLAY, ABS StartAddress_Xmem_Mac+100
                  PitchOnlyWMAvar
;-------------------------------
WMAPdBuff_L::     DS3		FRAME_WMA*2
WMAPsBuff_L::     DS3		FRAME_WMA*3+50
WMAPdBuff_R::     DS3		FRAME_WMA*2
WMAPsBuff_R::     DS3		FRAME_WMA*3+50


;------------------------------------------------------------------------------
PitchOnlyMP3var      SECTION       UDATA, DM, WORD3, OVERLAY, ABS StartAddress_Xmem_Mac+100
                  PitchOnlyMP3var
;-------------------------------
MP3PdBuff_L::     DS3		FRAME_MP3*2
MP3PsBuff_L::     DS3		FRAME_MP3*3+50
MP3PdBuff_R::     DS3		FRAME_MP3*2
MP3PsBuff_R::     DS3		FRAME_MP3*3+50

;------------------------------------------------------------------------------
PitchOnlyMPGvar      SECTION       UDATA, DM, WORD3, OVERLAY, ABS StartAddress_Xmem_Mac+100
                  PitchOnlyMPGvar
;-------------------------------
MPGPdBuff_L::     DS3		FRAME_MPG*2
MPGPsBuff_L::     DS3		FRAME_MPG*3+50
MPGPdBuff_R::     DS3		FRAME_MPG*2
MPGPsBuff_R::     DS3		FRAME_MPG*3+50
*/


;//==========================================================================//
;// [4] ROM TABLE SECTION
;//==========================================================================//
;------------------------------------------------------------------------------

PitchROMvar          SECTION       UDATA, DM, WORD3, ABS StartAddress_Ymem_Mac
                  PitchROMvar
;-------------------------------
SemiToneTab::     DS3     50
PitchTable::      DS3     50
SpeedTable::      DS3     22







   END
   

⌨️ 快捷键说明

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