Searched defs:jpeg (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DBurstCapture.cpp94 sp<JpegCompressor> jpeg = new JpegCompressor(); local
95 jpeg->start(buffers, 1);
97 bool success = jpeg->waitForDone(10 * 1e9);
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java46 int tag = pack(jpeg, offset, 4, false);
47 count = pack(jpeg, offset - 2, 2, littleEndian);
57 has(jpeg, byteSize, offset + length - 1)
66 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false);
71 if (has(jpeg, byteSize, 1)) {
73 final boolean possibleJpegFormat = jpeg.get(0) == (byte) 0xFF
74 && jpeg.get(1) == (byte) 0xD8;
81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
82 final int marker = jpeg
198 has(final InputStreamBuffer jpeg, final long byteSize, final int index) argument
208 getOrientation(final byte[] jpeg) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java1184 * Equivalent to takePicture(shutter, raw, null, jpeg).
1189 PictureCallback jpeg) {
1190 takePicture(shutter, raw, null, jpeg);
1203 * image is available (NOTE: not all hardware supports this). The jpeg
1221 * @param jpeg the callback for JPEG image data, or null
1224 PictureCallback postview, PictureCallback jpeg) {
1228 mJpegCallback = jpeg;
1832 private static final String KEY_JPEG_THUMBNAIL_SIZE = "jpeg-thumbnail-size";
1833 private static final String KEY_JPEG_THUMBNAIL_WIDTH = "jpeg-thumbnail-width";
1834 private static final String KEY_JPEG_THUMBNAIL_HEIGHT = "jpeg
1188 takePicture(ShutterCallback shutter, PictureCallback raw, PictureCallback jpeg) argument
1223 takePicture(ShutterCallback shutter, PictureCallback raw, PictureCallback postview, PictureCallback jpeg) argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java49 * This class provides methods and constants for reading and writing jpeg file
54 * to a valid jpeg image as exif metadata.
721 * @param jpeg a byte array containing a jpeg compressed image.
724 public void readExif(byte[] jpeg) throws IOException { argument
725 readExif(new ByteArrayInputStream(jpeg));
732 * @param inStream an InputStream containing a jpeg compressed image.
752 * @param inFileName a string representing the filepath to jpeg file.
790 * Writes the tags from this ExifInterface object into a jpeg image,
793 * @param jpeg
798 writeExif(byte[] jpeg, OutputStream exifOutStream) argument
853 writeExif(byte[] jpeg, String exifOutFileName) argument
[all...]

Completed in 129 milliseconds