Lines Matching defs:fields
55 ASSFields fields[24];
61 .fields = {{"ScriptType", ASS_STR, offsetof(ASSScriptInfo, script_type)},
75 .fields = {{"Name", ASS_STR, offsetof(ASSStyle, name) },
107 .fields = {{"Name", ASS_STR, offsetof(ASSStyle, name) },
134 .fields = {{"Layer", ASS_INT, offsetof(ASSDialog, layer) },
243 int *order = av_malloc_array(FF_ARRAY_ELEMS(section->fields), sizeof(*order));
247 for (i = 0; section->fields[i].name; i++)
250 while (i < FF_ARRAY_ELEMS(section->fields))
295 for (i=0; section->fields[i].name; i++)
296 if (!strncmp(buf, section->fields[i].name, len)) {
327 ASSFieldType type = section->fields[order[i]].type;
328 ptr = struct_ptr + section->fields[order[i]].offset;
339 for (i=0; section->fields[i].name; i++)
340 if (!strncmp(buf, section->fields[i].name, len)) {
341 ASSFieldType type = section->fields[i].type;
343 ptr += section->fields[i].offset;
410 for (j=0; section->fields[j].name; j++) {
411 const ASSFields *field = §ion->fields[j];
436 static const ASSFields fields[] = {
452 for (i = 0; i < FF_ARRAY_ELEMS(fields); i++) {
454 const int last = i == FF_ARRAY_ELEMS(fields) - 1;
455 const ASSFieldType type = fields[i].type;
456 uint8_t *ptr = (uint8_t *)dialog + fields[i].offset;