HomeSort by relevance Sort by last modified time
    Searched refs:jpeg (Results 1 - 25 of 58) sorted by null

1 2 3

  /frameworks/opt/photoviewer/src/com/android/ex/photo/util/
Exif.java 25 public static int getOrientation(byte[] jpeg) {
26 if (jpeg == null) {
34 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) {
35 int marker = jpeg[offset] & 0xFF;
53 length = pack(jpeg, offset, 2, false);
54 if (length < 2 || offset + length > jpeg.length) {
61 pack(jpeg, offset + 2, 4, false) == 0x45786966 &&
62 pack(jpeg, offset + 6, 2, false) == 0) {
76 int tag = pack(jpeg, offset, 4, false)
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
Exif.java 24 public static int getOrientation(byte[] jpeg) {
25 if (jpeg == null) {
33 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) {
34 int marker = jpeg[offset] & 0xFF;
52 length = pack(jpeg, offset, 2, false);
53 if (length < 2 || offset + length > jpeg.length) {
60 pack(jpeg, offset + 2, 4, false) == 0x45786966 &&
61 pack(jpeg, offset + 6, 2, false) == 0) {
75 int tag = pack(jpeg, offset, 4, false)
    [all...]
Storage.java 53 Location location, int orientation, byte[] jpeg, int width, int height) {
59 out.write(jpeg);
75 values.put(ImageColumns.MIME_TYPE, "image/jpeg");
78 values.put(ImageColumns.SIZE, jpeg.length);
Thumbnail.java 113 mBitmap.compress(Bitmap.CompressFormat.JPEG, 90, d);
201 String selection = ImageColumns.MIME_TYPE + "='image/jpeg' AND " +
247 public static Thumbnail createThumbnail(byte[] jpeg, int orientation, int inSampleSize,
252 Bitmap bitmap = BitmapFactory.decodeByteArray(jpeg, 0, jpeg.length, options);
  /frameworks/volley/tests/src/com/android/volley/toolbox/
ImageRequestTest.java 39 NetworkResponse jpeg = new NetworkResponse(jpegBytes); local
42 verifyResize(jpeg, 512, 250, 512, 250); // exactly half
43 verifyResize(jpeg, 511, 249, 509, 249); // just under half
44 verifyResize(jpeg, 1080, 500, 1024, 500); // larger
45 verifyResize(jpeg, 500, 500, 500, 244); // keep same ratio
48 verifyResize(jpeg, 512, 0, 512, 250);
49 verifyResize(jpeg, 800, 0, 800, 390);
50 verifyResize(jpeg, 1024, 0, 1024, 500);
53 verifyResize(jpeg, 0, 250, 512, 250);
54 verifyResize(jpeg, 0, 391, 800, 391)
    [all...]
  /device/lge/mako/camera/QCamera/stack/
Android.mk 4 #include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk
  /packages/apps/Camera/src/com/android/camera/
Exif.java 33 public static int getOrientation(byte[] jpeg) {
34 if (jpeg == null) return 0;
36 InputStream is = new ByteArrayInputStream(jpeg);
Storage.java 80 long date, Location location, int orientation, byte[] jpeg,
84 writeFile(path, jpeg);
86 jpeg.length, path, width, height);
98 values.put(ImageColumns.MIME_TYPE, "image/jpeg");
PanoramaModule.java 599 MosaicJpeg jpeg = generateFinalMosaic(false);
601 if (jpeg != null && jpeg.isValid) {
603 bitmap = BitmapFactory.decodeByteArray(jpeg.data, 0, jpeg.data.length);
    [all...]
CameraManager.java 385 final PictureCallback postview, final PictureCallback jpeg) {
391 mCamera.takePicture(shutter, raw, postview, jpeg);
399 final PictureCallback postview, final PictureCallback jpeg,
407 mCamera.takePicture(shutter, raw, postview, jpeg);
  /frameworks/av/services/camera/libcameraservice/camera2/
BurstCapture.cpp 94 sp<JpegCompressor> jpeg = new JpegCompressor(); local
95 jpeg->start(buffers, 1);
97 bool success = jpeg->waitForDone(10 * 1e9);
102 ALOGE("%s: JPEG encode timed out", __FUNCTION__);
  /device/generic/goldfish/camera/
Android.mk 31 # JPEG conversion libraries and includes.
36 LOCAL_C_INCLUDES += external/jpeg \
87 LOCAL_C_INCLUDES += external/jpeg \
94 LOCAL_MODULE := camera.goldfish.jpeg
  /build/target/product/
emulator.mk 53 camera.goldfish.jpeg \
  /frameworks/av/services/camera/libcameraservice/
Android.mk 52 external/jpeg
  /packages/apps/Gallery2/src/com/android/camera/
Storage.java 82 byte[] jpeg, int width, int height) {
87 exif.writeExif(jpeg, path);
92 writeFile(path, jpeg);
95 jpeg.length, path, width, height);
107 values.put(ImageColumns.MIME_TYPE, "image/jpeg");
CameraManager.java 379 final PictureCallback postview, final PictureCallback jpeg) {
384 mCamera.takePicture(shutter, raw, postview, jpeg);
390 final PictureCallback postview, final PictureCallback jpeg,
397 mCamera.takePicture(shutter, raw, postview, jpeg);
PanoramaModule.java 598 MosaicJpeg jpeg = generateFinalMosaic(false);
600 if (jpeg != null && jpeg.isValid) {
602 bitmap = BitmapFactory.decodeByteArray(jpeg.data, 0, jpeg.data.length);
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoramaActivity.java 623 MosaicJpeg jpeg = generateFinalMosaic(false);
625 if (jpeg != null && jpeg.isValid) {
627 bitmap = BitmapFactory.decodeByteArray(jpeg.data, 0, jpeg.data.length);
    [all...]
  /external/eigen/bench/btl/data/
mk_gnuplot_script.sh 46 echo set term jpeg large >> $WHAT.gnuplot
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/
MultiTouchView.java 167 * Draws a JPEG bitmap on the screen.
173 * @param jpeg JPEG bitmap to draw.
175 public void drawJpeg(int x, int y, int w, int h, InputStream jpeg) {
177 final Bitmap bmp = BitmapFactory.decodeStream(jpeg);
  /frameworks/av/cmds/stagefright/
Android.mk 7 jpeg.cpp \
18 external/jpeg \
  /hardware/samsung_slsi/exynos5/libcamera2/
MetadataConverter.cpp 185 dst->ctl.jpeg.quality= curr_entry.data.i32[0];
192 dst->ctl.jpeg.thumbnailSize[i] = curr_entry.data.i32[i];
198 dst->ctl.jpeg.thumbnailQuality= curr_entry.data.i32[0];
205 dst->ctl.jpeg.gpsCoordinates[i] = curr_entry.data.d[i];
222 dst->ctl.jpeg.gpsTimestamp = curr_entry.data.i64[0];
228 dst->ctl.jpeg.orientation = curr_entry.data.i32[0];
646 &metadata->ctl.jpeg.orientation, 1))
650 &metadata->ctl.jpeg.quality, 1))
654 &metadata->ctl.jpeg.thumbnailSize, 2))
658 &metadata->ctl.jpeg.thumbnailQuality, 1)
    [all...]
  /external/webkit/Tools/wx/
install-unix-extras 147 cd $DL_DIR/jpeg-$LIBJPEG_VERSION
149 # jpeg install command expects this to exist.
167 rm -rf $DL_DIR/jpeg-$LIBJPEG_VERSION
  /hardware/ti/omap4xxx/camera/
Encoder_libjpeg.cpp 20 * This file encodes a YUV422I buffer to a jpeg
264 void ExifElementsTable::insertExifToJpeg(unsigned char* jpeg, size_t jpeg_size) {
268 if (ReadJpegSectionsFromBuffer(jpeg, jpeg_size, read_mode)) {
285 void ExifElementsTable::saveJpeg(unsigned char* jpeg, size_t jpeg_size) {
287 WriteJpegToBuffer(jpeg, jpeg_size);
  /cts/tools/signature-tools/
sig-check 99 javax.imageio.plugins.jpeg \

Completed in 1265 milliseconds

1 2 3