Home
last modified time | relevance | path

Searched refs:numFormats (Results 1 – 23 of 23) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fApiCase.cpp104 deInt32 numFormats; in getSupportedExtensions() local
105 GLU_CHECK_CALL(glGetIntegerv(numSupportedValues, &numFormats)); in getSupportedExtensions()
106 if (numFormats == 0) in getSupportedExtensions()
111 values.resize(numFormats); in getSupportedExtensions()
/external/deqp/modules/gles3/functional/
Des3fApiCase.cpp106 deInt32 numFormats; in getSupportedExtensions() local
107 GLU_CHECK_CALL(glGetIntegerv(numSupportedValues, &numFormats)); in getSupportedExtensions()
108 if (numFormats == 0) in getSupportedExtensions()
113 values.resize(numFormats); in getSupportedExtensions()
Des3fImplementationLimitTests.cpp289 const GLint numFormats = query<GLint>(gl, GL_NUM_COMPRESSED_TEXTURE_FORMATS); in iterate() local
290 vector<GLint> formats (numFormats); in iterate()
293 if (numFormats > 0) in iterate()
Des3fShaderApiTests.cpp1134 GLint numFormats = -1; in getBinaryFormats() local
1135 glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &numFormats); in getBinaryFormats()
1139 if (numFormats > 0) in getBinaryFormats()
1141 out.resize(numFormats, 0); in getBinaryFormats()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_readimage.cpp123 cl_uint numFormats = 0; in test_readimage() local
139 …GetSupportedImageFormats (context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, 0, NULL, &numFormats); in test_readimage()
140 supported_formats = (cl_image_format *) malloc(sizeof(cl_image_format) * numFormats); in test_readimage()
141 …clGetSupportedImageFormats (context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, numFormats, support… in test_readimage()
143 for(i = 0; i < numFormats; i++) in test_readimage()
Dtest_image_param.cpp177 const size_t numFormats = sizeof( formats ) / sizeof( formats[ 0 ] ); in test_image_param() local
178 const size_t numAttempts = numSizes * numFormats; in test_image_param()
193 …clGetSupportedImageFormats (context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, numFormats, support… in test_image_param()
212 for( j = 0; j < numFormats; j++, idx++ ) in test_image_param()
248 for( j = 0; j < numFormats; j++, idx++ ) in test_image_param()
268 for( j = 0; j < numFormats; j++, idx++ ) in test_image_param()
Dtest_writeimage.cpp127 cl_uint numFormats = 0; in test_writeimage() local
140 …GetSupportedImageFormats (context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, 0, NULL, &numFormats); in test_writeimage()
141 supported_formats = (cl_image_format *) malloc(sizeof(cl_image_format) * numFormats); in test_writeimage()
142 …clGetSupportedImageFormats (context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, numFormats, support… in test_writeimage()
144 for(i = 0; i < numFormats; i++) in test_writeimage()
/external/deqp/framework/opengl/
DgluContextInfo.cpp179 int numFormats = 0; in operator ()() local
180 gl.getIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &numFormats); in operator ()()
182 vector<int> formats(numFormats); in operator ()()
183 if (numFormats > 0) in operator ()()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp733 deUint32 numFormats = 0; in querySurfaceFormatsTest() local
735 …ki.getPhysicalDeviceSurfaceFormatsKHR(physicalDevices[deviceNdx], *surface, &numFormats, DE_NULL)); in querySurfaceFormatsTest()
737 std::vector<VkSurfaceFormatKHR> formats (numFormats + 1); in querySurfaceFormatsTest()
739 if (numFormats > 0) in querySurfaceFormatsTest()
741 const deUint32 numFormatsOrig = numFormats; in querySurfaceFormatsTest()
744 numFormats++; in querySurfaceFormatsTest()
746 …etPhysicalDeviceSurfaceFormatsKHR(physicalDevices[deviceNdx], *surface, &numFormats, &formats[0])); in querySurfaceFormatsTest()
748 if (numFormats != numFormatsOrig) in querySurfaceFormatsTest()
788 deUint32 numFormats = 0; in querySurfaceFormats2Test() local
790 …tPhysicalDeviceSurfaceFormats2KHR(physicalDevices[deviceNdx], &surfaceInfo, &numFormats, DE_NULL)); in querySurfaceFormats2Test()
[all …]
/external/lzma/CPP/7zip/Archive/
DArchiveExports.cpp138 STDAPI GetNumberOfFormats(UINT32 *numFormats) in GetNumberOfFormats() argument
140 *numFormats = g_NumArcs; in GetNumberOfFormats()
DIArchive.h597 typedef HRESULT (WINAPI *Func_GetNumberOfFormats)(UInt32 *numFormats);
/external/angle/src/libANGLE/renderer/cl/
DCLContextCL.cpp191 cl_uint numFormats = 0u; in getSupportedImageFormats() local
193 mNative, flags.get(), cl::ToCLenum(imageType), 0u, nullptr, &numFormats)); in getSupportedImageFormats()
194 std::vector<cl_image_format> formats(numFormats); in getSupportedImageFormats()
196 mNative, flags.get(), cl::ToCLenum(imageType), numFormats, formats.data(), nullptr)); in getSupportedImageFormats()
/external/deqp/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp407 deUint32 numFormats = 0; in getPhysicalDeviceSurfaceFormats() local
409 VK_CHECK(vki.getPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, &numFormats, DE_NULL)); in getPhysicalDeviceSurfaceFormats()
411 if (numFormats > 0) in getPhysicalDeviceSurfaceFormats()
413 std::vector<VkSurfaceFormatKHR> formats (numFormats); in getPhysicalDeviceSurfaceFormats()
415 …VK_CHECK(vki.getPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, &numFormats, &formats[0])… in getPhysicalDeviceSurfaceFormats()
/external/v4l2_codec2/common/include/v4l2_codec2/common/
DV4L2Device.h430 SupportedDecodeProfiles getSupportedDecodeProfiles(const size_t numFormats,
471 SupportedDecodeProfiles enumerateSupportedDecodeProfiles(const size_t numFormats,
/external/cldr/tools/c/genldml/
Dgenldml.cpp1791 ResourceBundle numFormats = mSourceBundle.get("NumberElements", mError); in writeNumberElements() local
1803 UnicodeString pattern= numFormats.getStringEx((int32_t)0,mError); in writeNumberElements()
1810 args[1]=numFormats.getStringEx((int32_t)1,mError); in writeNumberElements()
1813 args[1]=numFormats.getStringEx((int32_t)2,mError); in writeNumberElements()
1816 args[1]=numFormats.getStringEx((int32_t)3,mError); in writeNumberElements()
1819 args[1]=numFormats.getStringEx((int32_t)4,mError); in writeNumberElements()
1822 args[1]=numFormats.getStringEx((int32_t)5,mError); in writeNumberElements()
1825 args[1]=numFormats.getStringEx((int32_t)11,mError); in writeNumberElements()
1830 args[1]=numFormats.getStringEx((int32_t)6,mError); in writeNumberElements()
1833 args[1]=numFormats.getStringEx((int32_t)7,mError); in writeNumberElements()
[all …]
/external/angle/src/libANGLE/renderer/gl/cgl/
DWindowSurfaceCGL.mm70 GLint numFormats = 0;
71 CGLChoosePixelFormat(attribs, &pixelFormat, &numFormats);
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmImageSamplerTests.cpp777 deUint32 numFormats = 1; in addComputeImageSamplerTest() local
779 numFormats = optypeimageFormatMismatchFormatCount; in addComputeImageSamplerTest()
781 for (deUint32 formatIndex = 0; formatIndex < numFormats; formatIndex++) in addComputeImageSamplerTest()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp195 const deUint32 numFormats, in pickSupportedDepthStencilFormat() argument
198 for (deUint32 i = 0; i < numFormats; ++i) in pickSupportedDepthStencilFormat()
/external/lzma/CPP/7zip/UI/Common/
DLoadCodecs.cpp387 UInt32 numFormats = 1; in LoadFormats() local
394 RINOK(getNumberOfFormats(&numFormats)); in LoadFormats()
404 for (UInt32 i = 0; i < numFormats; i++) in LoadFormats()
/external/v4l2_codec2/common/
DV4L2Device.cpp1756 const size_t numFormats, const uint32_t pixelFormats[]) { in getSupportedDecodeProfiles() argument
1767 const auto& profiles = enumerateSupportedDecodeProfiles(numFormats, pixelFormats); in getSupportedDecodeProfiles()
1795 const size_t numFormats, const uint32_t pixelFormats[]) { in enumerateSupportedDecodeProfiles() argument
1802 if (std::find(pixelFormats, pixelFormats + numFormats, pixelFormat) == in enumerateSupportedDecodeProfiles()
1803 pixelFormats + numFormats) in enumerateSupportedDecodeProfiles()
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderApiTests.cpp171 deInt32 numFormats = 0x1234; in shader_binary() local
172 ctx.glGetIntegerv(GL_NUM_SHADER_BINARY_FORMATS, &numFormats); in shader_binary()
174 if (numFormats == 0) in shader_binary()
178 binaryFormats.resize(numFormats); in shader_binary()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.h84 extern bool find_format(cl_image_format *formatList, unsigned int numFormats,
DimageHelpers.cpp3760 bool find_format(cl_image_format *formatList, unsigned int numFormats, in find_format() argument
3763 for (unsigned int i = 0; i < numFormats; i++) in find_format()