Home
last modified time | relevance | path

Searched refs:numImages (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/codec/
DSkIcoCodec.cpp44 const uint16_t numImages = get_short(dirBuffer.get(), 4); in MakeFromStream() local
45 if (0 == numImages) { in MakeFromStream()
58 SkAutoFree dirEntryBuffer(sk_malloc_canfail(sizeof(Entry) * numImages)); in MakeFromStream()
61 numImages); in MakeFromStream()
68 for (uint32_t i = 0; i < numImages; i++) { in MakeFromStream()
108 SkTQSort(directoryEntries, &directoryEntries[numImages - 1], lessThan); in MakeFromStream()
111 uint32_t bytesRead = kIcoDirectoryBytes + numImages * kIcoDirEntryBytes; in MakeFromStream()
113 new SkTArray<std::unique_ptr<SkCodec>, true>(numImages)); in MakeFromStream()
114 for (uint32_t i = 0; i < numImages; i++) { in MakeFromStream()
/external/skqp/src/codec/
DSkIcoCodec.cpp44 const uint16_t numImages = get_short(dirBuffer.get(), 4); in MakeFromStream() local
45 if (0 == numImages) { in MakeFromStream()
58 SkAutoFree dirEntryBuffer(sk_malloc_canfail(sizeof(Entry) * numImages)); in MakeFromStream()
61 numImages); in MakeFromStream()
68 for (uint32_t i = 0; i < numImages; i++) { in MakeFromStream()
108 SkTQSort(directoryEntries, &directoryEntries[numImages - 1], lessThan); in MakeFromStream()
111 uint32_t bytesRead = kIcoDirectoryBytes + numImages * kIcoDirEntryBytes; in MakeFromStream()
113 new SkTArray<std::unique_ptr<SkCodec>, true>(numImages)); in MakeFromStream()
114 for (uint32_t i = 0; i < numImages; i++) { in MakeFromStream()
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/document_scan_test_app/
Dscan.js46 numImages = scan_results.dataUrls.length;
47 console.log('Scan completed with ' + numImages + ' images.');
48 for (var i = 0; i < numImages; i++) {
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSwapchainTests.cpp873 deUint32 numImages = 0; in testImageSwapchainCreateInfo() local
874 VK_CHECK(devHelper.vkd.getSwapchainImagesKHR(*devHelper.device, *swapchain, &numImages, DE_NULL)); in testImageSwapchainCreateInfo()
875 if (numImages == 0) in testImageSwapchainCreateInfo()
911 std::vector<ImageSp> images (numImages); in testImageSwapchainCreateInfo()
912 std::vector<VkBindImageMemorySwapchainInfoKHR> bindImageMemorySwapchainInfo(numImages); in testImageSwapchainCreateInfo()
913 std::vector<VkBindImageMemoryInfo> bindImageMemoryInfos (numImages); in testImageSwapchainCreateInfo()
915 for (deUint32 idx = 0; idx < numImages; ++idx) in testImageSwapchainCreateInfo()
941 VK_CHECK(devHelper.vkd.bindImageMemory2(*devHelper.device, numImages, &bindImageMemoryInfos[0])); in testImageSwapchainCreateInfo()
1848 deUint32 numImages = 0; in deviceGroupRenderTest2() local
1849 VK_CHECK(vkd.getSwapchainImagesKHR(*groupDevice, *swapchain, &numImages, DE_NULL)); in deviceGroupRenderTest2()
[all …]
/external/skqp/bench/
DCompositingImagesBench.cpp43 int numImages = fLayerCnt * fTileGridSize.fWidth * fTileGridSize.fHeight; in onPerCanvasPreDraw() local
44 fImages.reset(new sk_sp<SkImage>[numImages]); in onPerCanvasPreDraw()
45 for (int i = 0; i < numImages; ++i) { in onPerCanvasPreDraw()
/external/skqp/gm/
Dgradient_matrix.cpp80 const SkPoint ptsArray[][2], int numImages) { in draw_gradients() argument
92 for (int i = 0; i < numImages; i++) { in draw_gradients()
/external/skia/gm/
Dgradient_matrix.cpp80 const SkPoint ptsArray[][2], int numImages) { in draw_gradients() argument
92 for (int i = 0; i < numImages; i++) { in draw_gradients()
/external/deqp/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp414 deUint32 numImages = 0; in getSwapchainImages() local
416 VK_CHECK(vkd.getSwapchainImagesKHR(device, swapchain, &numImages, DE_NULL)); in getSwapchainImages()
418 if (numImages > 0) in getSwapchainImages()
420 std::vector<VkImage> images (numImages); in getSwapchainImages()
422 VK_CHECK(vkd.getSwapchainImagesKHR(device, swapchain, &numImages, &images[0])); in getSwapchainImages()
/external/skia/bench/
DCompositingImagesBench.cpp98 int numImages = fLayerCnt * fTileGridSize.fWidth * fTileGridSize.fHeight; in onPerCanvasPreDraw() local
99 fImages.reset(new sk_sp<SkImage>[numImages]); in onPerCanvasPreDraw()
100 for (int i = 0; i < numImages; ++i) { in onPerCanvasPreDraw()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.hpp123 int numImages; member
Des31fProgramInterfaceQueryTestCase.cpp2518 { GL_MAX_VERTEX_IMAGE_UNIFORMS, usage.numImages }, in checkShaderResourceUsage()
2547 { GL_MAX_FRAGMENT_IMAGE_UNIFORMS, usage.numImages }, in checkShaderResourceUsage()
2574 { GL_MAX_COMPUTE_IMAGE_UNIFORMS, usage.numImages }, in checkShaderResourceUsage()
2606 { GL_MAX_GEOMETRY_IMAGE_UNIFORMS, usage.numImages }, in checkShaderResourceUsage()
2638 { GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS, usage.numImages }, in checkShaderResourceUsage()
2668 { GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS, usage.numImages }, in checkShaderResourceUsage()
Des31fProgramInterfaceDefinitionUtil.cpp1731 retVal.numImages = getNumTypeInstances(shader, glu::STORAGE_UNIFORM, glu::isDataTypeImage); in getShaderResourceUsage()
/external/deqp/framework/opengl/
DgluTexture.cpp449 int numImages = numLevels*tcu::CUBEFACE_LAST; in create() local
450 vector<tcu::CompressedTexture> levels (numImages); in create()
452 for (int ndx = 0; ndx < numImages; ndx++) in create()
/external/mesa3d/src/mesa/main/
Dteximage.c5129 int i, numImages; in _mesa_ClearTexSubImage() local
5139 numImages = get_tex_images_for_clear(ctx, "glClearTexSubImage", in _mesa_ClearTexSubImage()
5141 if (numImages == 0) in _mesa_ClearTexSubImage()
5144 if (numImages == 1) { in _mesa_ClearTexSubImage()
5148 assert(numImages == MAX_FACES); in _mesa_ClearTexSubImage()
5150 maxDepth = numImages; in _mesa_ClearTexSubImage()
5167 if (numImages == 1) { in _mesa_ClearTexSubImage()
5206 int i, numImages; in _mesa_ClearTexImage() local
5215 numImages = get_tex_images_for_clear(ctx, "glClearTexImage", in _mesa_ClearTexImage()
5218 for (i = 0; i < numImages; i++) { in _mesa_ClearTexImage()
[all …]
Dfbobject.c1077 GLuint numImages; in _mesa_test_framebuffer_completeness() local
1099 numImages = 0; in _mesa_test_framebuffer_completeness()
1184 numImages++; in _mesa_test_framebuffer_completeness()
1217 numImages++; in _mesa_test_framebuffer_completeness()
1283 if (numImages == 1) { in _mesa_test_framebuffer_completeness()
1435 if (numImages == 0) { in _mesa_test_framebuffer_completeness()
1513 if (numImages != 0) { in _mesa_test_framebuffer_completeness()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp600 const int numImages = programD3D.getUsedImageRange(shaderType, false).length(); in updateBuffer() local
605 (mNumActiveShaderImages[shaderType] < numImages); in updateBuffer()
616 const size_t imageDataSize = sizeof(ImageMetadata) * numImages; in updateBuffer()
620 mNumActiveShaderImages[shaderType] = numImages; in updateBuffer()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp3580 int numImages,
3585 static std::vector<tcu::TextureLevelPyramid> createSourceImages (int numImages,
3662 int numImages, in ImageInstanceImages() argument
3669 , m_sourceImage (createSourceImages(numImages, viewType, m_imageFormat)) in ImageInstanceImages()
3676 std::vector<tcu::TextureLevelPyramid> ImageInstanceImages::createSourceImages (int numImages, in createSourceImages() argument
3680 …std::vector<tcu::TextureLevelPyramid> sourceImages(numImages, tcu::TextureLevelPyramid(imageFormat… in createSourceImages()
3682 for (int imageNdx = 0; imageNdx < numImages; imageNdx++) in createSourceImages()
5326 …const deUint32 numImages = (isSamplerCase) ? 1 : getInterfaceNumResources(m_shaderInterfac… in fetchSampleValue() local
5327 const tcu::TextureLevelPyramid& sampleSrcA = getSourceImage(setNdx * numImages); in fetchSampleValue()
5328 …Interface == SHADER_INPUT_SINGLE_DESCRIPTOR) ? sampleSrcA : getSourceImage(setNdx * numImages + 1); in fetchSampleValue()
/external/deqp/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp814 int numImages = context.getDeqpContext().getContextInfo().getInt(stageQuery); in isImageSupportedForStageOnDevice() local
816 return (numImages > 0) ? true : false; in isImageSupportedForStageOnDevice()
/external/ImageMagick/coders/
Dmsl.c119 numImages; /* how many images are in this group */ member
593 msl_info->group_info[msl_info->number_groups-1].numImages++; in MSLPushImage()
7468 if (msl_info->group_info[msl_info->number_groups-1].numImages > 0 ) in MSLEndElement()
7471 (msl_info->group_info[msl_info->number_groups-1].numImages); in MSLEndElement()
7869 msl_info.group_info[0].numImages=0; in ProcessMSLScript()
/external/python/cpython2/Mac/Modules/qt/
D_Qtmodule.c9237 short numImages; in Qt_SpriteMediaCountImages() local
9245 &numImages); in Qt_SpriteMediaCountImages()
9248 numImages); in Qt_SpriteMediaCountImages()