Home
last modified time | relevance | path

Searched refs:kH (Results 1 – 25 of 205) sorted by relevance

123456789

/external/skqp/tests/
DCopySurfaceTest.cpp32 static const int kH = 10; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
35 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
36 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
40 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
41 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
46 { 0, 0, kW , kH }, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
47 {-1, -1, kW+1, kH+1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
48 { 1, 1, kW-1, kH-1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
55 { kW/2, kH/4}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
56 { kW-1, kH-1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DVkWrapTests.cpp31 const int kH = 1024; variable
39 GrBackendTexture origBackendTex = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, in wrap_tex_test()
53 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test()
67 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test()
80 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test()
92 GrBackendTexture origBackendTex = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, in wrap_rt_test()
99 GrBackendRenderTarget origBackendRT(kW, kH, 1, 0, imageInfo); in wrap_rt_test()
109 GrBackendRenderTarget backendRT(kW, kH, 1, 0, backendCopy); in wrap_rt_test()
120 GrBackendRenderTarget backendRT(kW, kH, 1, 0, backendCopy); in wrap_rt_test()
134 GrBackendTexture origBackendTex = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, in wrap_trt_test()
[all …]
DClearTest.cpp68 static const int kH = 10; in clear_op_test() local
70 SkIRect fullRect = SkIRect::MakeWH(kW, kH); in clear_op_test()
75 SkIRect mid1Rect = SkIRect::MakeXYWH(1, 1, kW-2, kH-2); in clear_op_test()
76 SkIRect outerLeftEdge = SkIRect::MakeXYWH(0, 0, 1, kH); in clear_op_test()
78 SkIRect outerRightEdge = SkIRect::MakeXYWH(kW-1, 0, 1, kH); in clear_op_test()
79 SkIRect outerBottomEdge = SkIRect::MakeXYWH(0, kH-1, kW, 1); in clear_op_test()
83 SkIRect mid2Rect = SkIRect::MakeXYWH(2, 2, kW-4, kH-4); in clear_op_test()
84 SkIRect innerLeftEdge = SkIRect::MakeXYWH(1, 1, 1, kH-2); in clear_op_test()
86 SkIRect innerRightEdge = SkIRect::MakeXYWH(kW-2, 1, 1, kH-2); in clear_op_test()
87 SkIRect innerBottomEdge = SkIRect::MakeXYWH(1, kH-2, kW-2, 1); in clear_op_test()
[all …]
DApplyGammaTest.cpp99 static const int kH = 256; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
105 baseDesc.fHeight = kH; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
107 const SkImageInfo ii = SkImageInfo::MakeN32Premul(kW, kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
109 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
110 for (int y = 0; y < kH; ++y) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
119 SkAutoTMalloc<uint32_t> read(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
145 sk_memset32(read.get(), 0, kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 for (int y = 0; y < kH && !abort; ++y) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSRGBReadWritePixelsTest.cpp185 static constexpr int kH = 255; variable
188 std::unique_ptr<uint32_t[]> data(new uint32_t[kW * kH]); in make_data()
189 for (int j = 0; j < kH; ++j) { in make_data()
202 desc.fHeight = kH; in make_surface_context()
226 auto writeII = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, in test_write_read()
235 auto readII = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, in test_write_read()
DSurfaceTest.cpp811 const int kH = surface->height(); in test_surface_draw_partially() local
815 surface->getCanvas()->drawRect(SkRect::MakeWH(SkIntToScalar(kW), SkIntToScalar(kH)/2), in test_surface_draw_partially()
817 std::unique_ptr<uint32_t[]> pixels(new uint32_t[kW * kH]); in test_surface_draw_partially()
818 sk_memset32(pixels.get(), ~origColor, kW * kH); in test_surface_draw_partially()
820 SkImageInfo readInfo = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType); in test_surface_draw_partially()
831 for (int y = 0; y < kH/2 && !stop; ++y) { in test_surface_draw_partially()
840 for (int y = kH/2; y < kH && !stop; ++y) { in test_surface_draw_partially()
/external/skia/tests/
DCopySurfaceTest.cpp36 static const int kH = 10; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
39 SkAutoTMalloc<uint32_t> srcPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
40 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
44 SkAutoTMalloc<uint32_t> dstPixels(kW * kH); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
45 for (int i = 0; i < kW * kH; ++i) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
50 { 0, 0, kW , kH }, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
51 {-1, -1, kW+1, kH+1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
52 { 1, 1, kW-1, kH-1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
59 { kW/2, kH/4}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
60 { kW-1, kH-1}, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DVkWrapTests.cpp31 const int kH = 1024; variable
39 GrBackendTexture origBackendTex = context->createBackendTexture(kW, kH, in wrap_tex_test()
57 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test()
70 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test()
82 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test()
93 GrBackendTexture origBackendTex = context->createBackendTexture(kW, kH, in wrap_rt_test()
103 GrBackendRenderTarget origBackendRT(kW, kH, 1, 0, imageInfo); in wrap_rt_test()
112 GrBackendRenderTarget backendRT(kW, kH, 1, 0, backendCopy); in wrap_rt_test()
122 GrBackendRenderTarget backendRT(kW, kH, 1, 0, backendCopy); in wrap_rt_test()
135 GrBackendTexture origBackendTex = context->createBackendTexture(kW, kH, in wrap_trt_test()
[all …]
DClearTest.cpp70 static const int kH = 10; in clear_op_test() local
72 SkIRect fullRect = SkIRect::MakeWH(kW, kH); in clear_op_test()
77 SkIRect mid1Rect = SkIRect::MakeXYWH(1, 1, kW-2, kH-2); in clear_op_test()
78 SkIRect outerLeftEdge = SkIRect::MakeXYWH(0, 0, 1, kH); in clear_op_test()
80 SkIRect outerRightEdge = SkIRect::MakeXYWH(kW-1, 0, 1, kH); in clear_op_test()
81 SkIRect outerBottomEdge = SkIRect::MakeXYWH(0, kH-1, kW, 1); in clear_op_test()
85 SkIRect mid2Rect = SkIRect::MakeXYWH(2, 2, kW-4, kH-4); in clear_op_test()
86 SkIRect innerLeftEdge = SkIRect::MakeXYWH(1, 1, 1, kH-2); in clear_op_test()
88 SkIRect innerRightEdge = SkIRect::MakeXYWH(kW-2, 1, 1, kH-2); in clear_op_test()
89 SkIRect innerBottomEdge = SkIRect::MakeXYWH(1, kH-2, kW-2, 1); in clear_op_test()
[all …]
DReadPixelsTest.cpp789 static constexpr int kH = 16; in gpu_read_pixels_test_driver() local
796 SkImageInfo::Make(kW, kH, kRGBA_F32_SkColorType, srcAT, SkColorSpace::MakeSRGB()); in gpu_read_pixels_test_driver()
798 static constexpr SkPoint kPts1[] = {{0, 0}, {kW, kH}}; in gpu_read_pixels_test_driver()
804 static constexpr SkPoint kPts2[] = {{kW, 0}, {0, kH}}; in gpu_read_pixels_test_driver()
826 paint.setShader(SkGradientShader::MakeRadial({kW / 2.f, kH / 2.f}, (kW + kH) / 10.f, in gpu_read_pixels_test_driver()
832 const auto srcInfo = SkImageInfo::Make(kW, kH, srcCT, srcAT, SkColorSpace::MakeSRGB()); in gpu_read_pixels_test_driver()
867 SkIRect::MakeWH(kW, kH), in gpu_read_pixels_test_driver()
869 SkIRect::MakeLTRB(-10, -10, kW + 10, kH + 10), in gpu_read_pixels_test_driver()
871 SkIRect::MakeLTRB(kW / 4, kH / 4, 3 * kW / 4, 3 * kH / 4), in gpu_read_pixels_test_driver()
877 SkIRect::MakeLTRB(-10, -10, kW / 4, kH / 4), in gpu_read_pixels_test_driver()
[all …]
DSRGBReadWritePixelsTest.cpp178 static constexpr int kH = 255; variable
181 std::unique_ptr<uint32_t[]> data(new uint32_t[kW * kH]); in make_data()
182 for (int j = 0; j < kH; ++j) { in make_data()
195 SkBackingFit::kExact, {kW, kH}, 1, GrMipMapped::kNo, GrProtected::kNo, in make_surface_context()
210 auto writeII = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, in test_write_read()
219 auto readII = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, in test_write_read()
DVkProtectedContextTest.cpp150 const int kH = 8; in createSkSurface() local
152 kW, kH, kRGBA_8888_SkColorType, GrMipMapped::kNo, GrRenderable::kNo, in createSkSurface()
187 const int kH = 8; in DEF_GPUTEST() local
190 kW, kH, kRGBA_8888_SkColorType, GrMipMapped::kNo, GrRenderable::kNo, in DEF_GPUTEST()
213 const int kH = 8; in DEF_GPUTEST() local
216 kW, kH, kRGBA_8888_SkColorType, GrMipMapped::kNo, GrRenderable::kNo, in DEF_GPUTEST()
229 const int kH = 8; in DEF_GPUTEST() local
232 kW, kH, kRGBA_8888_SkColorType, GrMipMapped::kNo, GrRenderable::kNo, in DEF_GPUTEST()
DSurfaceTest.cpp832 const int kH = surface->height(); in test_surface_draw_partially() local
836 surface->getCanvas()->drawRect(SkRect::MakeIWH(kW, kH/2), paint); in test_surface_draw_partially()
839 SkImageInfo readInfo = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType); in test_surface_draw_partially()
858 for (int y = 0; y < kH/2 && !stop; ++y) { in test_surface_draw_partially()
869 for (int y = kH/2; y < kH && !stop; ++y) { in test_surface_draw_partially()
/external/skia/docs/examples/
Dskbug6031.cpp7 constexpr float kH = 512; in draw() local
12 canvas->clipRect(SkRect{0, 0, 2 * kW, 2 * kH}, replaceClipOp); in draw()
16 canvas->clipRect(SkRect{0, 0, kW, kH}, replaceClipOp); in draw()
20 canvas->clipRect(SkRect{0, kH, kW, 3 * kH}, replaceClipOp); in draw()
24 canvas->clipRect(SkRect{kW, 0, 3 * kW, kH}, replaceClipOp); in draw()
28 canvas->clipRect(SkRect{kW, kH, 3 * kW, 3 * kH}, replaceClipOp); in draw()
/external/boringssl/src/crypto/fipsmodule/modes/
Dgcm_test.cc124 static const uint64_t kH[2] = { in TEST() local
138 CHECK_ABI(gcm_init_4bit, Htable, kH); in TEST()
153 CHECK_ABI_SEH(gcm_init_ssse3, Htable, kH); in TEST()
161 CHECK_ABI_SEH(gcm_init_clmul, Htable, kH); in TEST()
169 CHECK_ABI_SEH(gcm_init_avx, Htable, kH); in TEST()
182 memcpy(&gcm.gcm_key.H, kH, sizeof(kH)); in TEST()
209 CHECK_ABI(gcm_init_neon, Htable, kH); in TEST()
217 CHECK_ABI(gcm_init_v8, Htable, kH); in TEST()
/external/skqp/gm/
Ddrawimageset.cpp188 static constexpr SkScalar kH = kN * kTileH; in onDraw() local
193 matrices[1].setRotate(90, kW / 2.f, kH / 2.f); in onDraw()
198 matrices[3].postTranslate(kW, kH); in onDraw()
201 matrices[4].postTranslate(0, kH); in onDraw()
202 matrices[4].postRotate(90, kW / 2.f, kH / 2.f); in onDraw()
205 static constexpr SkScalar kTranslate = SkTMax(kW, kH) * 2.f + 10.f; in onDraw()
Dshadowutils.cpp27 static constexpr int kH = 960; variable
204 DEF_SIMPLE_GM(shadow_utils, canvas, kW, kH) { in DEF_SIMPLE_GM() argument
208 DEF_SIMPLE_GM(shadow_utils_occl, canvas, kW, kH) { in DEF_SIMPLE_GM() argument
212 DEF_SIMPLE_GM(shadow_utils_gray, canvas, kW, kH) { in DEF_SIMPLE_GM() argument
Dcirculararcs.cpp18 constexpr int kH = 1000; variable
54 constexpr SkScalar kGridH = kH / 2.f; in draw_arcs()
63 canvas->drawLine(kGridW, 0.f , kGridW, SkIntToScalar(kH), linePaint); in draw_arcs()
67 #define DEF_ARC_GM(name) DEF_SIMPLE_GM(circular_arcs_##name, canvas, kW, kH)
/external/skia/gm/
Ddrawimageset.cpp221 static constexpr SkScalar kH = kN * kTileH; in onDraw() local
226 matrices[1].setRotate(90, kW / 2.f, kH / 2.f); in onDraw()
231 matrices[3].postTranslate(kW, kH); in onDraw()
234 matrices[4].postTranslate(0, kH); in onDraw()
235 matrices[4].postRotate(90, kW / 2.f, kH / 2.f); in onDraw()
242 static constexpr SkScalar kTranslate = std::max(kW, kH) * 2.f + 10.f; in onDraw()
Dshadowutils.cpp40 static constexpr int kH = 960; variable
227 DEF_SIMPLE_GM(shadow_utils, canvas, kW, kH) { in DEF_SIMPLE_GM() argument
231 DEF_SIMPLE_GM(shadow_utils_occl, canvas, kW, kH) { in DEF_SIMPLE_GM() argument
235 DEF_SIMPLE_GM(shadow_utils_gray, canvas, kW, kH) { in DEF_SIMPLE_GM() argument
Dcirculararcs.cpp28 constexpr int kH = 1000; variable
64 constexpr SkScalar kGridH = kH / 2.f; in draw_arcs()
73 canvas->drawLine(kGridW, 0.f , kGridW, SkIntToScalar(kH), linePaint); in draw_arcs()
77 #define DEF_ARC_GM(name) DEF_SIMPLE_GM(circular_arcs_##name, canvas, kW, kH)
/external/skqp/include/docs/
DSkPDFDocument.h31 kH, //!< Heading enumerator
/external/honggfuzz/examples/apache-httpd/corpus_http2/
D6c420cedffa9a613d46708c89a060d78.000099f7.honggfuzz.cov26 …�I�)�P^3��F��اv3����n� %�����ի!_�PcY�`���=-�.O��|w� +Mȏ?'���&8��F����kH�`�ӚQ�Ol�<�cm�J\…
40 …�I�)�P^3��F��اv3����n� %�����ի!_�PcY�`���=-�.O��|w� +Mȏ?'���&8��F����kH�`�ӚQ�Ol�<�cm�J\…
55 …�I�)�P^3��F��اv3����n� %�����ի!_�PcY�`���=-�.O��|w� +Mȏ?'���&8��F����kH�`�ӚQ�Ol�<�cm�J\…
/external/skia/include/docs/
DSkPDFDocument.h41 kH, //!< Heading enumerator
/external/ImageMagick/PerlMagick/t/reference/filter/
DChannel.miff12 …-052Ex��cJK]�lY,,012202222113333457:>@CHEUm�����칥�����������É<;951-,/103Il�kH=5>IY,+.//-,,...//00/…

123456789