commit | 534046d2b12fd13776ad782b982649cb0bea9b79 | [log] [tgz] |
---|---|---|
author | Zhijun He <zhijunhe@google.com> | Mon Jul 01 11:03:41 2013 -0700 |
committer | Zhijun He <zhijunhe@google.com> | Mon Jul 01 11:03:41 2013 -0700 |
tree | d81f2dbb71a35dae748e57c2b516270ea0633c48 | |
parent | 7601e31d140046aa759cdc5299447b298a5f0c85 [diff] |
ImageReader: get correct jpeg size. the jpeg size was set to the buffer width, which is the max jpeg buffer size. the right size can be obtained by parsing the camera3_jpeg_blob data sent by hal. Also correct the buffer size check when crop is not set. Bug: 9254294 Change-Id: Ic73de47ef97efa4eb356a399c1576715e2eacbfd