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

Reply via email to