I followed the steps mentioned in below link to get gralloc buffer. But how to get size of buffer? How to dump YUV from OMXCodec decoding output
for testing i took length as, width x height x 1.5 as OMXCodec decoder output format was OMX_QCOM_420Planer32m.
But when i write YUV frame to file, my yuv viewer is not able to render it. then i tried length from range_length(). for this also same issue.
Also i converted the file to JPEG, it is not proper as YUV it self is wrong.
please help me. how to dump yuv buffer to file. i'm testing in Kitkat (moto g) and in ICS (Samsung tablet)
thank you, Raghu