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.

Linux/DRA746: Whether J6 Android release camera application support Ethernet camera ( H.264 stream mode ) ?

Part Number: DRA746

Tool/software: Linux

Hi Expert:

Customer connect Ethernet camera to J6 board. The Ethernet camera is H.264 streaming code.

Their software base is 6AL.1.2, use J6 DRA746 runing android system. 

We find that at /mydroid/hardware/ti/dra7xx/camera folder contain omxframedecoder.cpp, it contain MJPEG and H.264 camera support.

Does TI android 6AL.1.2 camera application can support use IVAHD decode camera H.264 steaming and preview to LCD?

if TI android release did not support it, whether can provide some example about run H.264 decode at camera HAL layer?

Because we find that at 6AM.1.2 TI have removed omxframedecoder.cpp contain H.264 support feature.

Best Regards!

Han Tao

  • Hi,

    I have forwarded your question to the Android-Camera experts.

    Regards,
    Yordan
  • Hi ,

    The Camera HAL on DRA7xx Android SDK supports YUV stream video format capture and preview.
    However, the camera HAL can be extended to integrate .h264 decoders (via Android Media Codec or libdce) to support .h264 camera stream capture and preview to display. We have media codec support for decoding .h264 streams on IVAHD accelerators. Alternately you can also integrate libdce (TI HAL for Video decode/encode) into camera HAL for supporting .h264 stream decoding.

    The file/ code you have highlighted from 6AL.1.x (as shown below) is the legacy code from OMAP4 SW architecture, and we have cleaned it up during 6AM.1.x release.
    "We find that at /mydroid/hardware/ti/dra7xx/camera folder contain omxframedecoder.cpp, it contain MJPEG and H.264 camera support"

    Since MediaCodec APIs are standard Android APIs, you can follow Android documentation and integrate media codec path into Camera HAL.

    Thanks & Regards,
    Sunita.