This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

i can't find render component of omap4430 in android

hi all, i can't find render component of omap4430 in android, my  device is  LG P920 android2.2.  omap4430 component list :
OMX.TI.DUCATI1.VIDEO.H264D
OMX.TI.DUCATI1.VIDEO.H264E
OMX.TI.DUCATI1.VIDEO.MPEG4D
OMX.TI.DUCATI1.VIDEO.MPEG4E
OMX.TI.DUCATI1.VIDEO.VP6D
OMX.TI.DUCATI1.VIDEO.VP7D
OMX.TI.DUCATI1.IMAGE.JPEGD
OMX.ITTIAM.AAC.encode

are u study the omap4430 video decode and playback?

  • Do you meant Surface Renderer?

    for example, the process starts in Gallery application, it uses VideoView.java that connects surface and mediaplayer to play a video media file, it goes all the process down to media service and then calls Android's StageFright (AwesomePlayer / OMXCodec) or OpenCore (depending on supported format), this selects the Hardware composer / Hardware Renderer in case it is available, in this case it is TIHardwareRenderer that connects to libstagefrighthw.so that could be the library you are searching. it seems to be a separated path from decoding libraries.

    I could missed some system parts in between.

    some useful links are:

    about renderer and HW selection;

    http://developer.android.com/reference/android/view/View.html
    http://developer.android.com/reference/android/view/View.html#LAYER_TYPE_SOFTWARE
    http://developer.android.com/reference/android/view/View.html#setLayerType%28int,%20android.graphics.Paint%29

    and i think easiest way to play a media file using Android is by using VideoView, it supports suspend/resume and it allows to set the surface easily.the other option is to use the mediaplayer object directly but it will require a little more of effort but it offers some more flexibility too. and either of them mediaplayer selects between Stagefright or OpenCore and then the necessary codec, being the same for surface path between software and hardware renderer.

    http://developer.android.com/guide/topics/media/index.html

    http://developer.android.com/guide/topics/media/mediaplayer.html

    http://developer.android.com/reference/android/widget/VideoView.html

    http://developer.android.com/reference/android/media/MediaPlayer.html

    remember to wait for onprepare() to finish before calling start(); the mediarecord part is interesting too.

    you can install Android SDK + Eclipse to get access to coding and debugging tools like DDMS perspective that includes push/pull files, memory trace, screen capture,  and step over/into. and you have access to visual representation of actual project's layout and views properties like full screen.

    http://developer.android.com/sdk/index.html

    http://developer.android.com/sdk/installing.html

    http://developer.android.com/sdk/eclipse-adt.html

    http://developer.android.com/guide/topics/fundamentals.html

    http://developer.android.com/guide/topics/ui/index.html

    http://developer.android.com/guide/topics/resources/index.html

    http://developer.android.com/guide/topics/fundamentals/activities.html

    http://developer.android.com/guide/practices/screens_support.html

    http://developer.android.com/guide/practices/ui_guidelines/index.html

    http://developer.android.com/guide/developing/tools/index.html

    http://developer.android.com/guide/developing/debugging/index.html

    http://developer.android.com/guide/topics/security/security.html

    ---------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------