Lines Matching refs:pCur
364 unsigned char *pCur, *pApp1Start, *pIfdStart, *pGpsIfdPtr, *pNextIfdOffset;
366 pApp1Start = pCur = exifOut;
369 pCur += 4; // Skip 4 Byte for APP1 marker and length
371 memcpy(pCur, ExifIdentifierCode, 6);
372 pCur += 6;
376 memcpy(pCur, TiffHeader, 8);
377 pIfdStart = pCur;
378 pCur += 8;
386 memcpy(pCur, &tmp, NUM_SIZE);
387 pCur += NUM_SIZE;
391 writeExifIfd(&pCur, EXIF_TAG_IMAGE_WIDTH, EXIF_TYPE_LONG,
393 writeExifIfd(&pCur, EXIF_TAG_IMAGE_HEIGHT, EXIF_TYPE_LONG,
395 writeExifIfd(&pCur, EXIF_TAG_MAKE, EXIF_TYPE_ASCII,
397 writeExifIfd(&pCur, EXIF_TAG_MODEL, EXIF_TYPE_ASCII,
399 writeExifIfd(&pCur, EXIF_TAG_ORIENTATION, EXIF_TYPE_SHORT,
401 writeExifIfd(&pCur, EXIF_TAG_SOFTWARE, EXIF_TYPE_ASCII,
403 writeExifIfd(&pCur, EXIF_TAG_DATE_TIME, EXIF_TYPE_ASCII,
405 writeExifIfd(&pCur, EXIF_TAG_YCBCR_POSITIONING, EXIF_TYPE_SHORT,
407 writeExifIfd(&pCur, EXIF_TAG_EXIF_IFD_POINTER, EXIF_TYPE_LONG,
410 pGpsIfdPtr = pCur;
411 pCur += IFD_SIZE; // Skip a ifd size for gps IFD pointer
414 pNextIfdOffset = pCur; // Skip a offset size for next IFD offset
415 pCur += OFFSET_SIZE;
418 pCur = pIfdStart + LongerTagOffest;
421 memcpy(pCur, &tmp , NUM_SIZE);
422 pCur += NUM_SIZE;
426 writeExifIfd(&pCur, EXIF_TAG_EXPOSURE_TIME, EXIF_TYPE_RATIONAL,
428 writeExifIfd(&pCur, EXIF_TAG_FNUMBER, EXIF_TYPE_RATIONAL,
430 writeExifIfd(&pCur, EXIF_TAG_EXPOSURE_PROGRAM, EXIF_TYPE_SHORT,
432 writeExifIfd(&pCur, EXIF_TAG_ISO_SPEED_RATING, EXIF_TYPE_SHORT,
434 writeExifIfd(&pCur, EXIF_TAG_EXIF_VERSION, EXIF_TYPE_UNDEFINED,
436 writeExifIfd(&pCur, EXIF_TAG_DATE_TIME_ORG, EXIF_TYPE_ASCII,
438 writeExifIfd(&pCur, EXIF_TAG_DATE_TIME_DIGITIZE, EXIF_TYPE_ASCII,
440 writeExifIfd(&pCur, EXIF_TAG_SHUTTER_SPEED, EXIF_TYPE_SRATIONAL,
442 writeExifIfd(&pCur, EXIF_TAG_APERTURE, EXIF_TYPE_RATIONAL,
444 writeExifIfd(&pCur, EXIF_TAG_BRIGHTNESS, EXIF_TYPE_SRATIONAL,
446 writeExifIfd(&pCur, EXIF_TAG_EXPOSURE_BIAS, EXIF_TYPE_SRATIONAL,
448 writeExifIfd(&pCur, EXIF_TAG_MAX_APERTURE, EXIF_TYPE_RATIONAL,
450 writeExifIfd(&pCur, EXIF_TAG_METERING_MODE, EXIF_TYPE_SHORT,
452 writeExifIfd(&pCur, EXIF_TAG_FLASH, EXIF_TYPE_SHORT,
454 writeExifIfd(&pCur, EXIF_TAG_FOCAL_LENGTH, EXIF_TYPE_RATIONAL,
460 writeExifIfd(&pCur, EXIF_TAG_USER_COMMENT, EXIF_TYPE_UNDEFINED,
462 writeExifIfd(&pCur, EXIF_TAG_COLOR_SPACE, EXIF_TYPE_SHORT,
464 writeExifIfd(&pCur, EXIF_TAG_PIXEL_X_DIMENSION, EXIF_TYPE_LONG,
466 writeExifIfd(&pCur, EXIF_TAG_PIXEL_Y_DIMENSION, EXIF_TYPE_LONG,
468 writeExifIfd(&pCur, EXIF_TAG_EXPOSURE_MODE, EXIF_TYPE_LONG,
470 writeExifIfd(&pCur, EXIF_TAG_WHITE_BALANCE, EXIF_TYPE_LONG,
472 writeExifIfd(&pCur, EXIF_TAG_SCENCE_CAPTURE_TYPE, EXIF_TYPE_LONG,
475 memcpy(pCur, &tmp, OFFSET_SIZE); // next IFD offset
476 pCur += OFFSET_SIZE;
483 pCur = pIfdStart + LongerTagOffest;
491 memcpy(pCur, &tmp, NUM_SIZE);
492 pCur += NUM_SIZE;
496 writeExifIfd(&pCur, EXIF_TAG_GPS_VERSION_ID, EXIF_TYPE_BYTE,
498 writeExifIfd(&pCur, EXIF_TAG_GPS_LATITUDE_REF, EXIF_TYPE_ASCII,
500 writeExifIfd(&pCur, EXIF_TAG_GPS_LATITUDE, EXIF_TYPE_RATIONAL,
502 writeExifIfd(&pCur, EXIF_TAG_GPS_LONGITUDE_REF, EXIF_TYPE_ASCII,
504 writeExifIfd(&pCur, EXIF_TAG_GPS_LONGITUDE, EXIF_TYPE_RATIONAL,
506 writeExifIfd(&pCur, EXIF_TAG_GPS_ALTITUDE_REF, EXIF_TYPE_BYTE,
508 writeExifIfd(&pCur, EXIF_TAG_GPS_ALTITUDE, EXIF_TYPE_RATIONAL,
510 writeExifIfd(&pCur, EXIF_TAG_GPS_TIMESTAMP, EXIF_TYPE_RATIONAL,
520 writeExifIfd(&pCur, EXIF_TAG_GPS_PROCESSING_METHOD, EXIF_TYPE_UNDEFINED,
523 writeExifIfd(&pCur, EXIF_TAG_GPS_DATESTAMP, EXIF_TYPE_ASCII,
526 memcpy(pCur, &tmp, OFFSET_SIZE); // next IFD offset
527 pCur += OFFSET_SIZE;
557 pCur = pIfdStart + LongerTagOffest;
560 memcpy(pCur, &tmp, NUM_SIZE);
561 pCur += NUM_SIZE;
565 writeExifIfd(&pCur, EXIF_TAG_IMAGE_WIDTH, EXIF_TYPE_LONG,
567 writeExifIfd(&pCur, EXIF_TAG_IMAGE_HEIGHT, EXIF_TYPE_LONG,
569 writeExifIfd(&pCur, EXIF_TAG_COMPRESSION_SCHEME, EXIF_TYPE_SHORT,
571 writeExifIfd(&pCur, EXIF_TAG_ORIENTATION, EXIF_TYPE_SHORT,
573 writeExifIfd(&pCur, EXIF_TAG_X_RESOLUTION, EXIF_TYPE_RATIONAL,
575 writeExifIfd(&pCur, EXIF_TAG_Y_RESOLUTION, EXIF_TYPE_RATIONAL,
577 writeExifIfd(&pCur, EXIF_TAG_RESOLUTION_UNIT, EXIF_TYPE_SHORT,
579 writeExifIfd(&pCur, EXIF_TAG_JPEG_INTERCHANGE_FORMAT, EXIF_TYPE_LONG,
581 writeExifIfd(&pCur, EXIF_TAG_JPEG_INTERCHANGE_FORMAT_LEN, EXIF_TYPE_LONG,
585 memcpy(pCur, &tmp, OFFSET_SIZE); // next IFD offset
586 pCur += OFFSET_SIZE;
616 inline void ExynosJpegEncoderForCamera::writeExifIfd(unsigned char **pCur,
622 memcpy(*pCur, &tag, 2);
623 *pCur += 2;
624 memcpy(*pCur, &type, 2);
625 *pCur += 2;
626 memcpy(*pCur, &count, 4);
627 *pCur += 4;
628 memcpy(*pCur, &value, 4);
629 *pCur += 4;
632 inline void ExynosJpegEncoderForCamera::writeExifIfd(unsigned char **pCur,
641 memcpy(*pCur, &tag, 2);
642 *pCur += 2;
643 memcpy(*pCur, &type, 2);
644 *pCur += 2;
645 memcpy(*pCur, &count, 4);
646 *pCur += 4;
647 memcpy(*pCur, buf, 4);
648 *pCur += 4;
651 inline void ExynosJpegEncoderForCamera::writeExifIfd(unsigned char **pCur,
659 memcpy(*pCur, &tag, 2);
660 *pCur += 2;
661 memcpy(*pCur, &type, 2);
662 *pCur += 2;
663 memcpy(*pCur, &count, 4);
664 *pCur += 4;
665 memcpy(*pCur, offset, 4);
666 *pCur += 4;
671 inline void ExynosJpegEncoderForCamera::writeExifIfd(unsigned char **pCur,
679 memcpy(*pCur, &tag, 2);
680 *pCur += 2;
681 memcpy(*pCur, &type, 2);
682 *pCur += 2;
683 memcpy(*pCur, &count, 4);
684 *pCur += 4;
685 memcpy(*pCur, offset, 4);
686 *pCur += 4;