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

12

/packages/apps/Camera2/src/com/android/camera/settings/
H A DResolutionSetting.java82 .getSupportedPictureSizes(ImageFormat.JPEG);
153 cameraCharacteristics.getSupportedPictureSizes(ImageFormat.JPEG),
/packages/apps/Camera2/src_pd/com/android/camera/one/v2/
H A DOneCameraCreator.java85 cameraFactory = new SimpleOneCameraFactory(ImageFormat.JPEG,
90 ImageFormat.JPEG);
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DImageRecord.java80 bitmap.compress(Bitmap.CompressFormat.JPEG, 100, out);
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
H A DAndroidImageReaderProxy.java53 case ImageFormat.JPEG:
54 return "JPEG";
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DTaskChainedCompressImageToJpeg.java30 * Implements the conversion of a YUV_420_888 image to compressed JPEG byte
32 * layout, and the second to convert the image into JPEG, using the built-in
58 img.proxy.getHeight(), ImageFormat.JPEG , safeCrop);
H A DTaskCompressImageToJpeg.java50 * Implements the conversion of a YUV_420_888 image to compressed JPEG byte
52 * image is already JPEG, then it passes it through properly with the assumption
53 * that the JPEG is already encoded in the proper orientation.
58 * Loss-less JPEG compression is usually about a factor of 5,
113 // For JPEG, it is the capture devices responsibility to get proper
124 case ImageFormat.JPEG:
126 // In the cases, we will request a zero-oriented JPEG from
127 // the HAL; the HAL may deliver its orientation in the JPEG
147 // For JPEG, always use the EXIF orientation as ground
178 // final JPEG artifac
[all...]
H A DTaskJpegEncode.java37 * TaskJpegEncode are the base class of tasks that wish to do JPEG
72 * suitable for JPEG compression by the method convertNv21toJpeg. This
91 * suitable for JPEG compression by the method convertNv21toJpeg. Creates a
154 * valid NV21 image and get back a compressed JPEG buffer. A good default
155 * JPEG compression implementation that should be supported on all
161 * @return byte array of compressed JPEG image
181 * Implement cropping through the decompression and re-compression of the JPEG using
186 * @param recompressionQuality Recompression quality value for cropped JPEG Image
187 * @return JPEG compressed byte array representing the cropped image
198 croppedResult.compress(Bitmap.CompressFormat.JPEG, recompressionQualit
[all...]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
H A DBitmapUtilTests.java106 return createRawData(Bitmap.CompressFormat.JPEG, sourceWidth, sourceHeight);
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaThumbRequest.java137 * created, MINI_KIND thumbnail is stored in JPEG file and MICRO_KIND
193 bitmap.compress(Bitmap.CompressFormat.JPEG, 85, thumbOut);
205 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, miniOutStream);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBitmapUtils.java243 bitmap.compress(CompressFormat.JPEG, quality, baos);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DSavedWallpaperImages.java167 thumbnail.compress(Bitmap.CompressFormat.JPEG, 95, thumbFileStream);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPhotoProcessor.java44 * full-screen, so we want to make sure we don't introduce JPEG artifacts here
250 * Helper method to compress the given bitmap as a JPEG and return the resulting byte array.
254 final boolean compressed = b.compress(Bitmap.CompressFormat.JPEG, quality, baos);
/packages/apps/Camera2/src/com/android/camera/data/
H A DGlideFilmstripManager.java102 BitmapEncoder bitmapEncoder = new BitmapEncoder(Bitmap.CompressFormat.JPEG,
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
H A DExportDialog.java177 bitmap.compress(Bitmap.CompressFormat.JPEG, mQuality, out);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DThumbnail.java113 mBitmap.compress(Bitmap.CompressFormat.JPEG, 90, d);
/packages/apps/Camera2/src/com/android/camera/one/v2/
H A DOneCameraImpl.java130 /** Default JPEG encoding quality. */
134 * Set to ImageFormat.JPEG, to use the hardware encoder, or
139 ImageFormat.RAW_SENSOR : ImageFormat.JPEG;
327 // typically differs from the larges JPEG or YUV size.
387 // JPEG capture.
397 } else if (sCaptureImageFormat == ImageFormat.JPEG) {
762 // Experimental support for writing RAW. We do not have a usable JPEG
816 * reader is JPEG, we extract and return it as is. If the image is YUV, we
817 * convert it to JPEG and return the result.
820 * @return A valid JPEG imag
[all...]
H A DOneCameraZslImpl.java96 /** Default JPEG encoding quality. */
127 * Set to ImageFormat.JPEG to use the hardware encoder, or
821 if (sCaptureImageFormat == ImageFormat.JPEG) {
1004 * Given an image reader, extracts the JPEG image bytes and then closes the
1011 * @return The bytes of the JPEG image. Newly allocated.
1016 if (img.getFormat() == ImageFormat.JPEG) {
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifInterface.java407 public static final short JPEG = 6; field in interface:ExifInterface.Compression
821 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s);
883 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s);
1811 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
H A DTinyPlanetFragment.java357 // for the JPEG bytes.
362 resultBitmap.compress(CompressFormat.JPEG, 100, jpeg);
370 * @param jpeg the JPEG data of the tiny planet.
371 * @return The JPEG data containing basic EXIF.
/packages/apps/Gallery/src/com/android/camera/
H A DImageManager.java213 source.compress(CompressFormat.JPEG, 75, outputStream);
H A DCropImage.java64 Bitmap.CompressFormat.JPEG; // only used with mSaveUri
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifInterface.java404 public static final short JPEG = 6; field in interface:ExifInterface.Compression
821 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s);
888 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s);
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
H A DBitmapCropTask.java372 if (crop.compress(CompressFormat.JPEG, DEFAULT_COMPRESS_QUALITY, tmpOut)) {
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
H A DExifInterface.java404 public static final short JPEG = 6; field in interface:ExifInterface.Compression
821 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s);
888 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s);
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifInterface.java404 public static final short JPEG = 6; field in interface:ExifInterface.Compression
821 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s);
888 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s);
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {

Completed in 338 milliseconds

12