• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libexif-0.6.19/libexif/pentax/

Lines Matching refs:entries

39 	if (n->entries) {
41 if (n->entries[i].data) {
42 exif_mem_free (d->mem, n->entries[i].data);
43 n->entries[i].data = NULL;
45 exif_mem_free (d->mem, n->entries);
46 n->entries = NULL;
66 return mnote_pentax_entry_get_value (&n->entries[i], val, maxlen);
90 * Allocate enough memory for header, the number of entries, entries,
139 * such, just has a fixed number of entries equal to 0x001b */
154 /* Write the number of entries. */
165 (ExifShort) (n->entries[i].tag - base));
167 (ExifShort) n->entries[i].format);
169 n->entries[i].components);
171 s = exif_format_get_size (n->entries[i].format) *
172 n->entries[i].components;
195 if (n->entries[i].data) {
196 memcpy (*buf + doff, n->entries[i].data, s);
266 /* Remove any old entries */
270 n->entries = exif_mem_alloc (en->mem, sizeof (MnotePentaxEntry) * c);
271 if (!n->entries) {
276 /* Parse all c entries, storing ones that are successfully parsed */
286 n->entries[tcount].tag = exif_get_short (buf + o + 0, n->order) + base;
287 n->entries[tcount].format = exif_get_short (buf + o + 2, n->order);
288 n->entries[tcount].components = exif_get_long (buf + o + 4, n->order);
289 n->entries[tcount].order = n->order;
292 "Loading entry 0x%x ('%s')...", n->entries[tcount].tag,
293 mnote_pentax_tag_get_name (n->entries[tcount].tag));
299 s = exif_format_get_size (n->entries[tcount].format) *
300 n->entries[tcount].components;
301 n->entries[tcount].size = s;
315 n->entries[tcount].data = exif_mem_alloc (en->mem, s);
316 if (!n->entries[tcount].data) {
320 memcpy (n->entries[tcount].data, buf + dataofs, s);
343 return note->entries[n].tag;
353 return mnote_pentax_tag_get_name (note->entries[n].tag);
363 return mnote_pentax_tag_get_title (note->entries[n].tag);
373 return mnote_pentax_tag_get_description (note->entries[n].tag);
394 n->entries[i].order = o;
395 exif_array_set_byte_order (n->entries[i].format, n->entries[i].data,
396 n->entries[i].components, o_orig, o);