Home
last modified time | relevance | path

Searched refs:formats (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DEncoderTest.java73 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 …]
DVideoDecoderPerfTest.java329 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/
DMediaBitstreamsDeviceSideTest.java102 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/
Ddevice.py577 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/
DHardwareBufferVrTest.java39 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/
DMediaPreparerAppTest.java126 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/
DMediaUtils.java207 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/
DMediaUtils.java208 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/
DPerformanceTest.java310 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 …]
DExtendedCameraCharacteristicsTest.java759 Set<Integer> formats = lowLatencyConfig.getOutputFormats(); in verifyRecommendedLowLatencyConfiguration() local
760 for (Integer format : formats) { in verifyRecommendedLowLatencyConfiguration()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java588 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/
DVulkanPreTransformTestHelpers.cpp284 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/
DVrExtensionsJni.cpp190 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/
DVulkanDeviceInfo.java653 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/
DStaticMetadata.java2391 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/
DCameraFormatsActivity.java16 package com.android.cts.verifier.camera.formats;
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile95 # Set the output format. Available formats are text, parseable, colorized, msvs