Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Idma.h
Package: SDK_M5661.rar [view]
Upload User: hjhsjcl
Upload Date: 2020-09-25
Package Size: 11378k
Code Size: 3k
Category:
Compress-Decompress algrithms
Development Platform:
C++ Builder
- /*==========================================================================
- Copyright (c) 2004 ALi Corporation. All Rights Reserved
- File: Idma.h
- content: Idma Transfer functions defination
- History: Created by TNE 2004/5/10
- ==========================================================================*/
- //Registers Definition
- #define IDMA_ACT_EN 0x40
- #define IDMA_ACT_DIS 0xbf
- #define DSP_W16 0
- #define DSP_W24 1
- //======================== Select Compiler Module =========================
- // mark #define to Unselect this module
- //#define TEST_DEBUG
- #if(_PM_PLAY_PRC_|_PM_MTP_|_PM_REC_|_PM_PHOTO_|_PM_VIDEO_|_PM_CUSTOM_)
- #define USE_IdmaPioPmW
- #define USE_IdmaDmyW
- #define USE_IdmaPmW
- #endif
- #define USE_IdmaPioDmxW
- #define USE_IdmaPioDmxR
- #if(!_PM_FM_)
- #define USE_IdmaDmxW
- #endif
- #if(!_PM_PLAY_PRC_)
- #if((_PM_PLAY_|_PM_SLS_)&UI_CUSTOM_EQ_LOAD_FROM_NAND) //Walace060313#2
- #define USE_IdmaPioDmyW
- #endif
- //#define USE_IdmaPioPmR
- //#define USE_IdmaPioDmyR
- #define USE_IdmaDmxR
- #if(_PM_REC_) //tne 2006/01/27 #1
- #define USE_IdmaDmyR
- #endif
- #endif
- //========================== API Defination ===========================
- #ifdef _IDMA_H_
- #define EXTERN
- #define _AT_(addr) _at_ addr
- #else
- #define EXTERN extern
- #define _AT_(addr)
- #endif
- #ifdef USE_IdmaPioPmW
- EXTERN API void IdmaPioPmW(void *pbSourceAddr,WORD wTargetAddr,WORD wLen) large;
- #endif
- #ifdef USE_IdmaPioDmxW
- EXTERN API void IdmaPioDmxW(void *pbSourceAddr,WORD wTargetAddr,WORD wLen,BOOL fWidth24) ; //Walace061228#CodeSize
- #endif
- #ifdef USE_IdmaPioDmyW
- EXTERN API void IdmaPioDmyW(void *pbSourceAddr,WORD wTargetAddr,WORD wLen,BOOL fWidth24) large;
- #endif
- #ifdef USE_IdmaPioPmR
- EXTERN API void IdmaPioPmR(WORD wSourceAddr,void *pbTargetAddr,WORD wLen) large;
- #endif
- #ifdef USE_IdmaPioDmxR
- EXTERN API void IdmaPioDmxR(WORD wSourceAddr,void *pbTargetAddr,WORD wLen,BOOL fWidth24) ; //Walace061228#CodeSize
- #endif
- #ifdef USE_IdmaPioDmyR
- EXTERN API void IdmaPioDmyR(WORD wSourceAddr,void *pbTargetAddr,WORD wLen,BOOL fWidth24) large;
- #endif
- #ifdef USE_IdmaPmW
- EXTERN API void IdmaPmW(WORD wDSPAddr,WORD wLen) large;
- #endif
- #ifdef USE_IdmaDmxW
- EXTERN API void IdmaDmxW(WORD wDSPAddr,WORD wLen,BOOL fWidth24) large;
- #endif
- #ifdef USE_IdmaDmyW
- EXTERN API void IdmaDmyW(WORD wDSPAddr,WORD wLen,BOOL) large;
- #endif
- #ifdef USE_IdmaDmxR
- #if(_PM_PHOTO_|_PM_VIDEO_|_PM_REC_)
- EXTERN API void IdmaDmxR(WORD wDSPAddr,WORD wLen) large;
- #endif
- #endif
- #ifdef USE_IdmaDmyR
- EXTERN API void IdmaDmyR(WORD wDSPAddr,WORD wLen) large;
- #endif
- #ifdef TEST_DEBUG
- //Only for test!!
- #define TEST_NUM 5
- #define TEST_DSP_ADDR 0x00
- EXTERN API void IdmaPioDebugW(void *pbSourceAddr,WORD wTargetAddr,WORD wLen) large;
- EXTERN API void IdmaPioDebugR(WORD wSourceAddr,void *pbTargetAddr,WORD wLen) large;
- EXTERN API void piorw_test(void) large;
- #endif
- #undef EXTERN
- #undef _AT_