/cts/tests/tests/media/src/android/media/cts/ |
D | EncoderTest.java | 73 LinkedList<MediaFormat> formats = new LinkedList<MediaFormat>(); in testAMRNBEncoders() local 84 formats.push(format); in testAMRNBEncoders() 87 testEncoderWithFormats(MediaFormat.MIMETYPE_AUDIO_AMR_NB, formats); in testAMRNBEncoders() 91 LinkedList<MediaFormat> formats = new LinkedList<MediaFormat>(); in testAMRWBEncoders() local 102 formats.push(format); in testAMRWBEncoders() 105 testEncoderWithFormats(MediaFormat.MIMETYPE_AUDIO_AMR_WB, formats); in testAMRWBEncoders() 109 LinkedList<MediaFormat> formats = new LinkedList<MediaFormat>(); in testOpusEncoders() local 120 formats.push(format); in testOpusEncoders() 123 testEncoderWithFormats(MediaFormat.MIMETYPE_AUDIO_OPUS, formats); in testOpusEncoders() 127 LinkedList<MediaFormat> formats = new LinkedList<MediaFormat>(); in testAACEncoders() local [all …]
|
D | VideoDecoderPerfTest.java | 329 MediaFormat[] formats = new MediaFormat[resources.length]; in getVideoTrackFormats() local 331 formats[i] = MediaUtils.getTrackFormatForResource(mContext, resources[i], "video/"); in getVideoTrackFormats() 333 return formats; in getVideoTrackFormats() 337 MediaFormat[] formats = getVideoTrackFormats(resources); in count() local 338 MediaUtils.verifyNumCodecs(numGoog, false /* isEncoder */, true /* isGoog */, formats); in count() 339 MediaUtils.verifyNumCodecs(numOther, false /* isEncoder */, false /* isGoog */, formats); in count() 343 MediaFormat[] formats = getVideoTrackFormats(resources); in perf() local 344 String[] decoders = MediaUtils.getDecoderNames(isGoog, formats); in perf() 347 MediaUtils.skipTest("No " + kind + " decoders for " + Arrays.toString(formats)); in perf() 350 Log.i(TAG, "No more " + kind + " decoders for " + Arrays.toString(formats)); in perf() [all …]
|
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/ |
D | MediaBitstreamsDeviceSideTest.java | 102 XmlSerializer formats = Xml.newSerializer(); in run() local 103 formats.setOutput(out, UTF_8); in run() 104 formats.startDocument(UTF_8, true); in run() 105 formats.startTag(null, MediaBitstreams.DYNAMIC_CONFIG); in run() 110 formats.startTag(null, MediaBitstreams.DYNAMIC_CONFIG_ENTRY); in run() 111 formats.attribute(null, MediaBitstreams.DYNAMIC_CONFIG_KEY, path); in run() 112 formats.startTag(null, MediaBitstreams.DYNAMIC_CONFIG_VALUE); in run() 116 formats.text(formatStr); in run() 131 formats.text(formatStringBuilder.toString()); in run() 134 formats.endTag(null, MediaBitstreams.DYNAMIC_CONFIG_VALUE); in run() [all …]
|
/cts/apps/CameraITS/pymodules/its/ |
D | device.py | 577 formats = [c['format'] if 'format' in c else 'yuv' 579 formats = [s if s != 'jpg' else 'jpeg' for s in formats] 765 formats = [c["format"] if "format" in c else "yuv" 767 formats = [s if s != "jpg" else "jpeg" for s in formats] 771 formats = ['yuv'] 836 raw_formats += 1 if "dng" in formats else 0 837 raw_formats += 1 if "raw" in formats else 0 838 raw_formats += 1 if "raw10" in formats else 0 839 raw_formats += 1 if "raw12" in formats else 0 840 raw_formats += 1 if "rawStats" in formats else 0 [all …]
|
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/ |
D | HardwareBufferVrTest.java | 39 final int formats[] = { in testLayeredBuffersForVr() local 45 for (final int format : formats) { in testLayeredBuffersForVr()
|
/cts/tools/cts-media-preparer-app/src/android/mediastress/cts/preconditions/app/ |
D | MediaPreparerAppTest.java | 126 List<MediaFormat> formats = new ArrayList<MediaFormat>(); in stringsToFormats() local 129 formats.add(parseTrackFormat(trackFormatString)); in stringsToFormats() 132 return formats; in stringsToFormats()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 207 boolean isEncoder, Boolean isGoog, MediaFormat... formats) { in getCodecNames() argument 221 for (MediaFormat format : formats) { in getCodecNames() 240 public static String[] getDecoderNames(/* Nullable */ Boolean isGoog, MediaFormat... formats) { in getDecoderNames() argument 241 return getCodecNames(false /* isEncoder */, isGoog, formats); in getDecoderNames() 244 public static String[] getDecoderNames(MediaFormat... formats) { in getDecoderNames() argument 245 return getCodecNames(false /* isEncoder */, null /* isGoog */, formats); in getDecoderNames() 249 public static String[] getEncoderNames(/* Nullable */ Boolean isGoog, MediaFormat... formats) { in getEncoderNames() argument 250 return getCodecNames(true /* isEncoder */, isGoog, formats); in getEncoderNames() 253 public static String[] getEncoderNames(MediaFormat... formats) { in getEncoderNames() argument 254 return getCodecNames(true /* isEncoder */, null /* isGoog */, formats); in getEncoderNames() [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 208 boolean isEncoder, Boolean isGoog, MediaFormat... formats) { in getCodecNames() argument 219 for (MediaFormat format : formats) { in getCodecNames() 238 public static String[] getDecoderNames(/* Nullable */ Boolean isGoog, MediaFormat... formats) { in getDecoderNames() argument 239 return getCodecNames(false /* isEncoder */, isGoog, formats); in getDecoderNames() 242 public static String[] getDecoderNames(MediaFormat... formats) { in getDecoderNames() argument 243 return getCodecNames(false /* isEncoder */, null /* isGoog */, formats); in getDecoderNames() 247 public static String[] getEncoderNames(/* Nullable */ Boolean isGoog, MediaFormat... formats) { in getEncoderNames() argument 248 return getCodecNames(true /* isEncoder */, isGoog, formats); in getEncoderNames() 251 public static String[] getEncoderNames(MediaFormat... formats) { in getEncoderNames() argument 252 return getCodecNames(true /* isEncoder */, null /* isGoog */, formats); in getEncoderNames() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | PerformanceTest.java | 310 private void testSingleCaptureForFormat(int[] formats, String formatDescription, in testSingleCaptureForFormat() argument 334 for (int format : formats) { in testSingleCaptureForFormat() 362 SimpleImageListener[] imageListeners = new SimpleImageListener[formats.length]; in testSingleCaptureForFormat() 363 Size[] imageSizes = new Size[formats.length]; in testSingleCaptureForFormat() 364 for (int j = 0; j < formats.length; j++) { in testSingleCaptureForFormat() 366 id, mCameraManager, formats[j], /*bound*/null).get(0); in testSingleCaptureForFormat() 371 mOrderedPreviewSizes.get(0), imageSizes, formats, in testSingleCaptureForFormat() 398 double [] imageTimes = new double[formats.length]; in testSingleCaptureForFormat() 399 for (int j = 0; j < formats.length; j++) { in testSingleCaptureForFormat() 1155 Size previewSz, Size[] captureSizes, int[] formats, CaptureCallback resultListener, in prepareStillCaptureAndStartPreview() argument [all …]
|
D | ExtendedCameraCharacteristicsTest.java | 759 Set<Integer> formats = lowLatencyConfig.getOutputFormats(); in verifyRecommendedLowLatencyConfiguration() local 760 for (Integer format : formats) { in verifyRecommendedLowLatencyConfiguration()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 588 Size previewSz, Size[] captureSizes, int[] formats, CaptureCallback resultListener, in prepareStillCaptureAndStartPreview() argument 593 if ((captureSizes == null) || (formats == null) || (imageListeners == null) && in prepareStillCaptureAndStartPreview() 594 (captureSizes.length != formats.length) || in prepareStillCaptureAndStartPreview() 595 (formats.length != imageListeners.length)) { in prepareStillCaptureAndStartPreview() 611 readers[i] = makeImageReader(captureSizes[i], formats[i], maxNumImages, in prepareStillCaptureAndStartPreview()
|
/cts/tests/tests/graphics/jni/ |
D | VulkanPreTransformTestHelpers.cpp | 284 std::vector<VkSurfaceFormatKHR> formats(formatCount); in init() local 286 &formatCount, formats.data())); in init() 290 if (formats[formatIndex].format == VK_FORMAT_R8G8B8A8_UNORM) { in init() 296 mFormat = formats[formatIndex].format; in init() 325 .imageColorSpace = formats[formatIndex].colorSpace, in init()
|
/cts/tests/vr/jni/ |
D | VrExtensionsJni.cpp | 190 const int formats[] = { in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray() local 200 for (auto format : formats) { in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | VulkanDeviceInfo.java | 653 JSONArray formats = device.getJSONArray(KEY_FORMATS); in emitDevices() local 657 for (int formatIdx = 0; formatIdx < formats.length(); formatIdx++) { in emitDevices() 658 JSONArray formatPair = formats.getJSONArray(formatIdx); in emitDevices()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 2391 int[] formats = getAvailableFormats(StaticMetadata.StreamDirection.Output); in isHeicSupported() local 2392 return CameraTestUtils.contains(formats, ImageFormat.HEIC); in isHeicSupported()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 16 package com.android.cts.verifier.camera.formats;
|
/cts/apps/CameraITS/build/scripts/ |
D | gpylint_rcfile | 95 # Set the output format. Available formats are text, parseable, colorized, msvs
|