/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | upsampling.c | 48 const uint32_t uv0 = (3 * tl_uv + l_uv + 0x00020002u) >> 2; \ 49 FUNC(top_y[0], uv0 & 0xff, (uv0 >> 16), top_dst); \ 52 const uint32_t uv0 = (3 * l_uv + tl_uv + 0x00020002u) >> 2; \ 53 FUNC(bottom_y[0], uv0 & 0xff, (uv0 >> 16), bottom_dst); \ 63 const uint32_t uv0 = (diag_12 + tl_uv) >> 1; \ 65 FUNC(top_y[2 * x - 1], uv0 & 0xff, (uv0 >> 16), \ 71 const uint32_t uv0 [all...] |
H A D | upsampling_mips_dsp_r2.c | 156 const uint32_t uv0 = (3 * tl_uv + l_uv + 0x00020002u) >> 2; \ 157 FUNC(top_y[0], uv0 & 0xff, (uv0 >> 16), top_dst); \ 160 const uint32_t uv0 = (3 * l_uv + tl_uv + 0x00020002u) >> 2; \ 161 FUNC(bottom_y[0], uv0 & 0xff, (uv0 >> 16), bottom_dst); \ 171 const uint32_t uv0 = (diag_12 + tl_uv) >> 1; \ 173 FUNC(top_y[2 * x - 1], uv0 & 0xff, (uv0 >> 16), \ 179 const uint32_t uv0 [all...] |
H A D | upsampling_msa.c | 577 const uint32_t uv0 = (3 * tl_uv + l_uv + 0x00020002u) >> 2; \ 583 FUNC(top_y[0], uv0 & 0xff, (uv0 >> 16), top_dst); \
|
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_draw.cpp | 2744 ImVec2 uv0 = ImVec2((float)(r->X + pad_left - 1), (float)(r->Y + y)) * atlas->TexUvScale; in ImFontAtlasBuildRenderLinesTexData() local 2746 float half_v = (uv0.y + uv1.y) * 0.5f; // Calculate a constant V in the middle of the row to avoid sampling artifacts in ImFontAtlasBuildRenderLinesTexData() 2747 atlas->TexUvLines[n] = ImVec4(uv0.x, half_v, uv1.x, half_v); in ImFontAtlasBuildRenderLinesTexData() 2789 ImVec2 uv0, uv1; in ImFontAtlasBuildFinish() local 2790 atlas->CalcCustomRectUV(r, &uv0, &uv1); in ImFontAtlasBuildFinish() 2791 r->Font->AddGlyph(NULL, (ImWchar)r->GlyphID, r->GlyphOffset.x, r->GlyphOffset.y, r->GlyphOffset.x + r->Width, r->GlyphOffset.y + r->Height, uv0.x, uv0.y, uv1.x, uv1.y, r->GlyphAdvanceX); in ImFontAtlasBuildFinish()
|
H A D | imgui_widgets.cpp | 999 void ImGui::Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& tint_col, const ImVec4& border_col) in Image() argument 1015 window->DrawList->AddImage(user_texture_id, bb.Min + ImVec2(1, 1), bb.Max - ImVec2(1, 1), uv0, uv1, GetColorU32(tint_col)); in Image() 1019 window->DrawList->AddImage(user_texture_id, bb.Min, bb.Max, uv0, uv1, GetColorU32(tint_col)); in Image() 1025 bool ImGui::ImageButtonEx(ImGuiID id, ImTextureID texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec2& padding, const ImVec4& bg_col, const ImVec4& tint_col) in ImageButtonEx() argument 1046 window->DrawList->AddImage(texture_id, bb.Min + padding, bb.Max - padding, uv0, uv1, GetColorU32(tint_col)); in ImageButtonEx() 1054 bool ImGui::ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, int frame_padding, const ImVec4& bg_col, const ImVec4& tint_col) in ImageButton() argument 1067 return ImageButtonEx(id, user_texture_id, size, uv0, uv1, padding, bg_col, tint_col); in ImageButton()
|
H A D | imgui.h | 506 IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1,1), const ImVec4& tint_col = ImVec4(1,1,1,1), const ImVec4& border_col = ImVec4(0,0,0,0)); 507 IMGUI_API bool ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1,1), int frame_padding = -1, const ImVec4& bg_col = ImVec4(0,0,0,0), const ImVec4& tint_col = ImVec4(1,1,1,1)); // <0 frame_padding uses default frame padding settings. 0 for no padding
|
H A D | imgui_demo.cpp | 999 ImVec2 uv0 = ImVec2((region_x) / my_tex_w, (region_y) / my_tex_h); in ShowDemoWindowWidgets() local 1001 ImGui::Image(my_tex_id, ImVec2(region_sz * zoom, region_sz * zoom), uv0, uv1, tint_col, border_col); in ShowDemoWindowWidgets() 1012 ImVec2 uv0 = ImVec2(0.0f, 0.0f); // UV coordinates for lower-left in ShowDemoWindowWidgets() local 1016 if (ImGui::ImageButton(my_tex_id, size, uv0, uv1, frame_padding, bg_col, tint_col)) in ShowDemoWindowWidgets()
|
H A D | imgui_internal.h | 2675 IMGUI_API bool ImageButtonEx(ImGuiID id, ImTextureID texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec2& padding, const ImVec4& bg_col, const ImVec4& tint_col);
|
/third_party/mesa3d/src/imgui/ |
H A D | imgui_draw.cpp | 2138 ImVec2 uv0, uv1; in ImFontAtlasBuildFinish() local 2139 atlas->CalcCustomRectUV(&r, &uv0, &uv1); in ImFontAtlasBuildFinish() 2140 r.Font->AddGlyph((ImWchar)r.ID, r.GlyphOffset.x, r.GlyphOffset.y, r.GlyphOffset.x + r.Width, r.GlyphOffset.y + r.Height, uv0.x, uv0.y, uv1.x, uv1.y, r.GlyphAdvanceX); in ImFontAtlasBuildFinish()
|
H A D | imgui.h | 390 IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0,0), const ImVec2& uv1 = ImVec2(1,1), const ImVec4& tint_col = ImVec4(1,1,1,1), const ImVec4& border_col = ImVec4(0,0,0,0)); 391 IMGUI_API bool ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0,0), const ImVec2& uv1 = ImVec2(1,1), int frame_padding = -1, const ImVec4& bg_col = ImVec4(0,0,0,0), const ImVec4& tint_col = ImVec4(1,1,1,1)); // <0 frame_padding uses default frame padding settings. 0 for no padding
|
H A D | imgui_widgets.cpp | 842 void ImGui::Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& tint_col, const ImVec4& border_col) in Image() argument 858 window->DrawList->AddImage(user_texture_id, bb.Min + ImVec2(1, 1), bb.Max - ImVec2(1, 1), uv0, uv1, GetColorU32(tint_col)); in Image() 862 window->DrawList->AddImage(user_texture_id, bb.Min, bb.Max, uv0, uv1, GetColorU32(tint_col)); in Image() 870 bool ImGui::ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, int frame_padding, const ImVec4& bg_col, const ImVec4& tint_col) in ImageButton() argument 901 window->DrawList->AddImage(user_texture_id, image_bb.Min, image_bb.Max, uv0, uv1, GetColorU32(tint_col)); in ImageButton()
|