Home
last modified time | relevance | path

Searched refs:formatList (Results 1 – 25 of 26) sorted by relevance

12

/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_loops.cpp32 std::vector<cl_image_format> formatList; in test_image_type() local
33 if (get_format_list(context, image_type, formatList, flags)) return -1; in test_image_type()
35 std::vector<bool> filterFlags(formatList.size(), false); in test_image_type()
36 filter_formats(formatList, filterFlags, nullptr); in test_image_type()
39 for (unsigned int i = 0; i < formatList.size(); i++) in test_image_type()
45 print_header( &formatList[ i ], false ); in test_image_type()
49 print_header( &formatList[ i ], false ); in test_image_type()
55 test_return = test_get_image_info_1D( device, context, &formatList[ i ], flags ); in test_image_type()
58 test_return = test_get_image_info_2D( device, context,&formatList[ i ], flags ); in test_image_type()
61 test_return = test_get_image_info_3D( device, context, &formatList[ i ], flags ); in test_image_type()
[all …]
/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_loops.cpp108 std::vector<cl_image_format> formatList; in test_image_type() local
109 if (get_format_list(context, imageType, formatList, flags)) return -1; in test_image_type()
111 std::vector<bool> filterFlags(formatList.size(), false); in test_image_type()
112 filter_formats(formatList, filterFlags, nullptr); in test_image_type()
115 for (unsigned int i = 0; i < formatList.size(); i++) in test_image_type()
123 print_header( &formatList[ i ], false ); in test_image_type()
128 test_return = test_copy_image_set_1D( device, context, queue, &formatList[ i ] ); in test_image_type()
130 test_return = test_copy_image_set_2D( device, context, queue, &formatList[ i ] ); in test_image_type()
132 test_return = test_copy_image_set_3D( device, context, queue,&formatList[ i ] ); in test_image_type()
134 test_return = test_copy_image_set_1D_array( device, context, queue, &formatList[ i ] ); in test_image_type()
[all …]
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
Dtest_loops.cpp57 std::vector<cl_image_format> formatList; in test_image_type() local
58 if (get_format_list(context, imageType, formatList, flags)) return -1; in test_image_type()
60 std::vector<bool> filterFlags(formatList.size(), false); in test_image_type()
61 filter_formats(formatList, filterFlags, nullptr); in test_image_type()
64 for (unsigned int i = 0; i < formatList.size(); i++) in test_image_type()
70 print_header(&formatList[i], false); in test_image_type()
74 print_header(&formatList[i], false); in test_image_type()
82 &formatList[i], flags); in test_image_type()
86 &formatList[i], flags); in test_image_type()
90 &formatList[i], flags); in test_image_type()
[all …]
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
Dtest_loops.cpp45 std::vector<cl_image_format> formatList; in test_image_type() local
46 if (get_format_list(context, imageType, formatList, flags)) return -1; in test_image_type()
48 std::vector<bool> filterFlags(formatList.size(), false); in test_image_type()
49 filter_formats(formatList, filterFlags, nullptr); in test_image_type()
52 for (unsigned int i = 0; i < formatList.size(); i++) in test_image_type()
58 print_header( &formatList[ i ], false ); in test_image_type()
62 print_header( &formatList[ i ], false ); in test_image_type()
69 &formatList[i], flags); in test_image_type()
73 &formatList[i], flags); in test_image_type()
77 &formatList[i], flags); in test_image_type()
[all …]
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_loops.cpp100 const std::vector<cl_image_format> &formatList, in test_read_image_formats() argument
111 for (unsigned int i = 0; i < formatList.size(); i++) in test_read_image_formats()
116 const cl_image_format &imageFormat = formatList[i]; in test_read_image_formats()
130 std::vector<cl_image_format> formatList; in test_image_set() local
158 formatList.push_back(readOnlyFormats[i]); in test_image_set()
166 formatList = readOnlyFormats; in test_image_set()
173 for (unsigned int f = 0; f < formatList.size(); f++) in test_image_set()
174 … log_info( " %-7s %-24s %d\n", GetChannelOrderName( formatList[ f ].image_channel_order ), in test_image_set()
175 GetChannelTypeName( formatList[ f ].image_channel_data_type ), in test_image_set()
176 (int)get_format_channel_count( &formatList[ f ] ) ); in test_image_set()
[all …]
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_loops.cpp168 const std::vector<cl_image_format> &formatList, in test_read_image_formats() argument
216 for (unsigned int i = 0; i < formatList.size(); i++) in test_read_image_formats()
220 const cl_image_format &imageFormat = formatList[i]; in test_read_image_formats()
326 std::vector<cl_image_format> formatList; in test_image_set() local
327 if (get_format_list(context, imageType, formatList, flags)) return -1; in test_image_set()
337 for (unsigned int f = 0; f < formatList.size(); f++) in test_image_set()
339 if (IsChannelOrderSupported(formatList[f].image_channel_order) in test_image_set()
341 formatList[f].image_channel_data_type)) in test_image_set()
344 GetChannelOrderName(formatList[f].image_channel_order), in test_image_set()
345 GetChannelTypeName(formatList[f].image_channel_data_type), in test_image_set()
[all …]
Dtest_write_image.cpp818 const std::vector<cl_image_format> &formatList, in test_write_image_formats() argument
835 for (unsigned int i = 0; i < formatList.size(); i++) in test_write_image_formats()
837 const cl_image_format &imageFormat = formatList[i]; in test_write_image_formats()
/external/OpenCL-CTS/test_conformance/images/
Dcommon.cpp61 int filter_formats(const std::vector<cl_image_format> &formatList, in filter_formats() argument
67 for (unsigned int j = 0; j < formatList.size(); j++) in filter_formats()
73 if (testMipmaps && (formatList[j].image_channel_order == CL_DEPTH)) in filter_formats()
82 && gChannelTypeToUse != formatList[j].image_channel_data_type) in filter_formats()
90 && gChannelOrderToUse != formatList[j].image_channel_order) in filter_formats()
98 if (!IsChannelOrderSupported(formatList[j].image_channel_order) in filter_formats()
99 || !IsChannelTypeSupported(formatList[j].image_channel_data_type)) in filter_formats()
115 if (formatList[j].image_channel_data_type in filter_formats()
DtestBase.h69 const std::vector<cl_image_format> &formatList,
75 const std::vector<cl_image_format> &formatList,
80 const std::vector<cl_image_format> &formatList,
Dcommon.h44 int filter_formats(const std::vector<cl_image_format> &formatList,
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_loops.cpp72 std::vector<cl_image_format> formatList; in test_image_type() local
73 if (get_format_list(context, imageType, formatList, flags)) return -1; in test_image_type()
79 std::vector<bool> filterFlags(formatList.size(), false); in test_image_type()
80 if (filter_formats(formatList, filterFlags, test.channelTypes) == 0) in test_image_type()
87 for (unsigned int i = 0; i < formatList.size(); i++) in test_image_type()
94 print_header(&formatList[i], false); in test_image_type()
99 test_fn(device, context, queue, &formatList[i], in test_image_type()
105 print_header(&formatList[i], true); in test_image_type()
/external/webrtc/sdk/android/api/org/webrtc/
DCamera2Enumerator.java207 final List<CaptureFormat> formatList = new ArrayList<CaptureFormat>(); in getSupportedFormats() local
219 formatList.add(new CaptureFormat(size.width, size.height, 0, maxFps)); in getSupportedFormats()
223 cachedSupportedFormats.put(cameraId, formatList); in getSupportedFormats()
227 return formatList; in getSupportedFormats()
DCamera1Enumerator.java116 final List<CaptureFormat> formatList = new ArrayList<CaptureFormat>(); in enumerateFormats() local
129 formatList.add(new CaptureFormat(size.width, size.height, minFps, maxFps)); in enumerateFormats()
138 return formatList; in enumerateFormats()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp342 cl_image_format formatList[128]; in get_8_bit_image_format() local
349 formatList, &outFormatCount))) in get_8_bit_image_format()
356 if (formatList[i].image_channel_data_type == CL_SNORM_INT8 in get_8_bit_image_format()
357 || formatList[i].image_channel_data_type == CL_UNORM_INT8 in get_8_bit_image_format()
358 || formatList[i].image_channel_data_type == CL_SIGNED_INT8 in get_8_bit_image_format()
359 || formatList[i].image_channel_data_type == CL_UNSIGNED_INT8) in get_8_bit_image_format()
363 && (get_format_channel_count(&formatList[i]) in get_8_bit_image_format()
366 *outFormat = formatList[i]; in get_8_bit_image_format()
379 cl_image_format formatList[128]; in get_32_bit_image_format() local
386 formatList, &outFormatCount))) in get_32_bit_image_format()
[all …]
DimageHelpers.h84 extern bool find_format(cl_image_format *formatList, unsigned int numFormats,
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineLogicOpTests.cpp522 const VkFormat formatList[] = in createLogicOpTests() local
540 for (int formatIdx = 0; formatIdx < DE_LENGTH_OF_ARRAY(formatList); ++formatIdx) in createLogicOpTests()
542 const auto& format = formatList[formatIdx]; in createLogicOpTests()
/external/OpenCL-CTS/test_conformance/gl/
Dhelpers.cpp604 cl_image_format formatList[ 128 ]; in is_rgb_101010_supported() local
642 … image_type, 128, formatList, in is_rgb_101010_supported()
650 if( formatList[ i ].image_channel_data_type == CL_UNORM_INT_101010 ) in is_rgb_101010_supported()
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DAsYouTypeFormatter.java170 List<NumberFormat> formatList = in getAvailableFormats() local
174 for (NumberFormat format : formatList) { in getAvailableFormats()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DAsYouTypeFormatter.java168 List<NumberFormat> formatList = in getAvailableFormats() local
172 for (NumberFormat format : formatList) { in getAvailableFormats()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiColorSpaceTests.cpp875 const VkFormat formatList[] = { in createColorspaceCompareTests() local
885 for (const VkFormat& format : formatList) in createColorspaceCompareTests()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp522 const VkFormat formatList[2] = in makeImage() local
533 formatList // const VkFormat* pViewFormats in makeImage()
1980 const VkFormat formatList[2] = in makeSwapchain() local
1991 formatList // const VkFormat* pViewFormats in makeSwapchain()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateTimePatternGenerator.java442 UResource.Table formatList = value.getTable(); in put() local
445 for (int j = 0; formatList.getKeyAndValue(j, key, value); ++j) { in put()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateTimePatternGenerator.java446 UResource.Table formatList = value.getTable(); in put() local
449 for (int j = 0; formatList.getKeyAndValue(j, key, value); ++j) { in put()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp4188 const VkFormat formatList[] = { VK_FORMAT_D24_UNORM_S8_UINT, VK_FORMAT_D32_SFLOAT_S8_UINT }; in getSupportedDepthStencilFormat() local
4191 for (int i = 0; i < DE_LENGTH_OF_ARRAY(formatList); ++i) in getSupportedDepthStencilFormat()
4193 const auto properties = getPhysicalDeviceFormatProperties(vki, physDev, formatList[i]); in getSupportedDepthStencilFormat()
4195 return formatList[i]; in getSupportedDepthStencilFormat()
/external/icu/icu4c/source/i18n/
Ddtptngen.cpp533 ResourceTable formatList = value.getTable(errorCode); in put() local
541 for (int32_t j = 0; formatList.getKeyAndValue(j, key, value); ++j) { in put()

12