any one have used the CCS to simulate the cortex-a8 kernel of OMAP3530?

and any one have the document of NENO programing or examples?

any comment will be appreciated. 




huahua5
2008-08-07



发件人: Ring, Chris
发送时间: 2008-07-31 21:07:10
收件人: minhong; davinci-linux-open-source
抄送: 
主题: RE: Questions about codec engine

Multiple process support (which includes your multiple application use case) 
was added in Codec Engine 2.00.  Prior to that release, you're limited to a 
single process (multiple threads within that process is supported).

Also, when using multiple processes, if you're running remote algorithms on 
another processor (e.g. DM644x, DM6467), you must use LAD:
http://wiki.davincidsp.com/index.php?title=Link_Arbiter_Daemon

Given all that, on to your questions:
   1.  Yes, you can - and must(!) -  call CERuntime_init() from both processes.
   2.  Your use case should work; please confirm which version of CE you're 
using (must be > 2.00 as described above) if you want us to report further 
details about the assert you're seeing.

Chris




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of minhong
Sent: Thursday, July 31, 2008 2:27 AM
To: davinci-linux-open-source
Subject: Questions about codec engine


Hi, all,
      I've several questions that need your help.

     1. 
     If I have two applications said A1(used to encode MPEG4) and A2(used to 
decode JPEG), 
     I think I'll have CERuntime_init() called in each application. When I 
execute A2 after A1 is
     executed and still running, the two applications seem to terminate 
together. So, what's wrong
     for this situation ? May I call CERuntime_init() while the other process 
has called it ?


     2.
     As mentioned in 1. what is the correct way if I want to show JPEG 
repeatedly while MPEG4 is being
     encoded. ? I used two threads for different jobs (one for MPEG4 encoding, 
said video_thread and one for
     JPEG decoding, said image_thread). When the video_thread is running, I'll 
do some command to
     invoke the jpeg_thread for decoding a picture. Eventually, I'll got the 
message:

                 ERROR: assertion violation: Sem_posix.c, line308

     and the application is halt.

     I'm wondering if I can call any IMGDEC_control/IMGDEC_process API if 
VIDENC_process is
     repeatedly called in the video_thread.



minhong.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to