Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 x86 Dropbear SSH <= 0.34 remote root exploit

/*
* /*
* Linux x86 Dropbear SSH <= 0.34 remote root exploit
* coded by live
*
* You'll need a hacked ssh client to try this out. I included a patch
* to openssh-3.6.p1 somewhere below this comment.
*
* The point is: the buffer being exploited is too small(25 bytes) to hold our
......

¸ß¼¶Linux³ÌÐòÉè¼ÆµÚÒ»Õ£ºÈëÃÅ

1¡¢ÓÃGCC±àÒë
1.1¡¢´´½¨Ô´Îļþ
(main.c) C Ô´Îļþ - main.c
#include
#include “reciprocal.hpp”
int main (int argc, char **argv)
{
    int i;
    i = atoi (argv[1]);
    printf (“The reciprocal of %d is %g\n”, i, reciprocal (i ......

linuxÏ mysqlÓû§µÄ¹ÜÀí

linux
ÏÂ mysql
Óû§µÄ¹ÜÀí
ÎÄÕ·ÖÀà:Êý¾Ý¿â
¹Ø¼ü×Ö: linux
mysql
Óû§¹ÜÀí

×Ô´ÓÉÏÔÚredhat Enterprise 5 Öа²×°ÁËMySQL
,Õâ´ÎÀ´Êµ¼ù²Ù×÷Ò»ÏÂMySQL
Óû§µÄ¹ÜÀí£»
 Ò»¡¢rootÓû§ÃÜÂëµÄά»¤£º
       ÓÉÓÚ°²×°MySQL
Íêºó,MySQL
»á×Ô¶¯Ìṩһ¸ö²»´ø ......

Linux ѧϰʹÓà iptables


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

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

LinuxÏÂMySQL5.1µÄ°²×°

×î½üÏëÔÚ·þÎñÆ÷ÉÏÊÔÊÔMySQL5.1µÄ·ÖÇø£¬ÓÚÊǾÍÏë×Å×°¸öMySQL5.1£¬¾­¹ýÍ´¿àµÄÒ»¶Î¾­Àúºó£¬ÖÕÓÚÕÒ¸öÏÂÃæ×°¸öºÜºÃµÄ½Ì³Ì£¬ÌûÉÏÀ´±¸Íü¡£
1¡¢MySQLÃâ°²×°°æ/¶þ½øÖưæÈí¼þ£¬²»ÓñàÒ룬ÏÂÔØµØÖ·£º
     http://dev.mysql.com/downloads/
     Îļþ¸ñʽ£ºMYSQL-VERSION-OS.tar.gz
2¡¢´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ