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.

Omap4460:Camera server will die when hw decoder is given a large IDR frame .

Hi all,

When I give hw decoder a large IDR frame(VGA,more than 80KBit), Camera server will die.

Does the input size of decoder need to be smaller than a specified value?

Can I control the buffer size of the decoder ?

This case is based on android 4.0.

Regards

changwenliang

  • do you mean mediaserver or cameraservice? Are you running camera and video decode in parallel?

    Please share the logs.

  • I have found the point.

    When I create decoder handle, I set parameters like this "*errorCode = omxDecoder->setupPortParameters(0, 320, 240, 24);"

    And I thought that this parameter will reconfigure automatically.However when I gave decoder 640*480 bitstreams(a Larger IDR frame), Logcat will print camera server died.

    And When I configure it (0, 640, 480, 24), the problem is gone.I think here you must set the largest size thar you would use.