/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_screen.c | 1103 unsigned depth, in zink_is_compute_copy_faster() 1110 return width * height * depth > 64 * 64; in zink_is_compute_copy_faster() 1983 *z = props[0].imageGranularity.depth; in zink_get_sparse_texture_virtual_page_size() 1098 zink_is_compute_copy_faster(struct pipe_screen *pscreen, enum pipe_format src_format, enum pipe_format dst_format, unsigned width, unsigned height, unsigned depth, bool cpu) zink_is_compute_copy_faster() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineFramebufferAttachmentTests.cpp | 656 const int depth = deMax32(caseDef.attachmentSize.z(), caseDef.numLayers); in test() local 657 tcu::TextureLevel textureLevel (format, caseDef.attachmentSize.x(), caseDef.attachmentSize.y(), depth); in test() 659 const tcu::ConstPixelBufferAccess resultImage (format, caseDef.attachmentSize.x(), caseDef.attachmentSize.y(), depth, colorBufferAlloc->getHostPtr()); in test()
|
H A D | vktPipelineSamplerTests.cpp | 1488 DE_ASSERT(texExtent.depth == 1u); in iterate() 1538 const vk::VkDeviceSize texBufferSize = static_cast<vk::VkDeviceSize>(static_cast<deUint32>(tcu::getPixelSize(tcuFormat)) * texExtent.width * texExtent.height * texExtent.depth); in iterate() 1725 renderPass.createFramebuffer(vkd, device, 1u, &fbImage.get(),&fbView.get(), texExtent.width, texExtent.height, texExtent.depth); in iterate()
|
H A D | vktPipelineShaderModuleIdentifierTests.cpp | 1853 const tcu::IVec3 iExtent (static_cast<int>(fbExtent.width), static_cast<int>(fbExtent.height), static_cast<int>(fbExtent.depth)); in iterate() 2022 DE_ASSERT(fbExtent.width == 1u && fbExtent.height == 1u && fbExtent.depth == 1u); in iterate() 3168 const tcu::IVec3 iExtent (static_cast<int>(fbExtent.width), static_cast<int>(fbExtent.height), static_cast<int>(fbExtent.depth)); in iterate() 3207 DE_ASSERT(fbExtent.depth == 1u); in iterate()
|
/third_party/python/Modules/ |
H A D | _tkinter.c | 2936 _flatten1(FlattenContext* context, PyObject* item, int depth) in _flatten1() argument 2942 if (depth > 1000) { in _flatten1() 2956 if (!_flatten1(context, o, depth + 1)) in _flatten1()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineSamplerTests.cpp | 1469 DE_ASSERT(texExtent.depth == 1u); in iterate() 1519 const vk::VkDeviceSize texBufferSize = static_cast<vk::VkDeviceSize>(static_cast<deUint32>(tcu::getPixelSize(tcuFormat)) * texExtent.width * texExtent.height * texExtent.depth); in iterate() 1706 const auto framebuffer = vk::makeFramebuffer(vkd, device, renderPass.get(), 1u, &fbView.get(), texExtent.width, texExtent.height, texExtent.depth); in iterate()
|
H A D | vktPipelineShaderModuleIdentifierTests.cpp | 1841 const tcu::IVec3 iExtent (static_cast<int>(fbExtent.width), static_cast<int>(fbExtent.height), static_cast<int>(fbExtent.depth)); in iterate() 2011 DE_ASSERT(fbExtent.width == 1u && fbExtent.height == 1u && fbExtent.depth == 1u); in iterate() 3152 const tcu::IVec3 iExtent (static_cast<int>(fbExtent.width), static_cast<int>(fbExtent.height), static_cast<int>(fbExtent.depth)); in iterate() 3191 DE_ASSERT(fbExtent.depth == 1u); in iterate()
|
/third_party/ffmpeg/libavcodec/ |
H A D | jpeg2000dec.c | 222 match = match && desc->comp[3].depth >= bpc && in pix_fmt_match() 226 match = match && desc->comp[2].depth >= bpc && in pix_fmt_match() 230 match = match && desc->comp[1].depth >= bpc && in pix_fmt_match() 235 match = match && desc->comp[0].depth >= bpc && in pix_fmt_match()
|
H A D | diracdec.c | 71 #define CALC_PADDING(size, depth) \ 72 (((size + (1 << depth) - 1) >> depth) << depth) 150 int bit_depth; /* bit depth */ 164 unsigned wavelet_depth; /* depth of the IDWT */ 1312 av_log(s->avctx,AV_LOG_ERROR,"Mandatory custom low delay matrix missing for depth %d\n", s->wavelet_depth); in dirac_unpack_idwt_params()
|
H A D | avcodec.c | 573 enc->bits_per_raw_sample < av_pix_fmt_desc_get(enc->pix_fmt)->comp[0].depth) in avcodec_string()
|
H A D | utils.c | 435 if (desc->comp[0].depth >= 9) { in ff_color_frame()
|
/third_party/ffmpeg/libswscale/ppc/ |
H A D | swscale_vsx.c | 1927 int bits = desc->comp[0].depth - 1; in hScale16To19_vsx() 1952 if ((isAnyRGB(c->srcFormat) || c->srcFormat==AV_PIX_FMT_PAL8) && desc->comp[0].depth<16) { in hScale16To19_vsx() 2004 int sh = desc->comp[0].depth - 1; in hScale16To15_vsx() 2029 sh = isAnyRGB(c->srcFormat) || c->srcFormat==AV_PIX_FMT_PAL8 ? 13 : (desc->comp[0].depth - 1); in hScale16To15_vsx()
|
/third_party/backends/backend/ |
H A D | test.c | 1766 if (read_option (line, "depth", param_int, in sane_init() 2647 p->depth = test_device->val[opt_depth].w; in sane_get_parameters() 2716 if (p->depth == 1) in sane_get_parameters() 2718 else /* depth == 8 || depth == 16 */ in sane_get_parameters() 2719 p->bytes_per_line = channels * p->pixels_per_line * ((p->depth + 7) / 8); in sane_get_parameters() 2754 DBG (3, "sane_get_parameters: depth=%d\n", p->depth); in sane_get_parameters()
|
H A D | mustek.c | 4248 /* bit depth */ in init_options() 6175 s->params.depth = 1; in sane_get_parameters() 6181 s->params.depth = 8; in sane_get_parameters() 6191 s->params.depth = 8; in sane_get_parameters() 6198 s->params.depth = 16; in sane_get_parameters() 6203 s->params.depth = 8; in sane_get_parameters() 6216 DBG (4, "sane_get_parameters: frame = %d; last_frame = %s; depth = %d\n", in sane_get_parameters() 6218 s->params.depth); in sane_get_parameters() 6315 s->params.depth = 8; in sane_start() 6329 s->params.depth in sane_start() [all...] |
H A D | rts8891.c | 1390 * and the other for the hardware. Among these parameters are the bit depth, total 1445 session->params.depth = 1; in compute_parameters() 1453 session->params.depth = 8; in compute_parameters() 1516 if (session->params.depth == 1) in compute_parameters() 1630 DBG (DBG_data, "compute_parameters: depth =%d\n", in compute_parameters() 1631 session->params.depth); in compute_parameters() 1778 length = (session->params.bytes_per_line * 8) / session->params.depth; in sane_read() 1882 if (session->params.depth == 1) in sane_read() 1950 if (session->params.depth == 1) in sane_read() 2003 if (session->params.depth in sane_read() [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | parse.c | 1665 int depth = 1; in skip_attribute() local 1667 while (depth && !eof_token(token)) { in skip_attribute() 1670 depth++; in skip_attribute() 1672 depth--; in skip_attribute()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | js-typed-lowering.cc | 1359 size_t depth = OpParameter<size_t>(node->op()); in ReduceJSHasContextExtension() local 1363 for (size_t i = 0; i < depth; ++i) { in ReduceJSHasContextExtension() 1393 for (size_t i = 0; i < access.depth(); ++i) { in ReduceJSLoadContext() 1415 for (size_t i = 0; i < access.depth(); ++i) { in ReduceJSStoreContext()
|
/third_party/node/deps/v8/src/ast/ |
H A D | ast.h | 1108 DepthKind depth() const { in depth() function in v8::internal::LiteralBoilerplateBuilder 1122 bool is_shallow() const { return depth() == kShallow; } in is_shallow() 1145 // we actually only care three conditions for depth 1146 // - depth == kUninitialized, DCHECK(!is_initialized()) 1147 // - depth == kShallow, which means depth = 1 1148 // - depth == kNotShallow, which means depth > 1 1175 void set_depth(DepthKind depth) { in set_depth() argument 1177 bit_field_ = DepthField::update(bit_field_, depth); in set_depth() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_descriptors.c | 227 /* Use the flushed depth texture if direct sampling is unsupported. */ in si_sampler_view_add_buffer() 499 /* If the depth/stencil texture is TC-compatible, no decompression in depth_needs_decompression() 791 unsigned depth = res->b.b.depth0; in si_set_shader_image_desc() local 803 depth = u_minify(depth, level); in si_set_shader_image_desc() 823 view->u.tex.first_layer, view->u.tex.last_layer, width, height, depth, desc, fmask_desc); in si_set_shader_image_desc() 2919 /* TODO: This isn't needed if depth.func is PIPE_FUNC_NEVER or PIPE_FUNC_ALWAYS */ in si_gfx_resources_check_encrypted() 2934 /* Verify that depth/stencil buffer is encrypted */ in si_gfx_resources_check_encrypted()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | TextureZeroInitTests.cpp | 68 wgpu::RenderPipeline CreatePipelineForTest(float depth = 0.f) { in CreatePipelineForTest() 70 pipelineDescriptor.vertex.module = CreateBasicVertexShaderForTest(depth); in CreatePipelineForTest() 84 wgpu::ShaderModule CreateBasicVertexShaderForTest(float depth = 0.f) { in CreateBasicVertexShaderForTest() 97 std::to_string(depth) + R"(, 1.0); in CreateBasicVertexShaderForTest() 466 // This tests the texture with depth attachment and load op load will init depth stencil texture to 497 // Expect 0 lazy clears, depth stencil texture will clear using loadop in TEST_P() 500 // Expect the texture to be red because depth test passed. in TEST_P() 508 // This tests the texture with stencil attachment and load op load will init depth stencil texture 539 // Expect 0 lazy clears, depth stenci in TEST_P() [all...] |
/third_party/skia/third_party/externals/tint/src/resolver/ |
H A D | resolver_test.cc | 963 // let depth = 2; in TEST_F() 964 // [[stage(compute), workgroup_size(width, height, depth)]] in TEST_F() 968 GlobalConst("depth", ty.i32(), Expr(2)); in TEST_F() 971 WorkgroupSize("width", "height", "depth")}); in TEST_F() 1015 // [[override(2)]] let depth = 2; in TEST_F() 1016 // [[stage(compute), workgroup_size(width, height, depth)]] in TEST_F() 1020 auto* depth = GlobalConst("depth", ty.i32(), Expr(2), {Override(2)}); in TEST_F() local 1023 WorkgroupSize("width", "height", "depth")}); in TEST_F() 1035 EXPECT_EQ(func_sem->WorkgroupSize()[2].overridable_const, depth); in TEST_F() 1046 auto* depth = GlobalConst("depth", ty.i32(), nullptr, {Override(2)}); TEST_F() local [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | CopyCommandsValidationTests.cpp | 55 uint32_t depth, in Create3DTexture() 63 descriptor.size.depthOrArrayLayers = depth; in Create3DTexture() 74 uint32_t depth, in BufferSizeForTextureCopy() 78 return (bytesPerRow * (height - 1) + width * bytesPerPixel) * depth; in BufferSizeForTextureCopy() 472 // Fail because height or depth is greater than 1: in TEST_F() 486 // An empty copy with depth = 0 in TEST_F() 502 // An empty copy with depth = 1 and bytesPerRow > 0 in TEST_F() 505 // An empty copy with height > 0, depth = 0, bytesPerRow > 0 and rowsPerImage > 0 in TEST_F() 526 // OOB on the buffer because (bytes per row * (height - 1) + width * bytesPerPixel) * depth in TEST_F() 532 // but (bytes per row * (height - 1) + width * bytesPerPixel) * depth doe in TEST_F() 53 Create3DTexture(uint32_t width, uint32_t height, uint32_t depth, uint32_t mipLevelCount, wgpu::TextureFormat format, wgpu::TextureUsage usage) Create3DTexture() argument 71 BufferSizeForTextureCopy( uint32_t width, uint32_t height, uint32_t depth, wgpu::TextureFormat format = wgpu::TextureFormat::RGBA8Unorm) BufferSizeForTextureCopy() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/ |
H A D | vktRobustnessExtsTests.cpp | 255 deUint32 imageDim[3]; // width, height, depth or layers 2069 1u // deUint32 depth; in iterate() 2087 deUint32 depth = m_data.viewType == VK_IMAGE_VIEW_TYPE_3D ? m_data.imageDim[2] : 1; in iterate() local 2105 depth // deUint32 depth; in iterate() 2155 const VkDeviceSize sizeOutputR64 = 8 * outputImageCreateInfo.extent.width * outputImageCreateInfo.extent.height * outputImageCreateInfo.extent.depth; in iterate() 2156 const VkDeviceSize sizeOneLayers = 8 * imageCreateInfo.extent.width * imageCreateInfo.extent.height * imageCreateInfo.extent.depth; in iterate()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cDirectStateAccessTexturesTests.cpp | 30 /* Uncomment this if SubImageErrorsTest crashes during negative test of TextureSubImage (negative value width/height/depth passed to the function). */ 1507 /** @brief Height, width or depth of reference data to be teted. 1509 * @return Height, width or depth. 1748 glw::GLsizei height, glw::GLsizei depth) in TextureStorage() 1763 gl.texStorage3D(target, levels, internalformat, width, height, depth); in TextureStorage() 1784 gl.textureStorage3D(texture, levels, internalformat, width, height, depth); in TextureStorage() 1796 << " width=" << width << " height=" << height << " depth=" << depth in TextureStorage() 1815 glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, in TextureSubImage() 1831 gl.textureSubImage3D(texture, level, 0, 0, 0, width, height, depth, forma in TextureSubImage() 1746 TextureStorage(glw::GLenum target, glw::GLuint texture, glw::GLsizei levels, glw::GLenum internalformat, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth) TextureStorage() argument 1814 TextureSubImage(glw::GLenum target, glw::GLuint texture, glw::GLint level, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format, glw::GLenum type, const glw::GLvoid* data) TextureSubImage() argument 3182 InputTextureImage(const glw::GLenum internal_format, const glw::GLuint width, const glw::GLuint height, const glw::GLuint depth, const glw::GLenum format, const glw::GLenum type, const glw::GLvoid* data) InputTextureImage() argument 3198 gl.texImage3D(InputTextureTarget(), 0, internal_format, width, height, depth, 0, format, type, data); InputTextureImage() local [all...] |
/third_party/python/Python/ |
H A D | ceval.c | 824 int depth = p->recursion_limit - p->recursion_remaining; in Py_SetRecursionLimit() local 826 p->recursion_remaining = new_limit - depth; in Py_SetRecursionLimit() 836 int depth = tstate->recursion_limit - tstate->recursion_remaining; in _Py_CheckRecursiveCall() local 837 if (depth < tstate->interp->ceval.recursion_limit) { in _Py_CheckRecursiveCall() 839 tstate->recursion_remaining = tstate->recursion_limit - depth; in _Py_CheckRecursiveCall() 860 "maximum recursion depth exceeded%s", in _Py_CheckRecursiveCall() 1264 can cost several CPU cycles (depending on the pipeline depth), 7054 _PyEval_SetCoroutineOriginTrackingDepth(int depth) argument 7057 if (depth < 0) { 7058 _PyErr_SetString(tstate, PyExc_ValueError, "depth mus [all...] |