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
Loading
Please register or sign in to comment