Home
last modified time | relevance | path

Searched refs:JPEG_MARKER_SIZE (Results 1 – 3 of 3) sorted by relevance

/hardware/google/graphics/common/libhwjpeg/
DAppMarkerWriter.h24 #define JPEG_MARKER_SIZE 2 macro
104 appsize += m_szApp1 + JPEG_MARKER_SIZE;
108 + JPEG_MARKER_SIZE + JPEG_SEGMENT_LENFIELD_SIZE;
132 (m_szApp1 + m_szMaxThumbSize + JPEG_APP1_OEM_RESERVED + JPEG_MARKER_SIZE); in IsThumbSpaceReserved()
DAppMarkerWriter.cpp245 m_pThumbBase = m_pAppBase + JPEG_MARKER_SIZE + applen; in PrepareAppWriter()
285 #define APPMARKLEN (JPEG_MARKER_SIZE + JPEG_SEGMENT_LENFIELD_SIZE)
511 WriteDataInBig(m_pAppBase + JPEG_MARKER_SIZE, len); in UpdateApp1Size()
538 len += info->appInfo[idx].dataSize + JPEG_MARKER_SIZE + JPEG_SEGMENT_LENFIELD_SIZE; in GetExtraAPPSize()
570 if (jpeglen < (validlen + JPEG_MARKER_SIZE)) { in UpdateDebugData()
615 … validlen -= extra->appInfo[idx].dataSize + JPEG_MARKER_SIZE + JPEG_SEGMENT_LENFIELD_SIZE; in UpdateDebugData()
643 if (jpeglen < (JPEG_MARKER_SIZE * 2 + JPEG_SEGMENT_LENFIELD_SIZE)) { in UpdateExif()
658 if (jpeglen < GetSegLen(jpeg + JPEG_MARKER_SIZE)) { in UpdateExif()
DExynosJpegEncoderForCamera.cpp34 #define NECESSARY_JPEG_LENGTH (0x24B + 2 * JPEG_MARKER_SIZE)
261 m_pAppWriter->PrepareAppWriter(base + JPEG_MARKER_SIZE, exifInfo, extra); in ProcessExif()
283 m_pAppWriter->Write(reserve_thumbspace, JPEG_MARKER_SIZE, align, in ProcessExif()
512 PTR_TO_ULONG(mainbase + mainlen + thumblen - JPEG_MARKER_SIZE)) { in FinishCompression()