Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_loops.cpp37 static bool check_minimum_supported(cl_image_format *formatList, in check_minimum_supported() argument
50 if( !find_format( formatList, numFormats, &format ) ) in check_minimum_supported()
68 cl_image_format *formatList; in test_image_type() local
72 if ( get_format_list( context, image_type, formatList, numFormats, flags ) ) in test_image_type()
75 BufferOwningPtr<cl_image_format> formatListBuf(formatList); in test_image_type()
81 if (check_minimum_supported( formatList, numFormats, flags, image_type, device ) == false) { in test_image_type()
97 filter_formats( formatList, filterFlags, numFormats, 0 ); in test_image_type()
106 print_header( &formatList[ i ], false ); in test_image_type()
110 print_header( &formatList[ i ], false ); in test_image_type()
116 test_return = test_get_image_info_1D( device, context, &formatList[ i ], flags ); in test_image_type()
[all …]
/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_loops.cpp120 cl_image_format *formatList; in test_image_type() local
124 if( get_format_list( context, imageType, formatList, numFormats, flags ) ) in test_image_type()
135 filter_formats(formatList, filterFlags, numFormats, NULL); in test_image_type()
146 print_header( &formatList[ i ], false ); in test_image_type()
151 test_return = test_copy_image_set_1D( device, context, queue, &formatList[ i ] ); in test_image_type()
153 test_return = test_copy_image_set_2D( device, context, queue, &formatList[ i ] ); in test_image_type()
155 test_return = test_copy_image_set_3D( device, context, queue,&formatList[ i ] ); in test_image_type()
157 test_return = test_copy_image_set_1D_array( device, context, queue, &formatList[ i ] ); in test_image_type()
159 test_return = test_copy_image_set_2D_array( device, context, queue, &formatList[ i ] ); in test_image_type()
161 … test_return = test_copy_image_set_2D_3D( device, context, queue, &formatList[ i ], false ); in test_image_type()
[all …]
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
Dtest_loops.cpp42 cl_image_format *formatList; in test_image_type() local
57 if( get_format_list( context, imageType, formatList, numFormats, flags ) ) in test_image_type()
67 filter_formats( formatList, filterFlags, numFormats, 0 ); in test_image_type()
76 print_header( &formatList[ i ], false ); in test_image_type()
80 print_header( &formatList[ i ], false ); in test_image_type()
86 test_return = test_read_image_set_1D( device, context, queue, &formatList[ i ] ); in test_image_type()
89 test_return = test_read_image_set_2D( device, context, queue, &formatList[ i ] ); in test_image_type()
92 test_return = test_read_image_set_3D( device,context, queue, &formatList[ i ] ); in test_image_type()
95 … test_return = test_read_image_set_1D_array( device, context, queue, &formatList[ i ] ); in test_image_type()
98 … test_return = test_read_image_set_2D_array( device, context, queue, &formatList[ i ] ); in test_image_type()
[all …]
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
Dtest_loops.cpp41 cl_image_format *formatList; in test_image_type() local
45 if( get_format_list( context, imageType, formatList, numFormats, flags ) ) in test_image_type()
55 filter_formats( formatList, filterFlags, numFormats, 0 ); in test_image_type()
64 print_header( &formatList[ i ], false ); in test_image_type()
68 print_header( &formatList[ i ], false ); in test_image_type()
74 test_return = test_get_image_info_1D( device, context, queue, &formatList[ i ] ); in test_image_type()
77 test_return = test_get_image_info_2D( device, context, queue, &formatList[ i ] ); in test_image_type()
80 test_return = test_get_image_info_3D( device, context, queue, &formatList[ i ] ); in test_image_type()
83 … test_return = test_get_image_info_1D_array( device, context, queue, &formatList[ i ] ); in test_image_type()
86 … test_return = test_get_image_info_2D_array( device, context, queue, &formatList[ i ] ); in test_image_type()
[all …]
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_loops.cpp132 …d device, cl_context context, cl_command_queue queue, cl_image_format *formatList, bool *filterFla… in test_read_image_formats() argument
173 cl_image_format &imageFormat = formatList[ i ]; in test_read_image_formats()
230 cl_image_format *formatList; in test_image_set() local
265 if( get_format_list( context, imageType, formatList, numFormats, flags ) ) in test_image_set()
267 BufferOwningPtr<cl_image_format> formatListBuf(formatList); in test_image_set()
286 …if ( IsChannelOrderSupported( formatList[ f ].image_channel_order ) && IsChannelTypeSupported( for… in test_image_set()
287 … log_info( " %-7s %-24s %d\n", GetChannelOrderName( formatList[ f ].image_channel_order ), in test_image_set()
288 GetChannelTypeName( formatList[ f ].image_channel_data_type ), in test_image_set()
289 (int)get_format_channel_count( &formatList[ f ] ) ); in test_image_set()
301 if (filter_formats(formatList, filterFlags, numFormats, in test_image_set()
[all …]
Dtest_write_image.cpp788 …d device, cl_context context, cl_command_queue queue, cl_image_format *formatList, bool *filterFla… in test_write_image_formats() argument
804 cl_image_format &imageFormat = formatList[ i ]; in test_write_image_formats()
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_loops.cpp77 …d device, cl_context context, cl_command_queue queue, cl_image_format *formatList, bool *filterFla… in test_read_image_formats() argument
90 cl_image_format &imageFormat = formatList[ i ]; in test_read_image_formats()
104 cl_image_format *formatList; in test_image_set() local
121 if ( get_format_list( context, imageType, formatList, numFormats, flags ) ) in test_image_set()
137 … log_info( " %-7s %-24s %d\n", GetChannelOrderName( formatList[ f ].image_channel_order ), in test_image_set()
138 GetChannelTypeName( formatList[ f ].image_channel_data_type ), in test_image_set()
139 (int)get_format_channel_count( &formatList[ f ] ) ); in test_image_set()
150 if (filter_formats(formatList, filterFlags, numFormats, in test_image_set()
160 device, context, queue, formatList, filterFlags, numFormats, in test_image_set()
167 delete[] formatList; in test_image_set()
/external/OpenCL-CTS/test_conformance/images/
Dcommon.cpp75 int filter_formats(cl_image_format *formatList, bool *filterFlags, in filter_formats() argument
87 if (testMipmaps && (formatList[j].image_channel_order == CL_DEPTH)) in filter_formats()
96 && gChannelTypeToUse != formatList[j].image_channel_data_type) in filter_formats()
104 && gChannelOrderToUse != formatList[j].image_channel_order) in filter_formats()
112 if (!IsChannelOrderSupported(formatList[j].image_channel_order) in filter_formats()
113 || !IsChannelTypeSupported(formatList[j].image_channel_data_type)) in filter_formats()
129 if (formatList[j].image_channel_data_type in filter_formats()
DtestBase.h62 cl_image_format *formatList, bool *filterFlags, unsigned int numFormats,
67 cl_image_format *formatList, bool *filterFlags, unsigned int numFormats,
71 cl_image_format *formatList, bool *filterFlags, unsigned int numFormats,
Dcommon.h44 int filter_formats(cl_image_format *formatList, bool *filterFlags,
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_loops.cpp79 cl_image_format *formatList; in test_image_type() local
83 if ( get_format_list( context, imageType, formatList, numFormats, flags ) ) in test_image_type()
98 if (filter_formats(formatList, filterFlags, numFormats, in test_image_type()
114 print_header(&formatList[i], false); in test_image_type()
119 test_fn(device, context, queue, &formatList[i], in test_image_type()
125 print_header(&formatList[i], true); in test_image_type()
136 delete[] formatList; in test_image_type()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCamera2Enumerator.java102 final List<CaptureFormat> formatList = new ArrayList<CaptureFormat>(); in getSupportedFormats() local
113 formatList.add(new CaptureFormat(size.getWidth(), size.getHeight(), 0, maxFps * 1000)); in getSupportedFormats()
115 cachedSupportedFormats.put(cameraId, formatList); in getSupportedFormats()
119 return formatList; in getSupportedFormats()
DCameraEnumerator.java77 final List<CaptureFormat> formatList = new ArrayList<CaptureFormat>(); in enumerateFormats() local
90 formatList.add(new CaptureFormat(size.width, size.height, minFps, maxFps)); in enumerateFormats()
99 return formatList; in enumerateFormats()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp341 cl_image_format formatList[ 128 ]; in get_8_bit_image_format() local
347 …if ((error = clGetSupportedImageFormats( context, flags, objType, 128, formatList, &outFormatCount… in get_8_bit_image_format()
354 if( formatList[ i ].image_channel_data_type == CL_SNORM_INT8 || in get_8_bit_image_format()
355 formatList[ i ].image_channel_data_type == CL_UNORM_INT8 || in get_8_bit_image_format()
356 formatList[ i ].image_channel_data_type == CL_SIGNED_INT8 || in get_8_bit_image_format()
357 formatList[ i ].image_channel_data_type == CL_UNSIGNED_INT8 ) in get_8_bit_image_format()
359 …if ( !channelCount || ( channelCount && ( get_format_channel_count( &formatList[ i ] ) == channelC… in get_8_bit_image_format()
361 *outFormat = formatList[ i ]; in get_8_bit_image_format()
372 cl_image_format formatList[ 128 ]; in get_32_bit_image_format() local
378 …if ((error = clGetSupportedImageFormats( context, flags, objType, 128, formatList, &outFormatCount… in get_32_bit_image_format()
[all …]
DimageHelpers.h74 extern bool find_format( cl_image_format *formatList, unsigned int numFormats, cl_image_format *for…
/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/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/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateTimePatternGenerator.java403 UResource.Table formatList = value.getTable(); in put() local
406 for (int j = 0; formatList.getKeyAndValue(j, key, value); ++j) { in put()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateTimePatternGenerator.java400 UResource.Table formatList = value.getTable(); in put() local
403 for (int j = 0; formatList.getKeyAndValue(j, key, value); ++j) { in put()
/external/icu/icu4c/source/i18n/
Ddtptngen.cpp518 ResourceTable formatList = value.getTable(errorCode); in put() local
526 for (int32_t j = 0; formatList.getKeyAndValue(j, key, value); ++j) { in put()