Home
last modified time | relevance | path

Searched refs:JPEG (Results 1 – 25 of 50) sorted by relevance

12

/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java33 import static android.hardware.camera2.cts.CameraTestUtils.MaxStreamSizes.JPEG;
522 if (streamInfo.getFormat() == ImageFormat.JPEG) { in testMandatoryStreamCombination()
926 if (streamInfo.getFormat() == ImageFormat.JPEG) { in testMandatoryReprocessableStreamCombination()
2314 {JPEG, MAXIMUM}, in testVerifyMandatoryOutputCombinationTables()
2318 {PRIV, PREVIEW, JPEG, MAXIMUM}, in testVerifyMandatoryOutputCombinationTables()
2320 {YUV, PREVIEW, JPEG, MAXIMUM}, in testVerifyMandatoryOutputCombinationTables()
2326 {PRIV, PREVIEW, YUV, PREVIEW, JPEG, MAXIMUM} in testVerifyMandatoryOutputCombinationTables()
2337 {PRIV, PREVIEW, PRIV, RECORD, JPEG, RECORD }, in testVerifyMandatoryOutputCombinationTables()
2339 {PRIV, PREVIEW, YUV, RECORD, JPEG, RECORD }, in testVerifyMandatoryOutputCombinationTables()
2341 {YUV , PREVIEW, YUV, PREVIEW, JPEG, MAXIMUM } in testVerifyMandatoryOutputCombinationTables()
[all …]
DOfflineSessionTest.java149 createImageReader(stillSize, ImageFormat.JPEG, MAX_READER_IMAGES, imageListener); in testInvalidOutput()
213 ImageFormat.JPEG, OfflineTestSequence.NoExtraSteps); in testOfflineCallbacks()
336 ImageFormat.JPEG, OfflineTestSequence.CloseDeviceAndOpenRemote)) { in testDeviceCloseAndOpen()
384 ImageFormat.JPEG, OfflineTestSequence.CloseOfflineSession); in testOfflineSessionClose()
418 ImageFormat.JPEG, OfflineTestSequence.InitializeRegularSession); in testOfflineSessionWithRegularSession()
452 ImageFormat.JPEG, OfflineTestSequence.RepeatingSequenceAbort); in testRepeatingSequenceAbort()
709 jpegReader = makeImageReader(offlineSize, ImageFormat.JPEG, in camera2OfflineSessionTest()
DImageReaderTest.java215 ImageFormat.JPEG, /*repeating*/false); in testJpeg()
402 mAllStaticInfo.get(id).getAvailableColorSpacesChecked(ImageFormat.JPEG); in testDisplayP3Jpeg()
411 ImageFormat.JPEG, /*repeating*/false); in testDisplayP3Jpeg()
430 mAllStaticInfo.get(id).getAvailableColorSpacesChecked(ImageFormat.JPEG); in testDisplayP3JpegRepeating()
439 ImageFormat.JPEG, /*repeating*/true); in testDisplayP3JpegRepeating()
458 mAllStaticInfo.get(id).getAvailableColorSpacesChecked(ImageFormat.JPEG); in testSRGBJpeg()
467 ImageFormat.JPEG, /*repeating*/false); in testSRGBJpeg()
486 mAllStaticInfo.get(id).getAvailableColorSpacesChecked(ImageFormat.JPEG); in testSRGBJpegRepeating()
495 ImageFormat.JPEG, /*repeating*/true); in testSRGBJpegRepeating()
584 ImageFormat.JPEG, /*repeating*/true); in testRepeatingJpeg()
[all …]
DReprocessCaptureTest.java116 testBasicReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.JPEG); in testBasicYuvToJpegReprocessing()
164 testBasicReprocessing(id, ImageFormat.PRIVATE, ImageFormat.JPEG); in testBasicOpaqueToJpegReprocessing()
275 int reprocessOutputFormat = ImageFormat.JPEG; in testCrossSessionCaptureException()
353 int reprocessOutputFormat = ImageFormat.JPEG; in testQueueImageWithoutRequest()
537 if (reprocessOutputFormat == ImageFormat.JPEG) { in testReprocessJpegExif()
538 testReprocessingMaxSizes(id, inputFormat, ImageFormat.JPEG, in testReprocessJpegExif()
1081 setupImageReaders(inputSize, inputFormat, reprocessOutputSize, ImageFormat.JPEG, in testReprocessJpegExif()
1115 mCollector, mDebugFileNameBase, ImageFormat.JPEG); in testReprocessJpegExif()
1528 case ImageFormat.JPEG: in dumpImage()
DFeatureCombinationTest.java20 import static android.hardware.camera2.cts.CameraTestUtils.MaxStreamSizes.JPEG;
326 .filter(p -> (p.getImageFormat() == ImageFormat.JPEG || in verifyCombinationStreaming()
485 {PRIV, S1080P, JPEG, MAXIMUM_16_9}, in testVPerfClassRequirements()
486 {PRIV, S720P, JPEG, MAXIMUM_16_9}, in testVPerfClassRequirements()
568 case JPEG: in setupConfigurationTargets()
DMultiResolutionReprocessCaptureTest.java197 CameraTestUtils.contains(multiResolutionOutputFormats, ImageFormat.JPEG)); in testMultiResolutionReprocessCharacteristics()
210 CameraTestUtils.contains(multiResolutionOutputFormats, ImageFormat.JPEG)); in testMultiResolutionReprocessCharacteristics()
235 testMultiResolutionReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.JPEG); in testMultiResolutionYuvToJpegReprocessing()
257 testMultiResolutionReprocessing(id, ImageFormat.PRIVATE, ImageFormat.JPEG); in testMultiResolutionOpaqueToJpegReprocessing()
807 case ImageFormat.JPEG: in dumpImage()
DDngCreatorTest.java711 ImageFormat.JPEG, StaticMetadata.StreamDirection.Output); in captureRawJpegImagePair()
727 captureReaders.add(createImageReader(largestJpegSize, ImageFormat.JPEG, 2, in captureRawJpegImagePair()
778 params.rawBitmap.compress(Bitmap.CompressFormat.JPEG, 90, params.fileStream); in debugDumpDng()
800 ImageFormat.JPEG, StaticMetadata.StreamDirection.Output, /*fastSizes*/ true, in captureRawJpegImagePairMaximumResolution()
815 jpegCaptureReader = createImageReader(largestJpegSize, ImageFormat.JPEG, 2, in captureRawJpegImagePairMaximumResolution()
910 jpegPatch.compress(Bitmap.CompressFormat.JPEG, 90, fileStream); in validateRawJpegImagePair()
920 rawPatch.compress(Bitmap.CompressFormat.JPEG, 90, fileStream); in validateRawJpegImagePair()
DCameraDeviceSetupTest.java20 import static android.hardware.camera2.cts.CameraTestUtils.MaxStreamSizes.JPEG;
350 int jpegFmt = ImageFormat.JPEG; in testOutputConfigurationForCameraSetup()
659 mStreamCombination[i] = JPEG; in CameraFeatureWrapper()
741 case JPEG: in setupConfigurations()
DBurstCaptureTest.java70 testBurst(ImageFormat.JPEG, JPEG_BURST_SIZE, false/*checkFrameRate*/, in testJpegBurst()
172 int burstTemplate = (fmt == ImageFormat.JPEG) ? in burstTestByCamera()
DExtendedCameraCharacteristicsTest.java273 allCameraIds[i]), outputFormats, ImageFormat.JPEG); in testAvailableStreamConfigs()
277 Size[] jpegSizes = config.getOutputSizes(ImageFormat.JPEG); in testAvailableStreamConfigs()
328 ImageFormat.JPEG, allCameraIds[i]), jpegSizes, in testAvailableStreamConfigs()
351 ImageFormat.JPEG, allCameraIds[i]), jpegSizes, HD); in testAvailableStreamConfigs()
363 ImageFormat.JPEG, allCameraIds[i]), jpegSizes, VGA); in testAvailableStreamConfigs()
375 ImageFormat.JPEG, allCameraIds[i]), jpegSizes, QVGA); in testAvailableStreamConfigs()
548 ImageFormat.JPEG, 1 /*maxNumImages*/, imageListener, mHandler); in testSPerfClassJpegSizesByCamera()
595 assertEquals("Image format isn't JPEG", image.getFormat(), ImageFormat.JPEG); in testSPerfClassJpegSizesByCamera()
825 ImageFormat.JPEG)); in verifyRecommendedSnapshotConfiguration()
827 ImageFormat.JPEG); in verifyRecommendedSnapshotConfiguration()
[all …]
DCameraExtensionSessionTest.java549 ImageFormat.JPEG, in testPostviewAndCapture()
651 if (captureFormat == ImageFormat.JPEG in testPostviewAndCapture()
653 || postviewFormat == ImageFormat.JPEG in testPostviewAndCapture()
671 if (postviewFormat == ImageFormat.JPEG in testPostviewAndCapture()
688 if (captureFormat == ImageFormat.JPEG in testPostviewAndCapture()
1059 ImageFormat.JPEG, in testMultiFrameCapture()
1130 if (captureFormat == ImageFormat.JPEG in testMultiFrameCapture()
1145 if (captureFormat == ImageFormat.JPEG in testMultiFrameCapture()
1408 int captureFormat = ImageFormat.JPEG; in testRepeatingAndCaptureCombined()
1852 case ImageFormat.JPEG: in verifyJpegOrientation()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DWindowManager_LayoutParamsTest.java75 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG); in testConstructor()
79 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG); in testConstructor()
83 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG); in testConstructor()
120 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG); in testCopyFrom()
128 assertEquals(PixelFormat.JPEG, mLayoutParams.format); in testCopyFrom()
221 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG); in testToString()
230 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG); in testWriteToParcel()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmap_CompressFormatTest.java38 assertEquals(CompressFormat.JPEG, CompressFormat.valueOf("JPEG")); in testValueOf()
50 assertEquals(CompressFormat.JPEG, comFormat[0]); in testValues()
DPixelFormatTest.java91 PixelFormat.getPixelFormatInfo(PixelFormat.JPEG, new PixelFormat()); in testGetPixelFormatInfoJpeg()
DGainmapTest.java464 assertTrue(sScalingRed8888.compress(Bitmap.CompressFormat.JPEG, 100, stream)); in testCompress8888()
485 assertTrue(sScalingRedA8.compress(Bitmap.CompressFormat.JPEG, 100, stream)); in testCompressA8ByImageDecoder()
507 assertTrue(sScalingRedA8.compress(Bitmap.CompressFormat.JPEG, 100, stream)); in testCompressA8ByBitmapRegionDecoder()
526 assertTrue(sScalingRedA8.compress(Bitmap.CompressFormat.JPEG, 100, stream)); in testCompressA8ByBitmapFactory()
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraUtils.java20 import static android.graphics.ImageFormat.JPEG;
209 case JPEG -> jpegImageHasColor(image, color); in imageHasColor()
225 return JPEG; in toFormat()
322 assertThat(image.getFormat()).isEqualTo(JPEG); in jpegImageToBitmap()
DVirtualCameraCaptureTest.java23 import static android.graphics.ImageFormat.JPEG;
255 try (ImageReader imageReader = ImageReader.newInstance(width, height, JPEG, in virtualCamera_renderFromMediaCodec() argument
/cts/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/
DMediaStoreWriteOperation.java62 if (!bitmap.compress(Bitmap.CompressFormat.JPEG, 95, outputStream)) { in createImageFileToMediaStoreReturnUri()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DCameraMuteToggleActivity.java225 if (format == ImageFormat.JPEG) { in onImageAvailable()
295 Size[] jpegSizes = config.getOutputSizes(ImageFormat.JPEG); in setUpCamera()
301 mJpegSize.getWidth(), mJpegSize.getHeight(), ImageFormat.JPEG, 1); in setUpCamera()
DItsUtils.java141 return getOutputSizes(ccs, ImageFormat.JPEG, false); in getJpegOutputSizes()
235 if ((format == ImageFormat.JPEG) || (format == ImageFormat.JPEG_R)) { in getDataFromImage()
339 case ImageFormat.JPEG: in checkAndroidImageFormat()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java328 case ImageFormat.JPEG: in configureTarget()
367 case ImageFormat.JPEG: in configureTarget()
449 } else if (substituteHeic && (format == ImageFormat.JPEG)) { in setupConfigurationTargets()
474 case ImageFormat.JPEG: in setupConfigurationTargets()
1776 if (colorSpace != null && format != ImageFormat.JPEG && format != ImageFormat.JPEG_R in checkImage()
1821 if (format == ImageFormat.JPEG || format == ImageFormat.DEPTH_POINT_CLOUD || in getDataFromImage()
1934 case ImageFormat.JPEG: in checkAndroidImageFormat()
1960 data.compress(Bitmap.CompressFormat.JPEG, /*quality*/90, outStream); in dumpFile()
2208 return getSortedSizesForFormat(cameraId, cameraManager, ImageFormat.JPEG, bound); in getSupportedStillSizes()
2670 case ImageFormat.JPEG: in validateImage()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java545 } else if (format == ImageFormat.JPEG) { in onImageAvailable()
577 } else if (format == ImageFormat.JPEG && mCurrentColorFilter != null && in onImageAvailable()
588 if (format == ImageFormat.JPEG) { in onImageAvailable()
657 Size[] jpegSizes = config.getOutputSizes(ImageFormat.JPEG); in setUpCamera()
706 mJpegSize.getWidth(), mJpegSize.getHeight(), ImageFormat.JPEG, 1); in setUpCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/
DSharesheetTestImageProvider.java99 ? CompressFormat.JPEG in sendBitmap()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainVisualQueryDetectionService.java397 .getOutputSizes(ImageFormat.JPEG)[0]; in openCamera()
429 mImageReader = ImageReader.newInstance(width, height, ImageFormat.JPEG, 2); in initializeImageReader()
/cts/tests/tests/media/common/src/android/media/cts/
DCodecUtils.java239 bitmap.compress(Bitmap.CompressFormat.JPEG, 90, outputStream); in saveBitmapToFile()

12