summaryrefslogtreecommitdiff
path: root/src/android/jpeg/encoder_libjpeg.h
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2021-08-26 17:00:19 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-27 00:51:56 +0300
commit7bfe7d7056a7485bf4d05055cdec85f4f684cb14 (patch)
treec675eebbb27b5b6aa3ffdd55c82fd6fbc6f09825 /src/android/jpeg/encoder_libjpeg.h
parentbe05f8d1dac23634ce38ba16a703d561e379788d (diff)
android: generic_camera_buffer: Correct buffer mapping
buffer_handle_t doesn't provide sufficient info to map a buffer properly. cros::CameraBufferManager enables handling the buffer on ChromeOS, but no way is provided for other platforms. Therefore, we put the assumption that planes are in the same buffer and they are consecutive. This modifies the way of mapping in generic_camera_buffer with the assumption. Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android/jpeg/encoder_libjpeg.h')
0 files changed, 0 insertions, 0 deletions