/external/OpenCL-CTS/test_conformance/api/ |
D | test_min_image_formats.cpp | 105 std::vector<cl_image_format> supportedFormats(numImageFormats); in test_min_image_formats() local 109 context, flags, type, supportedFormats.size(), in test_min_image_formats() 110 supportedFormats.data(), NULL); in test_min_image_formats() 119 if (!find_format(supportedFormats.data(), in test_min_image_formats() 120 supportedFormats.size(), &format)) in test_min_image_formats()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowCameraParametersTest.java | 78 List<Integer> supportedFormats = parameters.getSupportedPreviewFormats(); in testGetSupportedPreviewFormats() local 79 assertThat(supportedFormats).isNotNull(); in testGetSupportedPreviewFormats() 80 assertThat(supportedFormats.size()).isNotEqualTo((0)); in testGetSupportedPreviewFormats() 81 assertThat(supportedFormats).contains(ImageFormat.NV21); in testGetSupportedPreviewFormats() 86 List<Integer> supportedFormats = parameters.getSupportedPictureFormats(); in testGetSupportedPictureFormats() local 87 assertThat(supportedFormats).isNotNull(); in testGetSupportedPictureFormats() 88 assertThat(supportedFormats.size()).isEqualTo(2); in testGetSupportedPictureFormats() 89 assertThat(supportedFormats).contains(ImageFormat.NV21); in testGetSupportedPictureFormats()
|
/external/angle/src/tests/gl_tests/ |
D | CopyCompressedTextureTest.cpp | 168 std::vector<Data> supportedFormats; in TEST_P() local 172 supportedFormats.push_back( in TEST_P() 174 supportedFormats.push_back(Data(GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD, CompressedImageATCIA, in TEST_P() 179 supportedFormats.push_back(Data(GL_COMPRESSED_RGB_S3TC_DXT1_EXT, CompressedImageDXT1, in TEST_P() 184 supportedFormats.push_back(Data(GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, CompressedImageDXT5, in TEST_P() 189 supportedFormats.push_back( in TEST_P() 193 for (const auto &supportedFormat : supportedFormats) in TEST_P()
|
/external/webrtc/sdk/objc/unittests/ |
D | objc_video_encoder_factory_tests.mm | 131 std::vector<webrtc::SdpVideoFormat> supportedFormats = encoder_factory.GetSupportedFormats(); 132 EXPECT_EQ(supportedFormats.size(), 1u); 133 EXPECT_EQ(supportedFormats[0].name, "H264"); 138 std::vector<webrtc::SdpVideoFormat> supportedFormats = encoder_factory.GetImplementations(); 139 EXPECT_EQ(supportedFormats.size(), 1u); 140 EXPECT_EQ(supportedFormats[0].name, "H264");
|
D | RTCCameraVideoCapturerTests.mm | 167 NSArray *supportedFormats = 171 EXPECT_EQ(supportedFormats.count, 3u); 172 EXPECT_TRUE([supportedFormats containsObject:validFormat1]); 173 EXPECT_TRUE([supportedFormats containsObject:validFormat2]); 174 EXPECT_TRUE([supportedFormats containsObject:invalidFormat]);
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | ExoPlayerTestRunner.java | 79 private Format[] supportedFormats; field in ExoPlayerTestRunner.Builder 93 supportedFormats = new Format[] {VIDEO_FORMAT}; in Builder() 171 public Builder setSupportedFormats(Format... supportedFormats) { in setSupportedFormats() argument 172 this.supportedFormats = supportedFormats; in setSupportedFormats() 325 mediaSources.add(new FakeMediaSource(timeline, supportedFormats)); in build()
|
/external/angle/src/libANGLE/renderer/cl/ |
D | CLContextCL.cpp | 200 std::vector<cl_image_format> supportedFormats; in getSupportedImageFormats() local 201 supportedFormats.reserve(formats.size()); in getSupportedImageFormats() 203 formats.cbegin(), formats.cend(), std::back_inserter(supportedFormats), in getSupportedImageFormats() 208 auto formatIt = supportedFormats.cbegin(); in getSupportedImageFormats() 209 while (numEntries-- != 0u && formatIt != supportedFormats.cend()) in getSupportedImageFormats() 216 *numImageFormats = static_cast<cl_uint>(supportedFormats.size()); in getSupportedImageFormats()
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | CameraVideoCapturerTestFixtures.java | 259 public List<CaptureFormat> supportedFormats; field in CameraVideoCapturerTestFixtures.CapturerInstance 354 instance.supportedFormats = testObjectFactory.cameraEnumerator.getSupportedFormats(name); in createCapturer() 369 instance.supportedFormats.get(formatIndex); in startCapture()
|
/external/OpenCL-CTS/test_conformance/spir/ |
D | datagen.h | 277 std::vector<cl_image_format> supportedFormats(actualNumFormats); 280 supportedFormats.data(), NULL); 286 cl_image_format curFormat = supportedFormats[i];
|
/external/deqp/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 1644 std::set<int> supportedFormats; in iterate() local 1645 getSupportedCompressedFormats(supportedFormats); in iterate() 1647 if (supportedFormats.empty()) in iterate() 1653 GLenum supportedCompressedFormat = static_cast<GLenum>(*(supportedFormats.begin())); in iterate() 1776 std::set<int> supportedFormats; in iterate() local 1777 getSupportedCompressedFormats(supportedFormats); in iterate() 1779 if (supportedFormats.empty()) in iterate() 1785 GLenum supportedCompressedFormat = static_cast<GLenum>(*(supportedFormats.begin())); in iterate()
|