/third_party/skia/gm/ |
H A D | imagealphathreshold.cpp | 30 #define WIDTH 500 macro 36 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects() 38 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects() 40 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects() 42 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects() 47 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300); in create_filter_paint() 48 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT); in create_filter_paint() 76 return SkISize::Make(WIDTH, HEIGH [all...] |
H A D | xfermodeimagefilter.cpp | 27 #define WIDTH 600 macro 45 return SkISize::Make(WIDTH, HEIGHT); 97 if (x + fBitmap.width() > WIDTH) { 106 if (x + fBitmap.width() > WIDTH) { 114 if (x + fBitmap.width() > WIDTH) { 129 if (x + fBitmap.width() > WIDTH) { 138 if (x + fBitmap.width() > WIDTH) { 159 if (x + fBitmap.width() > WIDTH) { 170 if (x + fBitmap.width() > WIDTH) { 178 if (x + fBitmap.width() > WIDTH) { [all...] |
H A D | imageblur.cpp | 20 #define WIDTH 500 macro 33 int x = rand.nextULessThan(WIDTH); in imageblurgm_draw() 41 DEF_SIMPLE_GM_BG(imageblur, canvas, WIDTH, HEIGHT, SK_ColorBLACK) { in DEF_SIMPLE_GM_BG() 44 DEF_SIMPLE_GM_BG(imageblur_large, canvas, WIDTH, HEIGHT, SK_ColorBLACK) { in DEF_SIMPLE_GM_BG()
|
/third_party/ffmpeg/libavcodec/tests/ |
H A D | motion.c | 40 #define WIDTH 64 macro 43 static uint8_t img1[WIDTH * HEIGHT]; 44 static uint8_t img2[WIDTH * HEIGHT]; 78 fill_random(img1, WIDTH * HEIGHT); in test_motion() 79 fill_random(img2, WIDTH * HEIGHT); in test_motion() 82 for(x=0;x<WIDTH-17;x++) { in test_motion() 83 ptr = img2 + y * WIDTH + x; in test_motion() 84 d1 = test_func(NULL, img1, ptr, WIDTH, 8); in test_motion() 85 d2 = ref_func(NULL, img1, ptr, WIDTH, 8); in test_motion() 99 for(x=0;x<WIDTH in test_motion() [all...] |
/third_party/ffmpeg/tests/checkasm/ |
H A D | vf_gblur.c | 24 #define WIDTH 256 macro 26 #define PIXELS (WIDTH * HEIGHT) 44 call_ref(dst_ref, WIDTH, HEIGHT, steps, nu, bscale, localbuf); in check_horiz_slice() 45 call_new(dst_new, WIDTH, HEIGHT, steps, nu, bscale, localbuf); in check_horiz_slice() 49 bench_new(dst_new, WIDTH, HEIGHT, 1, nu, bscale, localbuf); in check_horiz_slice() 60 call_ref(dst_ref, WIDTH, HEIGHT, 0, WIDTH, steps, nu, bscale); in check_verti_slice() 61 call_new(dst_new, WIDTH, HEIGHT, 0, WIDTH, steps, nu, bscale); in check_verti_slice() 65 bench_new(dst_new, WIDTH, HEIGH in check_verti_slice() [all...] |
H A D | motion.c | 42 #define WIDTH 64 in test_motion() macro 51 LOCAL_ALIGNED_16(uint8_t, img1, [WIDTH * HEIGHT]); in test_motion() 52 LOCAL_ALIGNED_16(uint8_t, img2, [WIDTH * HEIGHT]); in test_motion() 64 fill_random(img1, WIDTH * HEIGHT); in test_motion() 65 fill_random(img2, WIDTH * HEIGHT); in test_motion() 69 x = rnd() % (WIDTH - look_ahead); in test_motion() 72 ptr = img2 + y * WIDTH + x; in test_motion() 73 d2 = call_ref(NULL, img1, ptr, WIDTH, 8); in test_motion() 74 d1 = call_new(NULL, img1, ptr, WIDTH, 8); in test_motion() 83 bench_new(NULL, img1, ptr, WIDTH, in test_motion() [all...] |
H A D | vf_threshold.c | 25 #define WIDTH 256 macro 44 int w = WIDTH; in check_threshold() 62 randomize_buffers(in, WIDTH); in check_threshold() 63 randomize_buffers(threshold, WIDTH); in check_threshold() 64 randomize_buffers(min, WIDTH); in check_threshold() 65 randomize_buffers(max, WIDTH); in check_threshold() 73 if (memcmp(out_ref, out_new, WIDTH)) in check_threshold()
|
H A D | vf_blend.c | 28 #define WIDTH 256 macro 31 #define SIZE_PER_UNIT (WIDTH * HEIGHT) 38 for (j = 0; j < WIDTH; j++) { \ 39 top1[i * WIDTH + j] = \ 40 top2[i * WIDTH + j] = i; \ 41 bot1[i * WIDTH + j] = \ 42 bot2[i * WIDTH + j] = j; \ 71 w = WIDTH / depth; \
|
H A D | utvideodsp.c | 29 #define WIDTH 240 macro 31 #define WIDTH_PADDED (WIDTH + 16) /* padded to 32 */ 40 for (w = 0; w < WIDTH; w++) \ 51 buf1 + h*WIDTH_PADDED, WIDTH *s)) \ 76 call_ref(src_r0, src_g0, src_b0, WIDTH_PADDED, WIDTH_PADDED, WIDTH_PADDED, WIDTH, HEIGHT);\ 77 call_new(src_r1, src_g1, src_b1, WIDTH_PADDED, WIDTH_PADDED, WIDTH_PADDED, WIDTH, HEIGHT);\ 81 bench_new(src_r1, src_g1, src_b1, WIDTH_PADDED, WIDTH_PADDED, WIDTH_PADDED, WIDTH, HEIGHT)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | AMDHSAKernelDescriptor.h | 29 #define AMDHSA_BITS_ENUM_ENTRY(NAME, SHIFT, WIDTH) \ 31 NAME ## _WIDTH = (WIDTH), \ 32 NAME = (((1 << (WIDTH)) - 1) << (SHIFT)) 75 #define COMPUTE_PGM_RSRC1(NAME, SHIFT, WIDTH) \ 76 AMDHSA_BITS_ENUM_ENTRY(COMPUTE_PGM_RSRC1_ ## NAME, SHIFT, WIDTH) 100 #define COMPUTE_PGM_RSRC2(NAME, SHIFT, WIDTH) \ 101 AMDHSA_BITS_ENUM_ENTRY(COMPUTE_PGM_RSRC2_ ## NAME, SHIFT, WIDTH) 126 #define COMPUTE_PGM_RSRC3(NAME, SHIFT, WIDTH) \ 127 AMDHSA_BITS_ENUM_ENTRY(COMPUTE_PGM_RSRC3_ ## NAME, SHIFT, WIDTH) 135 #define KERNEL_CODE_PROPERTY(NAME, SHIFT, WIDTH) \ [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawScissorTests.cpp | 51 WIDTH = 256, enumerator 131 float scaleWidth = 2.0f / (float)WIDTH; in getVertices() 233 , framebufferSize ({WIDTH,HEIGHT}) in TestParams() 409 const VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; in iterate() 478 const VkViewport viewport = makeViewport(WIDTH, HEIGHT); in iterate() 608 frame = colorTargetImage->readSurface(m_context.getUniversalQueue(), m_context.getDefaultAllocator(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, zeroOffset, WIDTH, HEIGHT, VK_IMAGE_ASPECT_COLOR_BIT); in iterate() 613 refImage.setStorage(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM), WIDTH, HEIGHT); in iterate() local 717 params.staticScissors.push_back(makeRect2D(30, 40, WIDTH - 60, HEIGHT - 80)); in createTests() 719 params.commands.push_back(TestCommandSp(new QuadDrawTestCommand(WIDTH - 80, HEIGHT - 100, 30, 40, green))); in createTests() 728 params.staticScissors.push_back(makeRect2D(30, 40, WIDTH in createTests() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawScissorTests.cpp | 51 WIDTH = 256, enumerator 131 float scaleWidth = 2.0f / (float)WIDTH; in getVertices() 233 , framebufferSize ({WIDTH,HEIGHT}) in TestParams() 409 const VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; in iterate() 478 const VkViewport viewport = makeViewport(WIDTH, HEIGHT); in iterate() 608 frame = colorTargetImage->readSurface(m_context.getUniversalQueue(), m_context.getDefaultAllocator(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, zeroOffset, WIDTH, HEIGHT, VK_IMAGE_ASPECT_COLOR_BIT); in iterate() 613 refImage.setStorage(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM), WIDTH, HEIGHT); in iterate() local 717 params.staticScissors.push_back(makeRect2D(30, 40, WIDTH - 60, HEIGHT - 80)); in createTests() 719 params.commands.push_back(TestCommandSp(new QuadDrawTestCommand(WIDTH - 80, HEIGHT - 100, 30, 40, green))); in createTests() 728 params.staticScissors.push_back(makeRect2D(30, 40, WIDTH in createTests() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/ctype/ |
H A D | wcswidth.c | 22 const int WIDTH = 2; variable 32 int result = wcswidth(L"abc", WIDTH); in wcswidth_0100() 33 if (result != WIDTH) { in wcswidth_0100() 45 int result = wcswidth(L"ab\t", WIDTH); in wcswidth_0200() 46 if (result != WIDTH) { in wcswidth_0200() 58 int result = wcswidth(L"a\tb", WIDTH); in wcswidth_0300()
|
/third_party/ffmpeg/libavcodec/ |
H A D | diracdsp.c | 54 #define PIXOP_BILINEAR(PFX, OP, WIDTH) \ 55 static void ff_ ## PFX ## _dirac_pixels ## WIDTH ## _bilinear_c(uint8_t *dst, const uint8_t *src[5], int stride, int h) \ 65 for (x = 0; x < WIDTH; x++) { \ 215 #define PIXFUNC(PFX, WIDTH) \ in DEQUANT_SUBBAND() 216 c->PFX ## _dirac_pixels_tab[WIDTH>>4][0] = ff_ ## PFX ## _dirac_pixels ## WIDTH ## _c; \ in DEQUANT_SUBBAND() 217 c->PFX ## _dirac_pixels_tab[WIDTH>>4][1] = ff_ ## PFX ## _dirac_pixels ## WIDTH ## _l2_c; \ 218 c->PFX ## _dirac_pixels_tab[WIDTH>>4][2] = ff_ ## PFX ## _dirac_pixels ## WIDTH ## _l4_ [all...] |
H A D | c93.c | 44 #define WIDTH 320 macro 78 int from_x = offset % WIDTH; in copy_block() 79 int from_y = offset / WIDTH; in copy_block() 80 int overflow = from_x + width - WIDTH; in copy_block() 135 if ((ret = ff_set_dimensions(avctx, WIDTH, HEIGHT)) < 0) in decode_frame() 157 for (x = 0; x < WIDTH; x += 8) { in decode_frame() 180 int from_x = offset % WIDTH; in decode_frame() 181 int from_y = offset / WIDTH; in decode_frame() 183 (FFABS(from_x - x-i) < 4 || FFABS(from_x - x-i) > WIDTH-4)) { in decode_frame()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcLayoutLocationTests.cpp | 48 static const GLuint WIDTH = 2; member 96 std::vector<DATA_TYPE> data = generateData<DATA_TYPE>(WIDTH, 1, components); in createTexture1D() 101 gl.texImage1D(GL_TEXTURE_1D, 0, internalFormat, WIDTH, 0, format, type, &data[0]); in createTexture1D() 110 std::vector<DATA_TYPE> data = generateData<DATA_TYPE>(WIDTH, HEIGHT, components); in createTexture2D() 115 gl.texStorage2D(target, 1, internalFormat, WIDTH, HEIGHT); in createTexture2D() 116 gl.texSubImage2D(target, 0, 0, 0, WIDTH, HEIGHT, format, type, &data[0]); in createTexture2D() 125 std::vector<DATA_TYPE> data = generateData<DATA_TYPE>(WIDTH, HEIGHT, components); in createTexture3D() 130 gl.texStorage3D(GL_TEXTURE_3D, 1, internalFormat, WIDTH, HEIGHT, 1); in createTexture3D() 131 gl.texSubImage3D(GL_TEXTURE_3D, 0, 0, 0, 0, WIDTH, HEIGHT, 1, format, type, &data[0]); in createTexture3D() 139 std::vector<DATA_TYPE> data = generateData<DATA_TYPE>(WIDTH, HEIGH in createCubeMap() [all...] |
/third_party/skia/bench/ |
H A D | TileImageFilterBench.cpp | 14 #define WIDTH 512 macro 41 SkRect::MakeWH(50, 50), SkRect::MakeWH(WIDTH, HEIGHT), nullptr)); 46 for (int x = 0; x < WIDTH; x += fTileSize) { 50 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint); 55 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
H A D | vktDynamicStateDiscardTests.cpp | 127 const vk::VkExtent3D stencilImageExtent = { WIDTH, HEIGHT, 1 }; in DiscardTestInstance() 210 const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, attachments, WIDTH, HEIGHT, 1); in initFramebuffer() 219 std::vector<vk::VkViewport> viewports { { 0.0f, 0.0f, (float)WIDTH, (float)HEIGHT, 0.0f, 1.0f } }; in initPipeline() 220 std::vector<vk::VkRect2D> scissors { { { 0u, 0u }, { WIDTH, HEIGHT } } }; in initPipeline() 311 m_renderPass.begin(m_vk, *m_cmdBuffer, vk::makeRect2D(0, 0, WIDTH, HEIGHT)); in beginRenderPass() 406 tcu::ConstPixelBufferAccess renderedFrame = m_depthStencilImage->readSurface(queue, m_context.getDefaultAllocator(), vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_STENCIL_BIT); in verifyResults() 411 stencilFrame = de::SharedPtr<tcu::TextureLevel>( new tcu::TextureLevel(tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8), WIDTH, HEIGHT, 1u)); in verifyResults() 417 for (int i = 0; i < WIDTH; ++i) { in verifyResults() 440 vk::VkViewport viewport = vk::makeViewport(tcu::UVec2(WIDTH, HEIGHT)); in setDynamicState() 457 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGH in verifyResults() local 493 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); verifyResults() local 561 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); verifyResults() local 596 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); verifyResults() local [all...] |
H A D | vktDynamicStateGeneralTests.cpp | 81 vk::VkViewport viewport = { 0, 0, (float)WIDTH, (float)HEIGHT, 0.0f, 0.0f }; in iterate() 82 vk::VkRect2D scissor_1 = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } }; in iterate() 83 vk::VkRect2D scissor_2 = { { WIDTH / 2, HEIGHT / 2 }, { WIDTH / 2, HEIGHT / 2 } }; in iterate() 130 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<float>(WIDTH)), (int)(0.5f + static_cast<float>(HEIGHT))); in iterate() 154 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, in iterate() 192 vk::VkViewport viewport = { 0.0f, 0.0f, (float)WIDTH, (float)HEIGHT, 0.0f, 0.0f }; in iterate() 193 vk::VkRect2D scissor_1 = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } }; in iterate() 194 vk::VkRect2D scissor_2 = { { WIDTH / 2, HEIGHT / 2 }, { WIDTH / in iterate() [all...] |
H A D | vktDynamicStateClearTests.cpp | 96 const vk::VkViewport viewport = { 0.0f, 0.0f, static_cast<float>(WIDTH / 2), static_cast<float>(HEIGHT / 2), 0.0f, 0.0f }; in iterate() 97 const vk::VkRect2D scissor = { { 0, 0 }, { WIDTH, HEIGHT } }; in iterate() 104 const vk::VkExtent3D imageExtent = { WIDTH, HEIGHT, 1 }; in iterate() 143 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_COLOR_BIT); in iterate() 184 const vk::VkClearRect rect = { { { 0, 0 }, { WIDTH, HEIGHT } }, 0, 1 }; in command() 191 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); in buildReferenceFrame() local 238 WIDTH, in command() 254 WIDTH, in command() 266 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); in buildReferenceFrame() local 307 const vk::VkExtent3D extent = { WIDTH, HEIGH in command() 324 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); buildReferenceFrame() local 406 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); buildReferenceFrame() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
H A D | vktDynamicStateDiscardTests.cpp | 126 const vk::VkExtent3D stencilImageExtent = { WIDTH, HEIGHT, 1 }; in DiscardTestInstance() 209 const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, attachments, WIDTH, HEIGHT, 1); in initFramebuffer() 218 std::vector<vk::VkViewport> viewports { { 0.0f, 0.0f, (float)WIDTH, (float)HEIGHT, 0.0f, 1.0f } }; in initPipeline() 219 std::vector<vk::VkRect2D> scissors { { { 0u, 0u }, { WIDTH, HEIGHT } } }; in initPipeline() 310 vk::beginRenderPass(m_vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, vk::makeRect2D(0, 0, WIDTH, HEIGHT)); in beginRenderPass() 405 tcu::ConstPixelBufferAccess renderedFrame = m_depthStencilImage->readSurface(queue, m_context.getDefaultAllocator(), vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_STENCIL_BIT); in verifyResults() 410 stencilFrame = de::SharedPtr<tcu::TextureLevel>( new tcu::TextureLevel(tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8), WIDTH, HEIGHT, 1u)); in verifyResults() 416 for (int i = 0; i < WIDTH; ++i) { in verifyResults() 439 vk::VkViewport viewport = vk::makeViewport(tcu::UVec2(WIDTH, HEIGHT)); in setDynamicState() 445 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGH in verifyResults() local 481 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); verifyResults() local 549 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); verifyResults() local 584 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); verifyResults() local [all...] |
H A D | vktDynamicStateGeneralTests.cpp | 79 vk::VkViewport viewport = { 0, 0, (float)WIDTH, (float)HEIGHT, 0.0f, 0.0f }; in iterate() 80 vk::VkRect2D scissor_1 = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } }; in iterate() 81 vk::VkRect2D scissor_2 = { { WIDTH / 2, HEIGHT / 2 }, { WIDTH / 2, HEIGHT / 2 } }; in iterate() 128 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<float>(WIDTH)), (int)(0.5f + static_cast<float>(HEIGHT))); in iterate() 152 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, in iterate() 190 vk::VkViewport viewport = { 0.0f, 0.0f, (float)WIDTH, (float)HEIGHT, 0.0f, 0.0f }; in iterate() 191 vk::VkRect2D scissor_1 = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } }; in iterate() 192 vk::VkRect2D scissor_2 = { { WIDTH / 2, HEIGHT / 2 }, { WIDTH / in iterate() [all...] |
H A D | vktDynamicStateClearTests.cpp | 95 const vk::VkViewport viewport = { 0.0f, 0.0f, static_cast<float>(WIDTH / 2), static_cast<float>(HEIGHT / 2), 0.0f, 0.0f }; in iterate() 96 const vk::VkRect2D scissor = { { 0, 0 }, { WIDTH, HEIGHT } }; in iterate() 103 const vk::VkExtent3D imageExtent = { WIDTH, HEIGHT, 1 }; in iterate() 142 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_COLOR_BIT); in iterate() 183 const vk::VkClearRect rect = { { { 0, 0 }, { WIDTH, HEIGHT } }, 0, 1 }; in command() 190 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); in buildReferenceFrame() local 237 WIDTH, in command() 253 WIDTH, in command() 265 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); in buildReferenceFrame() local 306 const vk::VkExtent3D extent = { WIDTH, HEIGH in command() 323 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); buildReferenceFrame() local 382 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); buildReferenceFrame() local [all...] |
/third_party/skia/tests/ |
H A D | CanvasStateTest.cpp | 114 const int WIDTH = 400; in DEF_TEST() local 119 SkIntToScalar(WIDTH-(2*SPACER)), in DEF_TEST() 146 auto surf = SkSurface::MakeRaster(SkImageInfo::Make(WIDTH, HEIGHT, in DEF_TEST() 195 const int WIDTH = 400; in DEF_TEST() local 199 SkIRect layerRect = SkIRect::MakeWH(WIDTH, HEIGHT / 4); in DEF_TEST() 240 auto surf = SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT)); in DEF_TEST() 307 const int WIDTH = 100; in DEF_TEST() local 313 bitmap.allocN32Pixels(WIDTH, HEIGHT); in DEF_TEST() 317 canvas.clipRect(SkRect::MakeWH(SkIntToScalar(WIDTH), SkIntToScalar(HEIGHT))); in DEF_TEST()
|
/third_party/jerryscript/tools/ |
H A D | run-perf-test.sh | 185 WIDTH=42 186 MD_DIFF=$(printf "%s%s" "$DIFF" "$(printf "%$(($WIDTH - ${#DIFF}))s")") 187 MD_PERCENT=$(printf "%s%s" "$(printf "%$(($WIDTH - ${#PERCENT}))s")" "$PERCENT") 206 WIDTH=20 207 MD_DIFF=$(printf "%s%s" "$DIFF" "$(printf "%$(($WIDTH - ${#DIFF}))s")") 208 MD_PERCENT=$(printf "%s%s" "$(printf "%$(($WIDTH - ${#PERCENT}))s")" "$PERCENT")
|