diepquynh / android_device_samsung_grandprimeve3g

Device tree for Samsung Galaxy Grand Prime VE SPRD SM-G531H
18 stars 26 forks source link

cm-12.1: HW encoder produces wrong color with recorded camera videos #1

Closed diepquynh closed 7 years ago

diepquynh commented 7 years ago

Logcat says failed allocating OMX.sprd."name"."enc/dec". Here's the one using stock libmemoryheapion E/OMX ( 242): FAILED to allocate omx component 'OMX.sprd.mpeg4.decoder' E/OMX ( 242): FAILED to allocate omx component 'OMX.sprd.h263.decoder' E/OMX ( 242): FAILED to allocate omx component 'OMX.sprd.h264.decoder' E/OMX ( 242): FAILED to allocate omx component 'OMX.sprd.vpx.decoder' E/OMX ( 242): FAILED to allocate omx component 'OMX.sprd.mpeg4.encoder' E/OMX ( 242): FAILED to allocate omx component 'OMX.sprd.h263.encoder' E/OMX ( 242): FAILED to allocate omx component 'OMX.sprd.h264.encoder'

diepquynh commented 7 years ago

Temporary fixed with this commit: https://github.com/koquantam/android_device_samsung_grandprimeve3g/commit/2e9b37e7158edfb9638964bc9d96d7b8f3a28341

diepquynh commented 7 years ago

Solved with these commits: https://github.com/koquantam/android_hardware_sprd/commit/c0514426954eac0cf5cd9164caaa604dfbd9bdde https://github.com/koquantam/android_hardware_sprd/commit/e309c78944b0ff0d14b28ce6a3ded75dc4327b74 https://github.com/koquantam/android_hardware_sprd/commit/234bc83d15884995c80355ed6cca627ae982909d https://github.com/koquantam/android_hardware_sprd/commit/aef7132df1d5ead72ab211bc16957ff37ab40c10 https://github.com/koquantam/android_hardware_sprd/commit/20ad72b9c7db7a6453b9c5c91cdaad542fc612c3