• 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:tags

57 static void microdvd_set_tag(struct microdvd_tag *tags, struct microdvd_tag tag)
63 memcpy(&tags[tag_index], &tag, sizeof(tag));
69 static char *microdvd_load_tags(struct microdvd_tag *tags, char *s)
96 * to handle this kind of style tags: {y:ib}{Y:us} */
178 microdvd_set_tag(tags, tag);
184 static void microdvd_open_tags(AVBPrint *new_line, struct microdvd_tag *tags)
188 if (tags[i].persistent == MICRODVD_PERSISTENT_OPENED)
190 switch (tags[i].key) {
194 if (tags[i].data1 & (1 << sidx))
199 av_bprintf(new_line, "{\\c&H%06X&}", tags[i].data1);
204 tags[i].data_string_len, tags[i].data_string);
208 av_bprintf(new_line, "{\\fs%d}", tags[i].data1);
212 if (tags[i].data1 == 0)
218 tags[i].data1, tags[i].data2);
221 if (tags[i].persistent == MICRODVD_PERSISTENT_ON)
222 tags[i].persistent = MICRODVD_PERSISTENT_OPENED;
227 struct microdvd_tag *tags)
232 if (tags[i].persistent != MICRODVD_PERSISTENT_OFF)
234 switch (tags[i].key) {
238 if (tags[i].data1 & (1 << sidx))
254 tags[i].key = 0;
267 struct microdvd_tag tags[sizeof(MICRODVD_TAGS) - 1] = {{0}};
286 // parse MicroDVD tags, and open them in ASS
287 line = microdvd_load_tags(tags, line);
288 microdvd_open_tags(&new_line, tags);
298 microdvd_close_no_persistent_tags(&new_line, tags);
332 struct microdvd_tag tags[sizeof(MICRODVD_TAGS) - 1] = {{0}};
338 microdvd_load_tags(tags, avctx->extradata);
340 switch (av_tolower(tags[i].key)) {
343 if (tags[i].data1 & (1 << sidx)) {
353 case 'c': color = tags[i].data1; break;
354 case 's': font_size = tags[i].data1; break;
360 tags[i].data_string_len, tags[i].data_string);