Home
last modified time | relevance | path

Searched refs:JPEG_SEGMENT_LENFIELD_SIZE (Results 1 – 2 of 2) sorted by relevance

/hardware/google/graphics/common/libhwjpeg/
DAppMarkerWriter.cpp95 applen += JPEG_SEGMENT_LENFIELD_SIZE + ARRSIZE(ExifIdentifierCode) + ARRSIZE(TiffHeader); in PrepareAppWriter()
250 (JPEG_MAX_SEGMENT_SIZE - JPEG_SEGMENT_LENFIELD_SIZE))) { in PrepareAppWriter()
277 #define APPMARKLEN (JPEG_MARKER_SIZE + JPEG_SEGMENT_LENFIELD_SIZE)
289 len += dummy + JPEG_SEGMENT_LENFIELD_SIZE; in WriteAPP11()
303 uint16_t len = m_pExtra->appInfo[idx].dataSize + JPEG_SEGMENT_LENFIELD_SIZE; in WriteAPPX()
328 current += JPEG_SEGMENT_LENFIELD_SIZE; in WriteAPP1()
516 (info->appInfo[idx].dataSize > (JPEG_MAX_SEGMENT_SIZE - JPEG_SEGMENT_LENFIELD_SIZE))) { in GetExtraAPPSize()
522 len += info->appInfo[idx].dataSize + JPEG_MARKER_SIZE + JPEG_SEGMENT_LENFIELD_SIZE; in GetExtraAPPSize()
590 if (seglen < (extra->appInfo[idx].dataSize + JPEG_SEGMENT_LENFIELD_SIZE)) { in UpdateDebugData()
596 memcpy(jpeg + JPEG_SEGMENT_LENFIELD_SIZE, extra->appInfo[idx].appData, in UpdateDebugData()
[all …]
DAppMarkerWriter.h27 #define JPEG_SEGMENT_LENFIELD_SIZE 2 macro
109 JPEG_SEGMENT_LENFIELD_SIZE;