/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 | 335 MediaFormat[] formats = new MediaFormat[resources.length]; in getVideoTrackFormats() local 337 formats[i] = MediaUtils.getTrackFormatForResource(mContext, resources[i], "video/"); in getVideoTrackFormats() 339 return formats; in getVideoTrackFormats() 343 MediaFormat[] formats = getVideoTrackFormats(resources); in count() local 344 MediaUtils.verifyNumCodecs(numGoog, false /* isEncoder */, true /* isGoog */, formats); in count() 345 MediaUtils.verifyNumCodecs(numOther, false /* isEncoder */, false /* isGoog */, formats); in count() 349 MediaFormat[] formats = getVideoTrackFormats(resources); in perf() local 350 String[] decoders = MediaUtils.getDecoderNames(isGoog, formats); in perf() 353 MediaUtils.skipTest("No " + kind + " decoders for " + Arrays.toString(formats)); in perf() 356 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 | 132 XmlSerializer formats = Xml.newSerializer(); in run() local 133 formats.setOutput(out, UTF_8); in run() 134 formats.startDocument(UTF_8, true); in run() 135 formats.startTag(null, MediaBitstreams.DYNAMIC_CONFIG); in run() 140 formats.startTag(null, MediaBitstreams.DYNAMIC_CONFIG_ENTRY); in run() 141 formats.attribute(null, MediaBitstreams.DYNAMIC_CONFIG_KEY, path); in run() 142 formats.startTag(null, MediaBitstreams.DYNAMIC_CONFIG_VALUE); in run() 146 formats.text(formatStr); in run() 161 formats.text(formatStringBuilder.toString()); in run() 164 formats.endTag(null, MediaBitstreams.DYNAMIC_CONFIG_VALUE); in run() [all …]
|
/cts/apps/CameraITS/pymodules/its/ |
D | device.py | 579 formats = [c['format'] if 'format' in c else 'yuv' 581 formats = [s if s != 'jpg' else 'jpeg' for s in formats] 767 formats = [c["format"] if "format" in c else "yuv" 769 formats = [s if s != "jpg" else "jpeg" for s in formats] 773 formats = ['yuv'] 838 raw_formats += 1 if "dng" in formats else 0 839 raw_formats += 1 if "raw" in formats else 0 840 raw_formats += 1 if "raw10" in formats else 0 841 raw_formats += 1 if "raw12" in formats else 0 842 raw_formats += 1 if "rawStats" in formats else 0 [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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 209 boolean isEncoder, Boolean isGoog, MediaFormat... formats) { in getCodecNames() argument 223 for (MediaFormat format : formats) { in getCodecNames() 242 public static String[] getDecoderNames(/* Nullable */ Boolean isGoog, MediaFormat... formats) { in getDecoderNames() argument 243 return getCodecNames(false /* isEncoder */, isGoog, formats); in getDecoderNames() 246 public static String[] getDecoderNames(MediaFormat... formats) { in getDecoderNames() argument 247 return getCodecNames(false /* isEncoder */, null /* isGoog */, formats); in getDecoderNames() 251 public static String[] getEncoderNames(/* Nullable */ Boolean isGoog, MediaFormat... formats) { in getEncoderNames() argument 252 return getCodecNames(true /* isEncoder */, isGoog, formats); in getEncoderNames() 255 public static String[] getEncoderNames(MediaFormat... formats) { in getEncoderNames() argument 256 return getCodecNames(true /* isEncoder */, null /* isGoog */, formats); in getEncoderNames() [all …]
|
/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/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/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 | 762 Set<Integer> formats = lowLatencyConfig.getOutputFormats(); in verifyRecommendedLowLatencyConfiguration() local 763 for (Integer format : formats) { in verifyRecommendedLowLatencyConfiguration()
|
/cts/tests/media/jni/ |
D | NativeCodecDecoderTest.cpp | 544 std::vector<AMediaFormat*> formats; in testSimpleDecodeQueueCSD() local 545 formats.push_back(mInpDecFormat); in testSimpleDecodeQueueCSD() 548 formats.push_back(mInpDecDupFormat); in testSimpleDecodeQueueCSD() 566 for (int i = 0; i < formats.size() && isPass; i++) { in testSimpleDecodeQueueCSD() 567 auto fmt = formats[i]; in testSimpleDecodeQueueCSD()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 596 Size previewSz, Size[] captureSizes, int[] formats, CaptureCallback resultListener, in prepareStillCaptureAndStartPreview() argument 601 if ((captureSizes == null) || (formats == null) || (imageListeners == null) && in prepareStillCaptureAndStartPreview() 602 (captureSizes.length != formats.length) || in prepareStillCaptureAndStartPreview() 603 (formats.length != imageListeners.length)) { in prepareStillCaptureAndStartPreview() 619 readers[i] = makeImageReader(captureSizes[i], formats[i], maxNumImages, in prepareStillCaptureAndStartPreview()
|
/cts/tests/tests/graphics/jni/ |
D | VulkanPreTransformTestHelpers.cpp | 286 std::vector<VkSurfaceFormatKHR> formats(formatCount); in init() local 288 &formatCount, formats.data())); in init() 292 if (formats[formatIndex].format == VK_FORMAT_R8G8B8A8_UNORM) { in init() 298 mFormat = formats[formatIndex].format; in init() 327 .imageColorSpace = formats[formatIndex].colorSpace, in init()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecDecoderTest.java | 707 ArrayList<MediaFormat> formats = new ArrayList<>(); in testSimpleDecodeQueueCSD() local 708 formats.add(format); in testSimpleDecodeQueueCSD() 709 formats.add(new MediaFormat(format)); in testSimpleDecodeQueueCSD() 729 for (MediaFormat fmt : formats) { in testSimpleDecodeQueueCSD()
|
D | CodecTestBase.java | 737 static ArrayList<String> selectCodecs(String mime, ArrayList<MediaFormat> formats, in selectCodecs() argument 751 if (formats != null) { in selectCodecs() 752 for (MediaFormat format : formats) { in selectCodecs()
|
/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() 2399 int[] formats = getAvailableFormats(StaticMetadata.StreamDirection.Output); in isDepthJpegSupported() local 2400 return CameraTestUtils.contains(formats, ImageFormat.DEPTH_JPEG); in isDepthJpegSupported()
|
/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/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
|