summaryrefslogtreecommitdiff
path: root/src/android/jpeg/encoder_libjpeg.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-09-06 17:39:12 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-09-07 19:18:36 +0300
commit2dca2b2fc6af4cee79a16b466a3cc1b92c3d036f (patch)
tree69aed189b18900ba079fd09a9cb788564ac8c93d /src/android/jpeg/encoder_libjpeg.h
parenta814205664ba277f8eb85f9f0da28d6204e218b5 (diff)
android: jpeg: Use stride instead of image width for line address
When calculating the luma line address, the image width is used instead of the stride. Without padding at the end of the line the the values should be identical, but this is conceptually incorrect in any case. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Diffstat (limited to 'src/android/jpeg/encoder_libjpeg.h')
0 files changed, 0 insertions, 0 deletions