Lines Matching refs:info_data

1668 	image_info_data  *info_data;  in exif_iif_add_value()  local
1678info_data = &image_info->info_list[section_index].list[image_info->info_list[section_index].count… in exif_iif_add_value()
1679 memset(info_data, 0, sizeof(image_info_data)); in exif_iif_add_value()
1680 info_data->tag = tag; in exif_iif_add_value()
1681 info_data->format = format; in exif_iif_add_value()
1682 info_data->length = length; in exif_iif_add_value()
1683 info_data->name = estrdup(name); in exif_iif_add_value()
1684 info_value = &info_data->value; in exif_iif_add_value()
1691 info_data->length = length; in exif_iif_add_value()
1693 info_data->length = 0; in exif_iif_add_value()
1704 info_data->tag = TAG_FMT_UNDEFINED;/* otherwise not freed from memory */ in exif_iif_add_value()
1718 info_data->length = length; in exif_iif_add_value()
1720 info_data->length = 0; in exif_iif_add_value()
1739 info_value = &info_data->value; in exif_iif_add_value()
1743 info_value = &info_data->value.list[idex]; in exif_iif_add_value()
1806 image_info_data *info_data; in exif_iif_add_int() local
1812info_data = &image_info->info_list[section_index].list[image_info->info_list[section_index].count… in exif_iif_add_int()
1813 info_data->tag = TAG_NONE; in exif_iif_add_int()
1814 info_data->format = TAG_FMT_SLONG; in exif_iif_add_int()
1815 info_data->length = 1; in exif_iif_add_int()
1816 info_data->name = estrdup(name); in exif_iif_add_int()
1817 info_data->value.i = value; in exif_iif_add_int()
1828 image_info_data *info_data; in exif_iif_add_str() local
1834info_data = &image_info->info_list[section_index].list[image_info->info_list[section_index].count… in exif_iif_add_str()
1835 info_data->tag = TAG_NONE; in exif_iif_add_str()
1836 info_data->format = TAG_FMT_STRING; in exif_iif_add_str()
1837 info_data->length = 1; in exif_iif_add_str()
1838 info_data->name = estrdup(name); in exif_iif_add_str()
1839 info_data->value.s = estrdup(value); in exif_iif_add_str()
1869 image_info_data *info_data; in exif_iif_add_buffer() local
1875info_data = &image_info->info_list[section_index].list[image_info->info_list[section_index].count… in exif_iif_add_buffer()
1876 info_data->tag = TAG_NONE; in exif_iif_add_buffer()
1877 info_data->format = TAG_FMT_UNDEFINED; in exif_iif_add_buffer()
1878 info_data->length = length; in exif_iif_add_buffer()
1879 info_data->name = estrdup(name); in exif_iif_add_buffer()
1880 info_data->value.s = safe_emalloc(length, 1, 1); in exif_iif_add_buffer()
1881 memcpy(info_data->value.s, value, length); in exif_iif_add_buffer()
1882 info_data->value.s[length] = 0; in exif_iif_add_buffer()
1947 image_info_data *info_data; in add_assoc_image_info() local
1962 info_data = &image_info->info_list[section_index].list[i]; in add_assoc_image_info()
1964 info_tag = info_data->tag; /* conversion */ in add_assoc_image_info()
1966 info_value = &info_data->value; in add_assoc_image_info()
1967 if (!(name = info_data->name)) { in add_assoc_image_info()
1974 if (info_data->length==0) { in add_assoc_image_info()
1977 switch (info_data->format) { in add_assoc_image_info()
1990 add_assoc_stringl(tmpi, name, info_value->s, info_data->length, 1); in add_assoc_image_info()
2016 if ((l = info_data->length) > 1) { in add_assoc_image_info()
2023 info_value = &info_data->value.list[ap]; in add_assoc_image_info()
2025 switch (info_data->format) { in add_assoc_image_info()
2028 info_value = &info_data->value; in add_assoc_image_info()
2054 info_value = &info_data->value; in add_assoc_image_info()
2094 info_value = &info_data->value.list[ap]; in add_assoc_image_info()
2363 static void* exif_ifd_make_value(image_info_data *info_data, int motorola_intel TSRMLS_DC) { in exif_ifd_make_value() argument
2370 byte_count = php_tiff_bytes_per_format[info_data->format] * info_data->length; in exif_ifd_make_value()
2373 if (!info_data->length) { in exif_ifd_make_value()
2376 if (info_data->format == TAG_FMT_UNDEFINED || info_data->format == TAG_FMT_STRING in exif_ifd_make_value()
2377 || (byte_count>1 && (info_data->format == TAG_FMT_BYTE || info_data->format == TAG_FMT_SBYTE)) in exif_ifd_make_value()
2379 memmove(value_ptr, info_data->value.s, byte_count); in exif_ifd_make_value()
2381 } else if (info_data->format == TAG_FMT_BYTE) { in exif_ifd_make_value()
2382 *value_ptr = info_data->value.u; in exif_ifd_make_value()
2384 } else if (info_data->format == TAG_FMT_SBYTE) { in exif_ifd_make_value()
2385 *value_ptr = info_data->value.i; in exif_ifd_make_value()
2389 for(i=0; i<info_data->length; i++) { in exif_ifd_make_value()
2390 if (info_data->length==1) { in exif_ifd_make_value()
2391 info_value = &info_data->value; in exif_ifd_make_value()
2393 info_value = &info_data->value.list[i]; in exif_ifd_make_value()
2395 switch(info_data->format) { in exif_ifd_make_value()
2445 image_info_data *info_data; in exif_thumbnail_build() local
2470 info_data = &info_list->list[i]; in exif_thumbnail_build()
2471 byte_count = php_tiff_bytes_per_format[info_data->format] * info_data->length; in exif_thumbnail_build()
2491 info_data = &info_list->list[i]; in exif_thumbnail_build()
2492 byte_count = php_tiff_bytes_per_format[info_data->format] * info_data->length; in exif_thumbnail_build()
2494info_data->tag, exif_get_tagname(info_data->tag, tagname, -12, tag_table_IFD TSRMLS_CC), (info_dat… in exif_thumbnail_build()
2496 if (info_data->tag==TAG_STRIP_OFFSETS || info_data->tag==TAG_JPEG_INTERCHANGE_FORMAT) { in exif_thumbnail_build()
2497 php_ifd_set16u(new_data + 0, info_data->tag, ImageInfo->motorola_intel); in exif_thumbnail_build()
2502 php_ifd_set16u(new_data + 0, info_data->tag, ImageInfo->motorola_intel); in exif_thumbnail_build()
2503 php_ifd_set16u(new_data + 2, info_data->format, ImageInfo->motorola_intel); in exif_thumbnail_build()
2504 php_ifd_set32u(new_data + 4, info_data->length, ImageInfo->motorola_intel); in exif_thumbnail_build()
2505 value_ptr = exif_ifd_make_value(info_data, ImageInfo->motorola_intel TSRMLS_CC); in exif_thumbnail_build()