Searched refs:JPEG (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
H A DImageFormat.java175 * Compressed JPEG format.
181 public static final int JPEG = 0x100; field in class:ImageFormat
772 case JPEG:
H A DPixelFormat.java94 * @deprecated use {@link android.graphics.ImageFormat#JPEG
95 * ImageFormat.JPEG} instead.
98 public static final int JPEG = 0x100; field in class:PixelFormat
230 case JPEG:
231 return "JPEG";
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DImageEncoder.java56 bitmap.compress(CompressFormat.JPEG, mQuality, mOutputStream);
/frameworks/base/core/jni/include/android_runtime/
H A Dandroid_view_Surface.h54 JPEG = 0x100, member in class:android::PublicFormat
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DMediaStoreSaver.java47 source.compress(Bitmap.CompressFormat.JPEG, 50, imageOut);
144 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut);
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DMediaStoreSaver.java47 source.compress(Bitmap.CompressFormat.JPEG, 50, imageOut);
144 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut);
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DMediaStoreSaver.java54 format = Bitmap.CompressFormat.JPEG;
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DMediaStoreSaver.java54 format = Bitmap.CompressFormat.JPEG;
/frameworks/base/media/java/android/media/
H A DImageUtils.java39 * reading YUV, JPEG or raw sensor data (for example, from the camera or video
55 case ImageFormat.JPEG:
193 case ImageFormat.JPEG:
255 case ImageFormat.JPEG:
H A DImageReader.java834 case ImageFormat.JPEG:
850 case ImageFormat.JPEG:
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
H A DCameraTooActivity.java248 Arrays.asList(info.getOutputSizes(ImageFormat.JPEG)),
254 largestSize.getHeight(), ImageFormat.JPEG, /*maxImages*/2);
383 * Callback invoked when we've received a JPEG image from the camera.
416 (mCapture.getFormat() == ImageFormat.JPEG ? "" : "n't") + " a JPEG");
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationMap.java656 * capability. This does not include the stall duration, so for example, a JPEG or RAW16 output
789 * <p>For example, consider JPEG captures which have the following characteristics:
792 * <li>JPEG streams act like processed YUV streams in requests for which they are not included;
793 * in requests in which they are directly referenced, they act as JPEG streams.
794 * This is because supporting a JPEG stream requires the underlying YUV data to always be ready
795 * for use by a JPEG encoder, but the encoder will only be used (and impact frame duration) on
796 * requests that actually reference a JPEG stream.
797 * <li>The JPEG processor can run concurrently to the rest of the camera pipeline, but cannot
802 * (let's say it's 30 FPS). If a single JPEG request is submitted periodically,
803 * the frame rate will stay at 30 FPS (as long as we wait for the previous JPEG t
[all...]
/frameworks/av/media/libstagefright/codecs/common/include/
H A DvoIndex.h124 _MAKE_CODEC_ID (0x410000, JPEG)
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp132 case PublicFormat::JPEG:
149 case PublicFormat::JPEG:
224 return PublicFormat::JPEG;
226 // Assume otherwise-marked blobs are also JPEG
227 return PublicFormat::JPEG;
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/imageprocessing/
H A DImageProcessingWorker.java126 if (!bitmap.compress(Bitmap.CompressFormat.JPEG, 25, os)) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaMetadataRetrieverTest.java93 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
96 Log.e(TAG, "Fails to convert the bitmap to a JPEG file for " + MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]);
151 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
154 throw new Exception("Fails to convert the bitmap to a JPEG file for " + MediaNames.TEST_PATH_1, e);
H A DCameraMetadataTest.java921 YUV_420_888, ImageFormat.NV21, ImageFormat.JPEG,
926 YUV_420_888, ImageFormat.JPEG,
986 0x100, // ImageFormat.JPEG
1140 0x100, 3264, 2448, 33333334, // ImageFormat.JPEG
1141 0x100, 3200, 2400, 33333335, // ImageFormat.JPEG
1142 0x100, 2592, 1944, 33333336, // ImageFormat.JPEG
1143 0x100, 2048, 1536, 33333337, // ImageFormat.JPEG
1144 0x100, 1920, 1080, 33333338 // ImageFormat.JPEG
1168 0x100, 3264, 2448, 33333334, // ImageFormat.JPEG
1169 0x100, 3200, 2400, 33333335, // ImageFormat.JPEG
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskSnapshotPersister.java354 reduced.compress(JPEG, QUALITY, reducedFos);
369 swBitmap.compress(JPEG, QUALITY, fos);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2ReprocessCaptureTest.java104 * Test YUV_420_888 -> JPEG with maximal supported sizes
114 Log.v(TAG, String.format("Reprocessing YUV to JPEG: %d/%d", iteration + 1,
116 // YUV_420_888 -> JPEG must be supported.
117 testBasicReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.JPEG);
125 * Test OPAQUE -> JPEG with maximal supported sizes
135 Log.v(TAG, String.format("Reprocessing OPAQUE to JPEG: %d/%d", iteration + 1,
137 // OPAQUE -> JPEG must be supported.
138 testBasicReprocessing(id, ImageFormat.PRIVATE, ImageFormat.JPEG);
664 * Test JPEG tags for reprocess requests. Reprocess result's JPEG tag
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java243 bitmap.compress(CompressFormat.JPEG, quality, baos);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Capabilities.java61 // TODO: We only support JPEG image capture
63 s.getOutputSizes(ImageFormat.JPEG))));
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/data/
H A DVideoProvider.java136 bitmap.compress(CompressFormat.JPEG, 90, outputStream);
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/data/
H A DVideoProvider.java136 bitmap.compress(CompressFormat.JPEG, 90, outputStream);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java797 * software conveniently. It supports YUV_420_888/NV21/YV12 and JPEG input
804 * <p>For JPEG, it returns a 1-D byte array contains a complete JPEG image.</p>
822 // JPEG doesn't have pixelstride and rowstride, treat it as 1D buffer.
824 if (format == ImageFormat.JPEG || format == ImageFormat.DEPTH_POINT_CLOUD ||
903 case ImageFormat.JPEG:
908 assertEquals("JPEG/RAW/depth Images should have one plane", 1, planes.length);
925 data.compress(Bitmap.CompressFormat.JPEG, /*quality*/90, outStream);
1147 return getSortedSizesForFormat(cameraId, cameraManager, ImageFormat.JPEG, bound);
1312 case ImageFormat.JPEG
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCamera2SurfaceViewTestCase.java270 * Setup still (JPEG) capture configuration and start preview.
287 ImageFormat.JPEG, resultListener, MAX_READER_IMAGES, imageListener);
291 * Setup still (JPEG) capture configuration and start preview.
306 ImageFormat.JPEG, resultListener, maxNumImages, imageListener);

Completed in 197 milliseconds

12