Home
last modified time | relevance | path

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

123

/third_party/ffmpeg/libavfilter/
Dvf_subtitles.c99 AssContext *ass = ctx->priv; in init() local
101 if (!ass->filename) { in init()
106 ass->library = ass_library_init(); in init()
107 if (!ass->library) { in init()
111 ass_set_message_cb(ass->library, ass_log, ctx); in init()
113 ass_set_fonts_dir(ass->library, ass->fontsdir); in init()
115 ass->renderer = ass_renderer_init(ass->library); in init()
116 if (!ass->renderer) { in init()
126 AssContext *ass = ctx->priv; in uninit() local
128 if (ass->track) in uninit()
[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.c55 ASSContext *ass = s->priv_data; in ass_read_close() local
56 ff_subtitles_queue_clean(&ass->q); in ass_read_close()
60 static int read_dialogue(ASSContext *ass, AVBPrint *dst, const uint8_t *p, in read_dialogue() argument
83 av_bprintf(dst, "%u,%d,%s", ass->readorder++, layer, p + pos); in read_dialogue()
113 ASSContext *ass = s->priv_data; in ass_read_header() local
131 ass->q.keep_duplicates = 1; in ass_read_header()
142 if (read_dialogue(ass, &rline, line.str, &ts_start, &duration) < 0) { in ass_read_header()
146 sub = ff_subtitles_queue_insert(&ass->q, rline.str, rline.len, 0); in ass_read_header()
160 ff_subtitles_queue_finalize(s, &ass->q); in ass_read_header()
173 ASSContext *ass = s->priv_data; in ass_read_packet() local
[all …]
/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/
Dassenc.c54 const char *ass = sub->rects[i]->ass; in ass_encode_frame() local
64 if (!strncmp(ass, "Dialogue: ", 10)) { in ass_encode_frame()
71 ass += 10; // skip "Dialogue: " in ass_encode_frame()
75 layer = strtol(ass, &p, 10); in ass_encode_frame()
88 ass = ass_line; in ass_encode_frame()
92 len = av_strlcpy(buf+total_len, ass, bufsize-total_len); in ass_encode_frame()
Dmovtextenc.c181 ASS *ass; in encode_sample_description() local
219 ass = (ASS*)s->ass_ctx; in encode_sample_description()
222 if (s->frame_height && ass->script_info.play_res_y) in encode_sample_description()
223 s->font_scale_factor = (double)s->frame_height / ass->script_info.play_res_y; in encode_sample_description()
228 if (!style && ass->styles_count) { in encode_sample_description()
229 style = &ass->styles[0]; in encode_sample_description()
264 if (style && ass->styles_count) { in encode_sample_description()
270 for (i = 0; i < ass->styles_count; i++) { in encode_sample_description()
272 if (!ass->styles[i].font_name) in encode_sample_description()
275 if (!strcmp(s->fonts[j], ass->styles[i].font_name)) { in encode_sample_description()
[all …]
Dass_split.c198 ASS ass; member
208 int *count = (int *)((uint8_t *)&ctx->ass + section->offset_count); in realloc_section_array()
209 void **section_ptr = (void **)((uint8_t *)&ctx->ass + section->offset); in realloc_section_array()
334 uint8_t *ptr = (uint8_t *)&ctx->ass + section->offset; in ass_split_section()
391 uint8_t *ptr = (uint8_t *)&ctx->ass + section->offset; in free_section()
396 count = (int *)((uint8_t *)&ctx->ass + section->offset_count); in free_section()
410 av_freep((uint8_t *)&ctx->ass + section->offset); in free_section()
424 count = ctx->ass.dialogs_count; in ff_ass_split_dialog()
426 dialog = ctx->ass.dialogs + count; in ff_ass_split_dialog()
428 *number = ctx->ass.dialogs_count - count; in ff_ass_split_dialog()
[all …]
Dttmlenc.c90 const char *ass = sub->rects[i]->ass; in ttml_encode_frame() local
98 if (!strncmp(ass, "Dialogue: ", 10)) { in ttml_encode_frame()
100 dialog = ff_ass_split_dialog(s->ass_ctx, ass, 0, &num); in ttml_encode_frame()
120 dialog = ff_ass_split_dialog2(s->ass_ctx, ass); in ttml_encode_frame()
Dwebvttenc.c167 const char *ass = sub->rects[i]->ass; in webvtt_encode_frame() local
175 if (!strncmp(ass, "Dialogue: ", 10)) { in webvtt_encode_frame()
177 dialog = ff_ass_split_dialog(s->ass_ctx, ass, 0, &num); in webvtt_encode_frame()
185 dialog = ff_ass_split_dialog2(s->ass_ctx, ass); in webvtt_encode_frame()
Dsrtenc.c240 const char *ass = sub->rects[i]->ass; in encode_frame() local
248 if (!strncmp(ass, "Dialogue: ", 10)) { in encode_frame()
250 dialog = ff_ass_split_dialog(s->ass_ctx, ass, 0, &num); in encode_frame()
259 dialog = ff_ass_split_dialog2(s->ass_ctx, ass); in 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.c145 av_freep(&(*sub_rect)->ass); in subtitle_rect_free()
219 sub_rect->ass = create_ass_text(ctx, buf.str); in gen_sub_text()
221 if (!sub_rect->ass) { in gen_sub_text()
225 av_log(ctx, AV_LOG_DEBUG, "subtext:%s:txetbus\n", sub_rect->ass); in gen_sub_text()
397 …sub_rect->ass = ff_ass_get_dialog(ctx->readorder++, 0, is_subtitle_page ? "Subtitle" : "Teletext",… in gen_sub_ass()
399 if (!sub_rect->ass) { in gen_sub_ass()
403 av_log(ctx, AV_LOG_DEBUG, "subtext:%s:txetbus\n", sub_rect->ass); in gen_sub_ass()
DMakefile215 OBJS-$(CONFIG_SSA_DECODER) += assdec.o ass.o
216 OBJS-$(CONFIG_SSA_ENCODER) += assenc.o ass.o
217 OBJS-$(CONFIG_ASS_DECODER) += assdec.o ass.o
218 OBJS-$(CONFIG_ASS_ENCODER) += assenc.o ass.o
258 OBJS-$(CONFIG_CCAPTION_DECODER) += ccaption_dec.o ass.o
431 OBJS-$(CONFIG_JACOSUB_DECODER) += jacosubdec.o ass.o
453 OBJS-$(CONFIG_MICRODVD_DECODER) += microdvddec.o ass.o
468 OBJS-$(CONFIG_MOVTEXT_DECODER) += movtextdec.o ass.o
508 OBJS-$(CONFIG_MPL2_DECODER) += mpl2dec.o ass.o
560 OBJS-$(CONFIG_PJS_DECODER) += textdec.o ass.o
[all …]
Dass.c136 rects[sub->num_rects]->ass = ass_str; in ff_ass_add_rect()
Ddecode.c990 if (rect->type != SUBTITLE_ASS || !strncmp(rect->ass, "Dialogue: ", 10)) in convert_sub_to_old_ass_form()
996 dialog = strchr(rect->ass, ','); in convert_sub_to_old_ass_form()
1025 av_freep(&rect->ass); in convert_sub_to_old_ass_form()
1026 rect->ass = final_dialog; in convert_sub_to_old_ass_form()
1094 sub->rects[i]->ass && !utf8_check(sub->rects[i]->ass)) { in avcodec_decode_subtitle2()
/third_party/gstreamer/gstplugins_bad/ext/assrender/
Dgstassrender.c96 #define GST_ASS_RENDER_GET_LOCK(ass) (&GST_ASS_RENDER (ass)->lock) argument
97 #define GST_ASS_RENDER_GET_COND(ass) (&GST_ASS_RENDER (ass)->cond) argument
98 #define GST_ASS_RENDER_LOCK(ass) (g_mutex_lock (GST_ASS_RENDER_GET_LOCK (ass))) argument
99 #define GST_ASS_RENDER_UNLOCK(ass) (g_mutex_unlock (GST_ASS_RENDER_GET_LOCK (ass))) argument
100 #define GST_ASS_RENDER_WAIT(ass) (g_cond_wait (GST_ASS_RENDER_GET_COND (ass), GST_ASS_RENDER_GE… argument
101 #define GST_ASS_RENDER_SIGNAL(ass) (g_cond_signal (GST_ASS_RENDER_GET_COND (ass))) argument
102 #define GST_ASS_RENDER_BROADCAST(ass)(g_cond_broadcast (GST_ASS_RENDER_GET_COND (ass))) argument
/third_party/flutter/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/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/icu/icu4c/source/data/locales/
Dshi_Latn.txt222 dn{"ass"}
251 dn{"ass g imalass"}
Dkab.txt133 "Kraḍass",
134 "Kuẓass",
/third_party/ffmpeg/
DMAINTAINERS144 ass* Aurelien Jacobs
401 ass* Aurelien Jacobs
/third_party/flutter/skia/third_party/externals/sdl/docs/
DREADME-dynapi.md8 - The Steam Runtime has (at least in theory) a really kick-ass build of SDL2,

123