Lines Matching refs:applen
95 size_t applen = 0; in PrepareAppWriter() local
99 applen += JPEG_SEGMENT_LENFIELD_SIZE + in PrepareAppWriter()
104 applen += IFD_FIELDCOUNT_SIZE + IFD_VALOFF_SIZE; in PrepareAppWriter()
107 applen += IFD_FIELD_SIZE * m_n0thIFDFields; in PrepareAppWriter()
108 applen += sizeof(rational_t) * 2; // values of XResolution and YResolution in PrepareAppWriter()
109 applen += EXIF_DATETIME_LENGTH; in PrepareAppWriter()
114 applen += IFD_FIELD_SIZE; in PrepareAppWriter()
116 applen += m_szMake + 1; in PrepareAppWriter()
122 applen += IFD_FIELD_SIZE; in PrepareAppWriter()
124 applen += m_szSoftware + 1; in PrepareAppWriter()
130 applen += IFD_FIELD_SIZE; in PrepareAppWriter()
132 applen += m_szModel + 1; in PrepareAppWriter()
137 applen += IFD_FIELD_SIZE; in PrepareAppWriter()
161 applen += IFD_FIELDCOUNT_SIZE + IFD_VALOFF_SIZE; in PrepareAppWriter()
162 applen += IFD_FIELD_SIZE * m_nExifIFDFields; in PrepareAppWriter()
163 applen += sizeof(rational_t) * 9; // 9 rational values in PrepareAppWriter()
167 applen += (IFD_FIELD_SIZE + EXIF_DATETIME_LENGTH) * 2; in PrepareAppWriter()
171 applen += (IFD_FIELD_SIZE + EXIF_SUBSECTIME_LENGTH) * 3; in PrepareAppWriter()
176 applen += IFD_FIELD_SIZE; in PrepareAppWriter()
178 applen += m_szUniqueID + 1; in PrepareAppWriter()
183 applen += IFD_FIELD_SIZE; in PrepareAppWriter()
185 applen += m_pExif->maker_note_size; in PrepareAppWriter()
190 applen += IFD_FIELD_SIZE; in PrepareAppWriter()
192 applen += m_pExif->user_comment_size; in PrepareAppWriter()
197 applen += IFD_FIELD_SIZE + in PrepareAppWriter()
212 applen += IFD_FIELDCOUNT_SIZE + IFD_VALOFF_SIZE; in PrepareAppWriter()
213 applen += IFD_FIELD_SIZE * m_nGPSIFDFields; in PrepareAppWriter()
214 applen += sizeof(rational_t) * 10; in PrepareAppWriter()
218 applen += IFD_FIELD_SIZE + EXIF_GPSDATESTAMP_LENGTH; in PrepareAppWriter()
224 applen += IFD_FIELD_SIZE + len + sizeof(ExifAsciiPrefix) + 1; in PrepareAppWriter()
242 applen += IFD_FIELDCOUNT_SIZE + IFD_VALOFF_SIZE; in PrepareAppWriter()
243 applen += IFD_FIELD_SIZE * m_n1stIFDFields; in PrepareAppWriter()
245 m_pThumbBase = m_pAppBase + JPEG_MARKER_SIZE + applen; in PrepareAppWriter()
246 m_szMaxThumbSize = JPEG_MAX_SEGMENT_SIZE - applen - JPEG_APP1_OEM_RESERVED; in PrepareAppWriter()
249 m_szApp1 = applen; in PrepareAppWriter()