Lines Matching refs:extra

88 void CAppMarkerWriter::PrepareAppWriter(char *base, exif_attribute_t *exif, extra_appinfo_t *extra)  in PrepareAppWriter()  argument
252 if (extra) { in PrepareAppWriter()
253 for (int idx = 0; idx < extra->num_of_appmarker; idx++) { in PrepareAppWriter()
254 …if ((extra->appInfo[idx].appid < EXTRA_APPMARKER_MIN) || (extra->appInfo[idx].appid >= EXTRA_APPMA… in PrepareAppWriter()
255 ALOGE("Invalid extra APP segment ID %d", extra->appInfo[idx].appid); in PrepareAppWriter()
259 …if ((extra->appInfo[idx].dataSize == 0) || (extra->appInfo[idx].dataSize > (JPEG_MAX_SEGMENT_SIZE … in PrepareAppWriter()
260 …ALOGE("Invalid APP%d segment size, %u bytes", extra->appInfo[idx].appid, extra->appInfo[idx].dataS… in PrepareAppWriter()
264 ALOGD("APP%d: %u bytes", extra->appInfo[idx].appid, extra->appInfo[idx].dataSize); in PrepareAppWriter()
268 m_pExtra = extra; in PrepareAppWriter()
561 bool UpdateDebugData(char *jpeg, size_t jpeglen, extra_appinfo_t *extra) // include/ExynosExif.h in UpdateDebugData() argument
563 if (!extra) { in UpdateDebugData()
568 size_t validlen = GetExtraAPPSize(extra); in UpdateDebugData()
598 if (appid != extra->appInfo[idx].appid) { in UpdateDebugData()
600 dbgerrmsg, appid, extra->appInfo[idx].appid); in UpdateDebugData()
605 if (seglen < (extra->appInfo[idx].dataSize + JPEG_SEGMENT_LENFIELD_SIZE)) { in UpdateDebugData()
607 dbgerrmsg, appid, seglen, extra->appInfo[idx].dataSize); in UpdateDebugData()
612 extra->appInfo[idx].appData, extra->appInfo[idx].dataSize); in UpdateDebugData()
613 ALOGD("Successfully updated %u bytes to APP%d", extra->appInfo[idx].dataSize, appid); in UpdateDebugData()
615 … validlen -= extra->appInfo[idx].dataSize + JPEG_MARKER_SIZE + JPEG_SEGMENT_LENFIELD_SIZE; in UpdateDebugData()
671 void ExtractDebugAttributeInfo(debug_attribute_t *debug, extra_appinfo_t *extra) in ExtractDebugAttributeInfo() argument
674 extra->num_of_appmarker = 0; in ExtractDebugAttributeInfo()
678 extra->num_of_appmarker = debug->num_of_appmarker; in ExtractDebugAttributeInfo()
681 extra->appInfo[idx].appid = appid; in ExtractDebugAttributeInfo()
682 extra->appInfo[idx].appData = debug->debugData[appid]; in ExtractDebugAttributeInfo()
683 extra->appInfo[idx].dataSize = debug->debugSize[appid]; in ExtractDebugAttributeInfo()