/third_party/ffmpeg/libavformat/ |
H A D | seek.c | 287 int64_t pos_min = 0, pos_max = 0, pos, pos_limit; in ff_seek_frame_binary() local 330 pos_max = e->pos; in ff_seek_frame_binary() 332 pos_limit = pos_max - e->min_distance; in ff_seek_frame_binary() 333 av_log(s, AV_LOG_TRACE, "using cached pos_max=0x%"PRIx64" pos_limit=0x%"PRIx64 in ff_seek_frame_binary() 334 " dts_max=%s\n", pos_max, pos_limit, av_ts2str(ts_max)); in ff_seek_frame_binary() 338 pos = ff_gen_search(s, stream_index, target_ts, pos_min, pos_max, pos_limit, in ff_seek_frame_binary() 359 int64_t pos_max = filesize - 1; in ff_find_last_ts() local 361 limit = pos_max; in ff_find_last_ts() 362 pos_max = FFMAX(0, (pos_max) in ff_find_last_ts() 391 ff_gen_search(AVFormatContext *s, int stream_index, int64_t target_ts, int64_t pos_min, int64_t pos_max, int64_t pos_limit, int64_t ts_min, int64_t ts_max, int flags, int64_t *ts_ret, int64_t (*read_timestamp_func)(struct AVFormatContext *, int, int64_t *, int64_t)) ff_gen_search() argument 502 int64_t pos_min, pos_max; seek_frame_byte() local [all...] |
H A D | yop.c | 184 int64_t frame_pos, pos_min, pos_max; in yop_read_seek() local 191 pos_max = avio_size(s->pb) - yop->frame_size; in yop_read_seek() 192 frame_count = (pos_max - pos_min) / yop->frame_size; in yop_read_seek()
|
H A D | demux.h | 122 int64_t pos_max, int64_t pos_limit,
|
/third_party/mesa3d/src/imgui/ |
H A D | imgui_internal.h | 1443 IMGUI_API void RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0,0), const ImRect* clip_rect = NULL); 1444 IMGUI_API void RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0, 0), const ImRect* clip_rect = NULL);
|
H A D | imgui.cpp | 2327 // Default clip_rect uses (pos_min,pos_max) 2329 void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_display_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) in RenderTextClippedEx() argument 2336 const ImVec2* clip_max = clip_rect ? &clip_rect->Max : &pos_max; in RenderTextClippedEx() 2342 if (align.x > 0.0f) pos.x = ImMax(pos.x, pos.x + (pos_max.x - pos.x - text_size.x) * align.x); in RenderTextClippedEx() 2343 if (align.y > 0.0f) pos.y = ImMax(pos.y, pos.y + (pos_max.y - pos.y - text_size.y) * align.y); in RenderTextClippedEx() 2357 void ImGui::RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) in RenderTextClipped() argument 2367 RenderTextClippedEx(window->DrawList, pos_min, pos_max, text, text_display_end, text_size_if_known, align, clip_rect); in RenderTextClipped() 4658 ImVec2 pos_max = ImLerp(window->Pos + window->Size, corner_target, corner_norm); // Expected window lower-right in CalcResizePosSizeFromAnyCorner() local 4659 ImVec2 size_expected = pos_max - pos_min; in CalcResizePosSizeFromAnyCorner()
|
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui.cpp | 2748 // Default clip_rect uses (pos_min,pos_max) 2750 void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_display_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) in RenderTextClippedEx() argument 2757 const ImVec2* clip_max = clip_rect ? &clip_rect->Max : &pos_max; in RenderTextClippedEx() 2763 if (align.x > 0.0f) pos.x = ImMax(pos.x, pos.x + (pos_max.x - pos.x - text_size.x) * align.x); in RenderTextClippedEx() 2764 if (align.y > 0.0f) pos.y = ImMax(pos.y, pos.y + (pos_max.y - pos.y - text_size.y) * align.y); in RenderTextClippedEx() 2778 void ImGui::RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) in RenderTextClipped() argument 2788 RenderTextClippedEx(window->DrawList, pos_min, pos_max, text, text_display_end, text_size_if_known, align, clip_rect); in RenderTextClipped() 2795 // This is made more complex because we have dissociated the layout rectangle (pos_min..pos_max) which define _where_ the ellipsis is, from actual clipping of text and limit of the ellipsis display. 2797 void ImGui::RenderTextEllipsis(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, float clip_max_x, float ellipsis_max_x, const char* text, const char* text_end_full, const ImVec2* text_size_if_known) in RenderTextEllipsis() argument 2804 //draw_list->AddLine(ImVec2(pos_max in RenderTextEllipsis() 5331 ImVec2 pos_max = ImLerp(window->Pos + window->Size, corner_target, corner_norm); // Expected window lower-right CalcResizePosSizeFromAnyCorner() local [all...] |
H A D | imgui_internal.h | 2643 IMGUI_API void RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0, 0), const ImRect* clip_rect = NULL); 2644 IMGUI_API void RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0, 0), const ImRect* clip_rect = NULL); 2645 IMGUI_API void RenderTextEllipsis(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, float clip_max_x, float ellipsis_max_x, const char* text, const char* text_end, const ImVec2* text_size_if_known);
|