Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

OMAP DSP ѧϰ±Ê¼Ç£¨LINUXƽ̨£©£¨¶þ£©DMAI

DMAI(DaVinci Multimedia Application Interface)ÊÇDSPÌṩ¸øARM¶ËÓ¦ÓóÌÐòµÄµ÷Óýӿڣ¬DSPÒ²ÊÇÒÀÀµÓÚDSPLINKµÄ¡£ DMAIÖÐÒ²ÌṩÁËÐí¶àVISA (video, imaging, speech and audio)±à½âÂëµÄʵÀý¡£DMAIÌṩµÄÊÇÒ»ÖÖ¹¦ÄܵijéÏ󣬶øÔÚ¾ßÌåʵÏÖÉÏ£¬²»Í¬Ó²¼þƽ̨£¬²»Í¬ÏµÍ³ÊDz»Ò»¸öÑùµÄ¡£ÁíÍ⣬ÓÉÓÚDMAIÊÇÒÔÔ´´úÂëµÄÐÎʽÌṩµÄ£¬ËùÒÔ¿ÉÒÔÓÃÀ´²Î¿¼Íê³ÉһЩ±ðµÄÈÎÎñ£¬±ÈÈçÉ豸Çý¶¯¡£ DMAIµÄÓÅÊÆ£º 1. ÒÆÖ²ºÍÖØÓãºÀýÈçTI GStreamer plugin¾ÍÊÇ»ùÓÚDMAI£¬Ëü¿ÉÒÔ·½±ãµÄÒÆÖ²µ½ÆäËûµÄdavinciƽ̨¡£ 2. Èí¼þ½Ó¿ÚÒ»Ö£º         £¨1£©¶Ôµ×²ãÓ²¼þ¼ÓËÙ²¿·Ö³éÏó·â×°£¬Ê¹¿ª·¢Õß²»ÐèÒªÃ÷°×ƽ̨µÄÌØ¶¨ÊµÏÖ         £¨2£©Ö§³ÖËùÓеÄcodec£¬Ê¹¿ª·¢Õß²»±ØÃ÷°×xDM°æ±¾µÄϸ½ÚÓëÇø±ð         £¨3£©¶ÔÏÔʾµÄ³éÏó£¨FBDEVºÍV4L2£©         £¨4£©¹ÜÀíµ×²ãϸ½ÚÓë´íÎó´¦Àí ´úÂëʾÀý£º {
#include
#include
#include
#include
#include
#include
#include
#include

Adec_Handle hAd;
Loader_Handle hLoader;
Buffer_Handle hOutBuf, hInBuf;
Engine_Handle hEngine;
Sound_Handle hSound;
AUDDEC_Params params = Adec_Params_DEFAULT;
AUDDEC_DynamicParams dynParams = Adec_DynamicParams_DEFAULT;
Loader_Attrs lAttrs = Loader_Attrs_DEFAULT;
Buffer_Attrs bAttrs = Buffer_Attrs_DEFAULT;
Sound_Attrs sAttrs = Sound_Attrs_STEREO_DEFAULT;

CERuntime_init();
Dmai_init();
hSound = Sound_create(&sAttrs);
hEngine = Engine_open("myengine", NULL, NULL);
hAd = Adec_create(hEngine, "aacdec", ¶ms, &dynParams);
hOutBuf = Buffer_create(Adec_getOutBufSize(hAd), &bAttrs);
lAttrs.readSize = Adec_getInBufSize(hAd);
lAttrs.readBufSize = lAttrs.readSize * 2;
hLoader = Loader_create("myfile.aac", &lAttrs);
Loader_prime(hLoader, &hInBuf);

while (1) {
Adec_process(hAd, hInBuf, hOutBuf);
Sound_write(hSound, hOutBuf);


Ïà¹ØÎĵµ£º

linux Äں˰汾¼°²¹¶¡ËµÃ÷

ת×Ô£ºhttp://lkml.org/lkml/2005/8/2/242
--------------------------------------------------------------------------------------------
from
Jesper Juhl <>
Subject
Documentation - how to apply patches for various trees
Date
Tue, 2 Aug 2005 23:32:20 +0200
Hi,
How to apply the -rc, -git, ......

ÔÚLinuxÏÂÅäÖÃjdk»·¾³

Ò»¡¢JDKÏÂÔØ:http://java.sun.comÏÂÔØ×Ô½âѹ°ü:jdk.bin
#sh jdk.bin °´ÌáʾѡÔñyes¡£µ½´ËJDKÒѾ­°²×°Íê³É
¶þ¡¢ÉèÖû·¾³±äÁ¿
¼ÙÈçjdk°²×°µ½ÁË/usrĿ¼Ï¡£ÔÚ/etc/profileÖеÄ×îµ×¶ËÀïдÈëÈçÏÂ:
#vi /etc/profile
#Set Environment by NetSeek (2005/9/5)
export JAVA_HOME=/usr/jdk
export JRE_HOME=/usr/jdk/jre
PA ......

LinuxÍøÂç»ù´¡

ÒÔDebianµÄ·½Ê½ÏµÁÐ(IN THE DEBIAN WAY):
LinuxÍøÂç»ù´¡
etony C.F.AN etony@tom.com
v0.0.1, 2006-7-23
--------------------------------------------------------------------------------
±¾ÎĵµÖ÷Òª½éÉܽ²ÊöÔÚ DebianϵͳÏÂÓйØÍøÂçµÄһЩ»ù±¾ÐÅÏ¢.
------------------------------------------------------- ......

linux ͼÐνçÃæ

¹ØÓÚlinuxͼÐνçÃæµÄ»ù±¾ÖªÊ¶
×÷Õß:GuCuiwen email:win2linux@163.com 
    ºÜ¶àLinux³õѧÕß·Ö²»Çå³þLinuxºÍXÖ®¼ä, XºÍXfree86Ö®¼ä, XºÍKDE, GNOMEµÈÖ®¼äÊÇʲô¹ØÏµ. ³£³£»ìÏý¸ÅÄî,ÎÒÏëÒԱȽÏÒ×ÓÚÀí½âµÄ·½Ê½ËµÃ÷Ò»ÏÂX,X11,XFREE,WM,KDE,GNOMEµÈÖ®¼äµÄ¹ØÏµ.ÓÉÓÚ±¾ÈËˮƽÓÐÏÞ¿ÉÄÜ´æÔÚ´íÎó,Çë¸ßÊÖÖ¸Õý ......

Linux ѧϰʹÓà iptables


ÔÚÕýʽ½éÉÜ iptables
µÄʹÓÃ
֮ǰ£¬ÎÒÃÇÏÈÀ´¿´Ò»ÏÂºÍ iptables

Ïà¹ØµÄһЩ»ù±¾¸ÅÄî¡£ÎÒÃÇÏÂÃæ½«»áƵ·±Ê¹ÓÃ
µ½
ËüÃÇ¡£
Æ¥Å䣨match£©£º·ûºÏÖ¸¶¨µÄÌõ¼þ£¬±ÈÈçÖ¸¶¨µÄ IP µØÖ·ºÍ¶Ë¿Ú¡£
¶ªÆú£¨drop£©£ºµ±Ò»¸ö°üµ½´ïʱ£¬¼òµ¥µØ¶ªÆú£¬²»×öÆäËüÈκδ¦Àí¡£
½ÓÊÜ£¨accept£©£ººÍ¶ªÆúÏà·´£¬½ÓÊÜÕâ¸ö°ü£¬ÈÃÕâ¸ö°üͨ¹ý¡£
¾ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ