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.cpp99 applen += JPEG_SEGMENT_LENFIELD_SIZE + in PrepareAppWriter()
259 …e == 0) || (extra->appInfo[idx].dataSize > (JPEG_MAX_SEGMENT_SIZE - JPEG_SEGMENT_LENFIELD_SIZE))) { in PrepareAppWriter()
285 #define APPMARKLEN (JPEG_MARKER_SIZE + JPEG_SEGMENT_LENFIELD_SIZE)
301 len += dummy + JPEG_SEGMENT_LENFIELD_SIZE; in WriteAPP11()
317 uint16_t len = m_pExtra->appInfo[idx].dataSize + JPEG_SEGMENT_LENFIELD_SIZE; in WriteAPPX()
344 current += JPEG_SEGMENT_LENFIELD_SIZE; in WriteAPP1()
533 …ze == 0) || (info->appInfo[idx].dataSize > (JPEG_MAX_SEGMENT_SIZE - JPEG_SEGMENT_LENFIELD_SIZE))) { in GetExtraAPPSize()
538 len += info->appInfo[idx].dataSize + JPEG_MARKER_SIZE + JPEG_SEGMENT_LENFIELD_SIZE; in GetExtraAPPSize()
605 if (seglen < (extra->appInfo[idx].dataSize + JPEG_SEGMENT_LENFIELD_SIZE)) { in UpdateDebugData()
611 memcpy(jpeg + JPEG_SEGMENT_LENFIELD_SIZE, in UpdateDebugData()
[all …]
DAppMarkerWriter.h25 #define JPEG_SEGMENT_LENFIELD_SIZE 2 macro
108 + JPEG_MARKER_SIZE + JPEG_SEGMENT_LENFIELD_SIZE;