+list ---------- Forwarded message ---------- From: Deva R <[email protected]> Date: Fri, Apr 30, 2010 at 3:39 PM Subject: Re: [android-porting] some quesitions for new decoder integration process of opencore framework To: song guo <[email protected]>
android eclair by default have arm jpeg decoder at ./external/skia/src/images/SkImageDecoder_libjpeg.cpp link: http://git.omapzoom.org/?p=patch/platform/external/skia.git;a=blob;f=src/images/SkImageDecoder_libjpeg.cpp however, for mjpeg, i feel its more relevant to follow a video decoder component.. On Fri, Apr 30, 2010 at 8:30 AM, song guo <[email protected]> wrote: > Hi Deva, > Thank you very much, > But I walk through the links you provided, however, can not find the jpeg > component. > I am afraid jpeg component has not been implemented in open core yet. > Is there any other resource where I can turn to for a sample jpeg component > or better mjpeg component? > best regards, > dadao > > On Thu, Apr 29, 2010 at 10:10 PM, Deva R <[email protected]> wrote: >> >> On Thu, Apr 29, 2010 at 9:01 PM, song guo <[email protected]> wrote: >> > Hi Deva, >> > Have you got my previous mail? >> > I am looking forward to your reply. >> > Thank you very much, >> > Best Regards, >> > Dadao >> > On Tue, Apr 27, 2010 at 5:40 AM, Deva R <[email protected]> wrote: >> >> >> >> i have a brief idea about how opencore, pvmf work, and pls find my >> >> inputs >> >> below. >> >> >> >> > 3. when pvmf first sends fillthisbuffer command to component,I >> >> > wonder >> >> > how pvmf could indicate the component where the file is? >> >> Component dont need to know the file, but a buffer to operate on.. >> >> PVMIF parses video/image file, reads header, gets encoded data, and >> >> sends it to component via PV OMX video/image decode node >> >> >> >> > 4. If the file needs to be serialized before filling in the input >> >> > buffer and who serialize it component or pvmf? >> >> should be PVMF., as said above, components dont need to be aware of >> >> source files.. >> >> >> >> > 1. can I directly inherit the omx_component_video class to form my >> >> > own >> >> > mjpeg component? >> >> Not sure, we;ll wait for opencore experts. >> >> >> >> >> >> > 2. how pvmf consumes the output buffer of the component, what kind of >> >> > decoded data should i put onto the output buffer so that these data >> >> > will be recognized by pvmf and played (this helps me to design my >> >> > decoder) >> >> It should be one of the uncompressed video format and subformat (say >> >> YUV420 semiplanar), understandable by video MIO to be displayed.. >> >> u can refer exisiting jpeg component how he fills the o/p buffer, and >> >> what format. >> >> >> >> >> >> >> >> On Mon, Apr 26, 2010 at 8:12 PM, dadaowuwei <[email protected]> >> >> wrote: >> >> > Hi, >> >> > I am quite new for android onpencore framework and have some >> >> > questions for integrating process of a new openmax mjpeg component >> >> > 1. can I directly inherit the omx_component_video class to form my >> >> > own >> >> > mjpeg component? >> >> > 2. how pvmf consumes the output buffer of the component, what kind of >> >> > decoded data should i put onto the output buffer so that these data >> >> > will be recognized by pvmf and played (this helps me to design my >> >> > decoder) >> >> > 3. when pvmf first sends fillthisbuffer command to component,I >> >> > wonder >> >> > how pvmf could indicate the component where the file is? >> >> > 4. If the file needs to be serialized before filling in the input >> >> > buffer and who serialize it component or pvmf? >> >> > thank you very much, >> >> > Best Regards, >> >> > Dadao >> >> > >> >> > -- >> >> > unsubscribe: [email protected] >> >> > website: http://groups.google.com/group/android-porting >> >> > >> > >> > > > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
