One way of implementing tunneling mode that I've discussed with PV in the past is hiding the codec behind the MIO. In this case, the MIO indicates that it supports a compressed stream on its input port. In this case, the player engine doesn't instantiate a codec in the graph, but sends the compressed data directly to the MIO.
This is all theoretical at this point; I'm not aware of anyone who has tried it. On Feb 15, 6:19 pm, Jag Dev <[email protected]> wrote: > Hi Ravi, > > Can you please comment on this? If we can achieve tunneled mode encoders and > decoders using the following approach: > > Can you please suggest me if I implement my own MIOs can I acheive tunneled > decdoding and encoding for audio? > > > > > 1. My understanding was MIOs are used for writing to hardware (decoded > > frames) and Reading from hardware (frames to be encoded)? > > > 2. Decoding and Encoding should still happen using PVMF nodes (PVData paths > > and using PV player engine and Pv Nodes)? > > > Please correct me if I am wrong? > > > Thanks for your time. > > Jagan > > > On Sat, Feb 14, 2009 at 10:02 AM, Dave Sparks > > <[email protected]>wrote: > > >> My understanding is that PV is working on improving support for > >> tunneled mode. I'm not sure when you'll see those changes in the open > >> source tree, perhaps a PV representative can comment. > > >> On Feb 13, 9:03 pm, Jag Dev <[email protected]> wrote: > >> > Hi, > > >> > I am planning to implement tunneled mode for only audio decoders and > >> > encoders. I see that the PVOMXAudioDecNode always expects > >> FillBufferDones. > > >> > The behavior is that the decoding is going through fine (using the OMX > >> > decoders), but the UI is not getting updated? > > >> > Thanks > >> > Jagan > > >> > On Thu, Feb 12, 2009 at 7:29 PM, Dave Sparks <[email protected] > >> >wrote: > > >> > > Are the frames arriving in the MIO (android_surface_output.cpp)? If > >> > > so, do you have appropriate code in there to deliver the frames to > >> > > your video device? > > >> > > On Feb 12, 10:34 am, Jag Dev <[email protected]> wrote: > >> > > > Hi, > > >> > > > 1. Do we have support for MIO (Modular I/O library) in android? > > >> > > > 2. For now we have support only for non-tunneled mode encoders and > >> > > decoders > >> > > > support in PV opencore. Is there anyway we can enable tunneled mode > >> > > > operation? I tried that, but the application is not behaving > >> properly > >> > > (the > >> > > > UI updates are not happening) > > >> > > > Thanks > >> > > > Jag --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---
