Hi, Thanks a lot for the inputs.
I think the codecs are running in the same server - for if I dynamically kill the MPEG application and do a JPEG its working very well. Just that I'm trying to do it in parallel. However is it possible to program where the codec should run- by server I was thinking the MJCP can work only as a single server(DSP server??) in the DM355 for the ARM. Or is there a mechanism I could run 2 servers on the same DSP... Please provide you inputs. Is there any other option in the DM355 to make it work in parallel. Further Could you please suggest me a point to dig in the DVSDK/(documentation or code) if its ever possible to make the JPEG and MPEG run in parallel or is it a HW limitation? Thank you Cheers, Deepak Shankar V -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Vladimir Pantelic Sent: Friday, March 27, 2009 12:36 PM To: [email protected] Cc: [email protected] Subject: Re: Suspend MPEG and do JPEG and vice versa on the fly Deepak Shankar-TLS,Chennai. wrote: > Hello all, > > I'm using the dm355-DVSDK, Montavista Linux and trying the demos - > encode and JPEG. All those are working very well when run as separate > processes. > > However, Now I'm trying to build a custom application which can do a > MPEG or JPEG based on some external events. > Something like when the GPIO is high dump an MPEG file. When it is low > capture a jpeg image every 1 second. > > The problem is I'm not able to use both the JPEG and the MPEG codecs > simultaneously. When the MPEG compression is in progress, a call to > the 'IMGENC1_create(ce, encoderName, &encParams)' is failing. Is this > a inherent nature of MJCP. Should I have to deinit the MPEG resources > when I want to do a JPEG, or is there a better way to do that. are the two codecs in the same server? if not, it cannot work. you will have to unload one to load the other I think. Even if they are in the same server, there could be system resources that cannot be shared, so a gain they would not work in parallel. _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
