[Miscellaneous Android Development] h33x:
I duplicate my message from main thread and in future continue posting here.

---------------START QUOTE--------------------

Not sure, that I continue test and find this:

1) free memory size in settings apk and /proc/meminfo not equal. In settings i view, that I have 150MB free mem. In meminfo size is 64MB.

2) After record start I found in logs this errors:

E/OMXCodec( 125): [OMX.qcom.video.encoder.avc] Found supported color format: 21
E/OMX-VENC-720p( 125): get_parameter: OMX_IndexParamVideoProfileLevelQuerySupported for Input port returned Profile:1, Level:512
E/OMX-VENC-720p( 125):
E/OMX-VENC-720p( 125): venc_set_intra_period: nPFrames = 29 nBFrames = 0
I/str_params( 125): key: 'tunneled-input-formats' value: 'get'
D/AudioHardware7x30( 125): AudioHardware::openInputStream devices 8000000 format 1 channels 16 samplerate 48000
D/AudioSource( 125): Start autoramp from 108000
D/AudioHardware7x30( 125): AudioStreamInMSM72xx::standby()
D/AudioHardware7x30( 125): AudioStreamInMSM72xx::standby()
I/MPEG4Writer( 125): limits: 702779264/0 bytes/us, bit rate: 8156000 bps and the estimated moov size 405000 bytes
I/MPEG4Writer( 125): Start time offset: 1000000 us
E/OMX-VENC-720p( 125):
[COLOR="Red"][B]E/OMX-VENC-720p( 125): ERROR: MMAP_FAILED in o/p alloc buffer[/B][/COLOR]
E/OMXNodeInstance( 125): OMX_AllocateBuffer failed with error -2147479552 (0x80001000)
E/OMXCodec( 125): allocate_buffer_with_backup failed
E/OMXCodec( 125): [OMX.qcom.video.encoder.avc] Allocate Buffer failed - error = -2147483648
E/OMXCodec( 125): [OMX.qcom.video.encoder.avc] init failed: -2147483648
E/MediaRecorder( 3770): start failed: -2147483648
E/CAM_VideoModule( 3770): Could not start media recorder.
E/CAM_VideoModule( 3770): java.lang.RuntimeException: start failed.
E/CAM_VideoModule( 3770):	at android.media.MediaRecorder.start(Native Method)
E/CAM_VideoModule( 3770):	at com.android.camera.VideoModule.startVideoRecording(VideoModule.java:1194)
E/CAM_VideoModule( 3770):	at com.android.camera.VideoModule.onShutterButtonClick(VideoModule.java:532)
E/CAM_VideoModule( 3770):	at com.android.camera.ShutterButton.performClick(ShutterButton.java:126)
E/CAM_VideoModule( 3770):	at android.view.View$PerformClick.run(View.java:18429)
E/CAM_VideoModule( 3770):	at android.os.Handler.handleCallback(Handler.java:733)
E/CAM_VideoModule( 3770):	at android.os.Handler.dispatchMessage(Handler.java:95)
E/CAM_VideoModule( 3770):	at android.os.Looper.loop(Looper.java:136)
E/CAM_VideoModule( 3770):	at android.app.ActivityThread.main(ActivityThread.java:5081)
E/CAM_VideoModule( 3770):	at java.lang.reflect.Method.invokeNative(Native Method)
E/CAM_VideoModule( 3770):	at java.lang.reflect.Method.invoke(Method.java:515)
E/CAM_VideoModule( 3770):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
E/CAM_VideoModule( 3770):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/CAM_VideoModule( 3770):	at dalvik.system.NativeStart.main(Native Method)
V/CAM_VideoModule( 3770): Releasing media recorder.

this error really caused memory deficit.

I view current codecs and profiles, they identical with official firmware.

I try install and start old Huawei camera app and report about this.

------------------END QUOTE-----------------

I install stock camera application and have same error. symbol-to-symbol.

when I find information about qualcomm SoC hardware decoder I find this post.

Any ideas?

PS. I download official codec samples and documentation and try find answer inside.