• Home
  • Raw
  • Download

Lines Matching refs:DataWriteIndex

1087                                 int* DataWriteIndex) {  in writeExifTagAndData()  argument
1102 Put32u(Buffer+(*DirIndex) + 8, (*DataWriteIndex)-8); // Pointer in writeExifTagAndData()
1103 printf("copying value %s to %d", (char*)value, (*DataWriteIndex)); in writeExifTagAndData()
1104 strncpy(Buffer+(*DataWriteIndex), (char*)value, components); in writeExifTagAndData()
1105 (*DataWriteIndex) += components; in writeExifTagAndData()
1110 Put32u(Buffer+(*DirIndex) + 8, (*DataWriteIndex)-8); // Pointer in writeExifTagAndData()
1123 Put32u(Buffer+(*DataWriteIndex), numerator); in writeExifTagAndData()
1124 Put32u(Buffer+(*DataWriteIndex) + 4, denominator); in writeExifTagAndData()
1125 (*DataWriteIndex) += 8; in writeExifTagAndData()
1132 Put32u(Buffer+(*DataWriteIndex), numerator); in writeExifTagAndData()
1133 Put32u(Buffer+(*DataWriteIndex) + 4, denominator); in writeExifTagAndData()
1134 (*DataWriteIndex) += 8; in writeExifTagAndData()
1178 int DataWriteIndex; in create_EXIF() local
1191 DataWriteIndex = 16; in create_EXIF()
1192 Put32u(Buffer+12, DataWriteIndex-8); // first IFD offset. Means start 16 bytes in. in create_EXIF()
1195 DirIndex = DataWriteIndex; in create_EXIF()
1200 DataWriteIndex += 2 + NumEntries*12 + 4; in create_EXIF()
1225 &DataWriteIndex); in create_EXIF()
1248 &DataWriteIndex); in create_EXIF()
1256 DataWriteIndex-8, in create_EXIF()
1260 &DataWriteIndex); in create_EXIF()
1264 int exifDirPtr = DataWriteIndex-8; in create_EXIF()
1276 &DataWriteIndex); in create_EXIF()
1281 printf("Ending Exif section DirIndex = %d DataWriteIndex %d", DirIndex, DataWriteIndex); in create_EXIF()
1287 DirIndex = DataWriteIndex; in create_EXIF()
1290 DataWriteIndex += 2 + NumEntries*12 + 4; in create_EXIF()
1314 &DataWriteIndex); in create_EXIF()
1320 printf("Ending GPS section DirIndex = %d DataWriteIndex %d", DirIndex, DataWriteIndex); in create_EXIF()
1325 Put32u(Buffer+DirContinuation, DataWriteIndex-8); in create_EXIF()
1328 DirIndex = DataWriteIndex; in create_EXIF()
1330 DataWriteIndex += 2 + NumEntries*12 + 4; in create_EXIF()
1339 DataWriteIndex-8, in create_EXIF()
1343 &DataWriteIndex); in create_EXIF()
1355 &DataWriteIndex); in create_EXIF()
1360 … printf("Ending Thumbnail section DirIndex = %d DataWriteIndex %d", DirIndex, DataWriteIndex); in create_EXIF()
1364 Buffer[0] = (unsigned char)(DataWriteIndex >> 8); in create_EXIF()
1365 Buffer[1] = (unsigned char)DataWriteIndex; in create_EXIF()
1373 unsigned char * NewBuf = malloc(DataWriteIndex); in create_EXIF()
1377 memcpy(NewBuf, Buffer, DataWriteIndex); in create_EXIF()
1379 CreateSection(M_EXIF, NewBuf, DataWriteIndex); in create_EXIF()
1383 process_EXIF(NewBuf, DataWriteIndex); in create_EXIF()