Home
last modified time | relevance | path

Searched refs:ass (Results 1 – 25 of 50) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dvf_subtitles.c100 AssContext *ass = ctx->priv; in init() local
102 if (!ass->filename) { in init()
107 ass->library = ass_library_init(); in init()
108 if (!ass->library) { in init()
112 ass_set_message_cb(ass->library, ass_log, ctx); in init()
114 ass_set_fonts_dir(ass->library, ass->fontsdir); in init()
115 ass_set_extract_fonts(ass->library, 1); in init()
117 ass->renderer = ass_renderer_init(ass->library); in init()
118 if (!ass->renderer) { in init()
128 AssContext *ass = ctx->priv; in uninit() local
[all …]
/third_party/ffmpeg/libavformat/
Dassenc.c48 ASSContext *ass = s->priv_data; in write_header() local
67 ass->trailer_size = par->extradata_size - header_size; in write_header()
68 if (ass->trailer_size) in write_header()
69 ass->trailer = trailer; in write_header()
75 ass->ssa_mode = !strstr(par->extradata, "\n[V4+ Styles]"); in write_header()
78 ass->ssa_mode ? "Marked" : "Layer"); in write_header()
87 ASSContext *ass = s->priv_data; in purge_dialogues() local
88 DialogueLine *dialogue = ass->dialogue_cache; in purge_dialogues()
90 while (dialogue && (dialogue->readorder == ass->expected_readorder || force)) { in purge_dialogues()
92 if (dialogue->readorder != ass->expected_readorder) { in purge_dialogues()
[all …]
Dassdec.c52 static int read_dialogue(ASSContext *ass, AVBPrint *dst, const uint8_t *p, in read_dialogue() argument
75 av_bprintf(dst, "%u,%d,%s", ass->readorder++, layer, p + pos); in read_dialogue()
105 ASSContext *ass = s->priv_data; in ass_read_header() local
123 ass->q.keep_duplicates = 1; in ass_read_header()
134 if (read_dialogue(ass, &rline, line.str, &ts_start, &duration) < 0) { in ass_read_header()
138 sub = ff_subtitles_queue_insert(&ass->q, rline.str, rline.len, 0); in ass_read_header()
152 ff_subtitles_queue_finalize(s, &ass->q); in ass_read_header()
/third_party/ffmpeg/tests/fate/
Dsubtitles.mak2 fate-sub-aqtitle: CMD = fmtstdout ass -sub_charenc windows-1250 -i $(TARGET_SAMPLES)/sub/AQTitle_ca…
5 fate-sub-cc: CMD = fmtstdout ass -f lavfi -i "movie=$(TARGET_SAMPLES)/sub/Closedcaption_rollup.m2v[…
8 fate-sub-cc-realtime: CMD = fmtstdout ass -real_time 1 -f lavfi -i "movie=$(TARGET_SAMPLES)/sub/Clo…
11 fate-sub-cc-scte20: CMD = fmtstdout ass -f lavfi -i "movie=$(TARGET_SAMPLES)/sub/scte20.ts[out0+sub…
13 FATE_SUBTITLES_ASS-$(call DEMDEC, ASS, ASS) += fate-sub-ass-to-ass-transcode
14 fate-sub-ass-to-ass-transcode: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/1ededcbd7b.ass
16 FATE_SUBTITLES_ASS-$(CONFIG_ASS_DEMUXER) += fate-sub-ssa-to-ass-remux
17 fate-sub-ssa-to-ass-remux: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/a9-misc.ssa -c copy
20 fate-binsub-mksenc: CMD = md5pipe -i $(TARGET_SAMPLES)/sub/1ededcbd7b.ass -c copy -f matroska -flag…
23 fate-sub-jacosub: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/JACOsub_capability_tester.jss
[all …]
/third_party/libwebsockets/lib/roles/http/server/
Daccess-log.c151 char *p = wsi->http.access_log.user_agent, ass[512], in lws_access_log() local
178 l = lws_snprintf(ass, sizeof(ass) - 7, "%s %d %lu \"%s", in lws_access_log()
182 if (strlen(p) > sizeof(ass) - 6 - (unsigned int)l) { in lws_access_log()
183 p[sizeof(ass) - 6 - (unsigned int)l] = '\0'; in lws_access_log()
186 l += lws_snprintf(ass + (unsigned int)l, sizeof(ass) - 1 - (unsigned int)l, "\" \"%s\"\n", p); in lws_access_log()
188 ass[sizeof(ass) - 1] = '\0'; in lws_access_log()
190 if ((int)write(wsi->a.vhost->log_fd, ass, (size_t)l) != l) in lws_access_log()
/third_party/ffmpeg/libavcodec/
Dmovtextenc.c179 ASS *ass; in encode_sample_description() local
217 ass = (ASS*)s->ass_ctx; in encode_sample_description()
220 if (s->frame_height && ass->script_info.play_res_y) in encode_sample_description()
221 s->font_scale_factor = (double)s->frame_height / ass->script_info.play_res_y; in encode_sample_description()
226 if (!style && ass->styles_count) { in encode_sample_description()
227 style = &ass->styles[0]; in encode_sample_description()
262 if (style && ass->styles_count) { in encode_sample_description()
268 for (i = 0; i < ass->styles_count; i++) { in encode_sample_description()
270 if (!ass->styles[i].font_name) in encode_sample_description()
273 if (!strcmp(s->fonts[j], ass->styles[i].font_name)) { in encode_sample_description()
[all …]
Dttmlenc.c90 const char *ass = sub->rects[i]->ass; in ttml_encode_frame() local
98 dialog = ff_ass_split_dialog(s->ass_ctx, ass); in ttml_encode_frame()
304 ASS *ass = (ASS *)s->ass_ctx; in ttml_write_header_content() local
305 ASSScriptInfo script_info = ass->script_info; in ttml_write_header_content()
331 for (int i = 0; i < ass->styles_count; i++) { in ttml_write_header_content()
333 ass->styles[i]); in ttml_write_header_content()
Dass_split.c206 ASS ass; member
216 int *count = (int *)((uint8_t *)&ctx->ass + section->offset_count); in realloc_section_array()
217 void **section_ptr = (void **)((uint8_t *)&ctx->ass + section->offset); in realloc_section_array()
342 uint8_t *ptr = (uint8_t *)&ctx->ass + section->offset; in ass_split_section()
399 uint8_t *ptr = (uint8_t *)&ctx->ass + section->offset; in free_section()
404 count = (int *)((uint8_t *)&ctx->ass + section->offset_count); in free_section()
418 av_freep((uint8_t *)&ctx->ass + section->offset); in free_section()
580 ASS *ass = &ctx->ass; in ff_ass_style_get() local
585 for (i=0; i<ass->styles_count; i++) in ff_ass_style_get()
586 if (ass->styles[i].name && !strcmp(ass->styles[i].name, style)) in ff_ass_style_get()
[all …]
Dassenc.c51 const char *ass = sub->rects[i]->ass; in ass_encode_frame() local
58 len = av_strlcpy(buf+total_len, ass, bufsize-total_len); in ass_encode_frame()
Dwebvttenc.c168 const char *ass = sub->rects[i]->ass; in webvtt_encode_frame() local
175 dialog = ff_ass_split_dialog(s->ass_ctx, ass); in webvtt_encode_frame()
Dassdec.c57 sub->rects[0]->ass = av_strdup(avpkt->data); in ass_decode_frame()
58 if (!sub->rects[0]->ass) in ass_decode_frame()
Dlibzvbi-teletextdec.c146 av_freep(&(*sub_rect)->ass); in subtitle_rect_free()
220 sub_rect->ass = create_ass_text(ctx, buf.str); in gen_sub_text()
222 if (!sub_rect->ass) { in gen_sub_text()
226 av_log(ctx, AV_LOG_DEBUG, "subtext:%s:txetbus\n", sub_rect->ass); in gen_sub_text()
398 …sub_rect->ass = ff_ass_get_dialog(ctx->readorder++, 0, is_subtitle_page ? "Subtitle" : "Teletext",… in gen_sub_ass()
400 if (!sub_rect->ass) { in gen_sub_ass()
404 av_log(ctx, AV_LOG_DEBUG, "subtext:%s:txetbus\n", sub_rect->ass); in gen_sub_ass()
DMakefile224 OBJS-$(CONFIG_SSA_DECODER) += assdec.o ass.o
225 OBJS-$(CONFIG_SSA_ENCODER) += assenc.o ass.o
226 OBJS-$(CONFIG_ASS_DECODER) += assdec.o ass.o
227 OBJS-$(CONFIG_ASS_ENCODER) += assenc.o ass.o
268 OBJS-$(CONFIG_CCAPTION_DECODER) += ccaption_dec.o ass.o
445 OBJS-$(CONFIG_JACOSUB_DECODER) += jacosubdec.o ass.o
467 OBJS-$(CONFIG_MICRODVD_DECODER) += microdvddec.o ass.o
482 OBJS-$(CONFIG_MOVTEXT_DECODER) += movtextdec.o ass.o
524 OBJS-$(CONFIG_MPL2_DECODER) += mpl2dec.o ass.o
579 OBJS-$(CONFIG_PJS_DECODER) += textdec.o ass.o
[all …]
Dsrtenc.c243 const char *ass = sub->rects[i]->ass; in encode_frame() local
250 dialog = ff_ass_split_dialog(s->ass_ctx, ass); in encode_frame()
Dass.c153 rect->ass = ass_str; in ff_ass_add_rect2()
Davcodec.h2300 char *ass; member
Ddecode.c871 sub->rects[i]->ass && !utf8_check(sub->rects[i]->ass)) { in avcodec_decode_subtitle2()
Davcodec.c430 av_freep(&rect->ass); in avsubtitle_free()
/third_party/icu/icu4c/source/data/locales/
Dshi_Latn.txt242 dn{"ass"}
271 dn{"ass g imalass"}
Dkab.txt153 "Kraḍass",
154 "Kuẓass",
/third_party/skia/third_party/externals/icu/source/data/locales/
Dshi_Latn.txt222 dn{"ass"}
251 dn{"ass g imalass"}
Dkab.txt133 "Kraḍass",
134 "Kuẓass",
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_assembler.cpp126 AssamblerVisitor ass(m_sh, m_key); in lower() local
130 b->accept(ass); in lower()
131 if (!ass.m_result) in lower()
135 ass.finalize(); in lower()
137 return ass.m_result; in lower()
/third_party/ffmpeg/
DMAINTAINERS145 ass* Aurelien Jacobs
405 ass* Aurelien Jacobs
/third_party/ffmpeg/doc/
DAPIchanges1118 AVSubtitles.rects[N]->ass when "sub_text_format" is set to "ass" (see
1122 Add a "sub_text_format" subtitles decoding option allowing the values "ass"
1124 The default value for this option will change to "ass" at the next major
1129 as strings in the AVSubtitles.rects[N]->ass fields.
1131 Setting "sub_text_format" to "ass" allows a better timing accuracy (ASS

12