summaryrefslogtreecommitdiff
path: root/src/android/jpeg/thumbnailer.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-28 23:59:30 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-07-01 10:28:48 +0300
commit7735d65ce81db570570dc21bb6056da8abd2ae22 (patch)
treee327330f64cde79cb06f5a2c1977ac66c84785f2 /src/android/jpeg/thumbnailer.h
parent7e3a351a29aa55c06c8e17782bcc33d153784068 (diff)
apps: common: dng_writer: Fix thumbnail generation on BE machines
The 16-bit padded raw 10 and raw 12 formats are stored in memory in little endian order, regardless of the machine's endianness. Swap the 16-bit values on big-endian machines when reading pixels from memory to generate thumbnails. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Diffstat (limited to 'src/android/jpeg/thumbnailer.h')
0 files changed, 0 insertions, 0 deletions