Home
last modified time | relevance | path

Searched refs:text_pos (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmovtextenc.c87 uint16_t text_pos; member
348 if (s->style_attributes_temp.style_start == s->text_pos) in mov_text_style_start()
368 s->style_attributes_temp.style_end = s->text_pos; in mov_text_style_start()
372 s->style_attributes_temp.style_start = s->text_pos; in mov_text_style_start()
375 s->style_attributes_temp.style_start = s->text_pos; in mov_text_style_start()
447 if (!(s->box_flags & HLIT_BOX) || s->hlit.start == s->text_pos) { in mov_text_color_cb()
450 s->hlit.start = s->text_pos; in mov_text_color_cb()
454 s->hlit.end = s->text_pos; in mov_text_color_cb()
485 if (!(s->box_flags & HLIT_BOX) || s->hlit.start == s->text_pos) { in mov_text_alpha_cb()
488 s->hlit.start = s->text_pos; in mov_text_alpha_cb()
[all …]
Dmovtextdec.c340 int text_pos = 0; in text_to_ass() local
357 if (text_pos == style->style_end) { in text_to_ass()
363 if (entry < m->style_entries && text_pos == style->style_start) { in text_to_ass()
386 if (text_pos == m->h.hlit_start) { in text_to_ass()
400 if (text_pos == m->h.hlit_end) { in text_to_ass()
426 text_pos++; in text_to_ass()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Did3v2frames.c1191 gint text_pos; in parse_split_strings() local
1198 for (text_pos = 0; text_pos < data_size; text_pos++) { in parse_split_strings()
1199 if (data[text_pos] == 0) { in parse_split_strings()
1201 text_pos - prev, fields); in parse_split_strings()
1202 prev = text_pos + 1; in parse_split_strings()
1212 for (prev = 0, text_pos = 0; text_pos < data_size; text_pos++) { in parse_split_strings()
1213 if (data[text_pos] == '\0') { in parse_split_strings()
1215 text_pos - prev, fields); in parse_split_strings()
1216 prev = text_pos + 1; in parse_split_strings()
1228 for (text_pos = 0; text_pos < data_size - 1; text_pos += 2) { in parse_split_strings()
[all …]
/third_party/skia/third_party/externals/imgui/
Dimgui_widgets.cpp166 …const ImVec2 text_pos(window->DC.CursorPos.x, window->DC.CursorPos.y + window->DC.CurrLineTextBase… in TextEx() local
181 ImVec2 pos = text_pos; in TextEx()
184 int lines_skippable = (int)((window->ClipRect.Min.y - text_pos.y) / line_height); in TextEx()
236 text_size.y = (pos - text_pos).y; in TextEx()
238 ImRect bb(text_pos, text_pos + text_size); in TextEx()
247 ImRect bb(text_pos, text_pos + text_size); in TextEx()
5849 ImVec2 text_pos(window->DC.CursorPos.x + text_offset_x, window->DC.CursorPos.y + text_offset_y); in TreeNodeBehavior() local
5886 const float arrow_hit_x1 = (text_pos.x - text_offset_x) - style.TouchExtraPadding.x; in TreeNodeBehavior()
5887 …const float arrow_hit_x2 = (text_pos.x - text_offset_x) + (g.FontSize + padding.x * 2.0f) + style.… in TreeNodeBehavior()
5967 …RenderBullet(window->DrawList, ImVec2(text_pos.x - text_offset_x * 0.60f, text_pos.y + g.FontSize … in TreeNodeBehavior()
[all …]
Dimgui_tables.cpp2404 ImVec2 text_pos = merge_group->ClipRect.Min + ImVec2(4, 4); in TableMergeDrawChannels()
2406 … GetForegroundDrawList()->AddRectFilled(text_pos, text_pos + text_size, IM_COL32(0, 0, 0, 255)); in TableMergeDrawChannels()
2407 GetForegroundDrawList()->AddText(text_pos, IM_COL32(255, 255, 0, 255), buf, NULL); in TableMergeDrawChannels()
Dimgui_demo.cpp3103 const ImVec2 text_pos = ImVec2(p0.x + offset.x, p0.y + offset.y); in ShowDemoWindowLayout() local
3115 draw_list->AddText(text_pos, IM_COL32_WHITE, text_str); in ShowDemoWindowLayout()
3125 draw_list->AddText(text_pos, IM_COL32_WHITE, text_str); in ShowDemoWindowLayout()
3135 …draw_list->AddText(ImGui::GetFont(), ImGui::GetFontSize(), text_pos, IM_COL32_WHITE, text_str, NUL… in ShowDemoWindowLayout()
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui_widgets.cpp137 …const ImVec2 text_pos(window->DC.CursorPos.x, window->DC.CursorPos.y + window->DC.CurrentLineTextB… in TextUnformatted() local
152 if (text_pos.y <= clip_rect.Max.y) in TextUnformatted()
154 ImVec2 pos = text_pos; in TextUnformatted()
159 int lines_skippable = (int)((clip_rect.Min.y - text_pos.y) / line_height); in TextUnformatted()
209 text_size.y += (pos - text_pos).y; in TextUnformatted()
212 ImRect bb(text_pos, text_pos + text_size); in TextUnformatted()
222 ImRect bb(text_pos, text_pos + text_size); in TextUnformatted()
4849 const ImVec2 text_pos = frame_bb.Min + ImVec2(text_offset_x, text_base_offset_y); in TreeNodeBehavior() local
4861 LogRenderedText(&text_pos, log_prefix, log_prefix+3); in TreeNodeBehavior()
4862 RenderTextClipped(text_pos, frame_bb.Max, label, label_end, &label_size); in TreeNodeBehavior()
[all …]
/third_party/mesa3d/src/imgui/
Dimgui_widgets.cpp139 …const ImVec2 text_pos(window->DC.CursorPos.x, window->DC.CursorPos.y + window->DC.CurrentLineTextB… in TextUnformatted() local
154 if (text_pos.y <= clip_rect.Max.y) in TextUnformatted()
156 ImVec2 pos = text_pos; in TextUnformatted()
161 int lines_skippable = (int)((clip_rect.Min.y - text_pos.y) / line_height); in TextUnformatted()
211 text_size.y += (pos - text_pos).y; in TextUnformatted()
214 ImRect bb(text_pos, text_pos + text_size); in TextUnformatted()
224 ImRect bb(text_pos, text_pos + text_size); in TextUnformatted()
4865 const ImVec2 text_pos = frame_bb.Min + ImVec2(text_offset_x, text_base_offset_y); in TreeNodeBehavior() local
4878 LogRenderedText(&text_pos, log_prefix, log_prefix+3); in TreeNodeBehavior()
4879 RenderTextClipped(text_pos, frame_bb.Max, label, label_end, &label_size); in TreeNodeBehavior()
[all …]