• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching defs:section

41     const char *section;
51 { .section = "Script Info",
61 { .section = "V4+ Styles",
79 { .section = "V4 Styles",
96 { .section = "Events",
178 const ASSSection *section = &ass_sections[ctx->current_section];
179 int *count = (int *)((uint8_t *)&ctx->ass + section->offset_count);
180 void **section_ptr = (void **)((uint8_t *)&ctx->ass + section->offset);
181 uint8_t *tmp = av_realloc(*section_ptr, (*count+1)*section->size);
185 tmp += *count * section->size;
186 memset(tmp, 0, section->size);
205 const ASSSection *section = &ass_sections[ctx->current_section];
217 } else if (section->format_header && !order) {
218 len = strlen(section->format_header);
219 if (strncmp(buf, section->format_header, len) || buf[len] != ':')
229 for (i=0; section->fields[i].name; i++)
230 if (!strncmp(buf, section->fields[i].name, len)) {
238 } else if (section->fields_header) {
239 len = strlen(section->fields_header);
240 if (!strncmp(buf, section->fields_header, len) && buf[len] == ':') {
249 ASSFieldType type = section->fields[order[i]].type;
250 ptr = struct_ptr + section->fields[order[i]].offset;
261 for (i=0; section->fields[i].name; i++)
262 if (!strncmp(buf, section->fields[i].name, len)) {
263 ASSFieldType type = section->fields[i].type;
264 uint8_t *ptr = (uint8_t *)&ctx->ass + section->offset;
265 ptr += section->fields[i].offset;
280 char c, section[16];
287 if (sscanf(buf, "[%15[0-9A-Za-z+ ]]%c", section, &c) == 2) {
291 if (!strcmp(section, ass_sections[i].section)) {
314 static void free_section(ASSSplitContext *ctx, const ASSSection *section)
316 uint8_t *ptr = (uint8_t *)&ctx->ass + section->offset;
319 if (section->format_header) {
321 count = (int *)((uint8_t *)&ctx->ass + section->offset_count);
326 for (i=0; i<*count; i++, ptr += section->size)
327 for (j=0; section->fields[j].name; j++) {
328 const ASSFields *field = &section->fields[j];
334 if (section->format_header)
335 av_freep((uint8_t *)&ctx->ass + section->offset);
345 if (!strcmp(ass_sections[i].section, "Events")) {