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

Lines Matching refs:entries

43 	if (n->entries) {
45 if (n->entries[i].data) {
46 exif_mem_free (d->mem, n->entries[i].data);
47 n->entries[i].data = NULL;
49 exif_mem_free (d->mem, n->entries);
50 n->entries = NULL;
71 to = from + mnote_canon_entry_count_values (&dc->entries[*m]);
89 return mnote_canon_entry_get_value (&dc->entries[m], s, val, maxlen);
104 n->entries[i].order = o;
105 exif_array_set_byte_order (n->entries[i].format, n->entries[i].data,
106 n->entries[i].components, o_orig, o);
128 * Allocate enough memory for all entries and the number
129 * of entries.
138 /* Save the number of entries */
144 exif_set_short (*buf + o + 0, n->order, (ExifShort) n->entries[i].tag);
145 exif_set_short (*buf + o + 2, n->order, (ExifShort) n->entries[i].format);
147 n->entries[i].components);
149 s = exif_format_get_size (n->entries[i].format) *
150 n->entries[i].components;
180 if (!n->entries[i].data) memset (*buf + doff, 0, s);
181 else memcpy (*buf + doff, n->entries[i].data, s);
222 /* Remove any old entries */
226 n->entries = exif_mem_alloc (ne->mem, sizeof (MnoteCanonEntry) * c);
227 if (!n->entries) {
232 /* Parse the entries */
242 n->entries[tcount].tag = exif_get_short (buf + o, n->order);
243 n->entries[tcount].format = exif_get_short (buf + o + 2, n->order);
244 n->entries[tcount].components = exif_get_long (buf + o + 4, n->order);
245 n->entries[tcount].order = n->order;
248 "Loading entry 0x%x ('%s')...", n->entries[tcount].tag,
249 mnote_canon_tag_get_name (n->entries[tcount].tag));
255 s = exif_format_get_size (n->entries[tcount].format) *
256 n->entries[tcount].components;
257 n->entries[tcount].size = s;
275 n->entries[tcount].data = exif_mem_alloc (ne->mem, s);
276 if (!n->entries[tcount].data) {
280 memcpy (n->entries[tcount].data, buf + dataofs, s);
297 c += mnote_canon_entry_count_values (&dc->entries[i]);
310 return dc->entries[m].tag;
322 return mnote_canon_tag_get_name_sub (dc->entries[m].tag, s, dc->options);
334 return mnote_canon_tag_get_title_sub (dc->entries[m].tag, s, dc->options);
346 return mnote_canon_tag_get_description (dc->entries[m].tag);