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

1 2 3 4 5 6

  /frameworks/opt/bitmap/src/com/android/bitmap/util/
Exif.java 51 int tag = pack(jpeg, offset, 4, false);
52 count = pack(jpeg, offset - 2, 2, littleEndian);
62 has(jpeg, byteSize, offset + length - 1)
71 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false); local
76 if (has(jpeg, byteSize, 1)) {
77 // JPEG image files begin with FF D8. Only JPEG images have EXIF data.
78 final boolean possibleJpegFormat = jpeg.get(0) == (byte) 0xFF
79 && jpeg.get(1) == (byte) 0xD8;
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF)
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/util/
Exif.java 46 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); local
71 if (has(jpeg, byteSize, 1)) {
72 // JPEG image files begin with FF D8. Only JPEG images have EXIF data.
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)
    [all...]
  /frameworks/volley/src/test/java/com/android/volley/toolbox/
ImageRequestTest.java 50 NetworkResponse jpeg = new NetworkResponse(jpegBytes); local
58 verifyResize(jpeg, 512, 250, scalteType, 512, 250); // exactly half
59 verifyResize(jpeg, 511, 249, scalteType, 509, 249); // just under half
60 verifyResize(jpeg, 1080, 500, scalteType, 1024, 500); // larger
61 verifyResize(jpeg, 500, 500, scalteType, 500, 244); // keep same ratio
64 verifyResize(jpeg, 512, 0, scalteType, 512, 250);
65 verifyResize(jpeg, 800, 0, scalteType, 800, 390);
66 verifyResize(jpeg, 1024, 0, scalteType, 1024, 500);
69 verifyResize(jpeg, 0, 250, scalteType, 512, 250);
70 verifyResize(jpeg, 0, 391, scalteType, 800, 391)
    [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);
  /device/huawei/angler/camera/QCamera2/stack/
Android.mk 3 include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk
4 include $(LOCAL_PATH)/mm-jpeg-interface/test/Android.mk
  /device/lge/bullhead/camera/QCamera2/stack/
Android.mk 3 include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk
4 include $(LOCAL_PATH)/mm-jpeg-interface/test/Android.mk
  /device/moto/shamu/camera/QCamera2/stack/
Android.mk 3 include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk
4 include $(LOCAL_PATH)/mm-jpeg-interface/test/Android.mk
  /hardware/qcom/camera/QCamera2/stack/
Android.mk 3 include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk
4 include $(LOCAL_PATH)/mm-jpeg-interface/test/Android.mk
  /device/moto/shamu/camera/QCamera/stack/
Android.mk 3 include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue99/
YamlBase64Test.java 64 byte[] jpeg = (byte[]) bean.get("jpegPhoto");
65 checkBytes(jpeg);
69 private void checkBytes(byte[] jpeg) throws IOException {
71 input = YamlDocument.class.getClassLoader().getResourceAsStream("issues/issue99.jpeg");
74 while (i < jpeg.length) {
76 if (jpeg[i] < 0) {
77 assertEquals(etalon, jpeg[i] + 256);
79 assertEquals(etalon, jpeg[i]);
116 byte[] jpeg = (byte[]) bean.get("jpegPhoto");
117 checkBytes(jpeg);
    [all...]
  /device/moto/shamu/camera/QCamera/stack/mm-camera-interface/
Android.mk 37 # (BEGIN) Need to remove later once dependency on jpeg removed
40 $(TARGET_OUT_HEADERS)/mm-still/jpeg \
43 # (END) Need to remove later once dependency on jpeg removed
55 # (BEGIN) Need to remove later once dependency on jpeg removed
57 # (END) Need to remove later once dependency on jpeg removed
  /device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/
Android.mk 18 $(TARGET_OUT_HEADERS)/mm-still/jpeg \
32 LOCAL_SHARED_LIBRARIES := libdl libcutils liblog libmmstillomx libimage-jpeg-enc-omx-comp
  /packages/apps/Camera2/jni/
Android.mk 27 LOCAL_C_INCLUDES += external/jpeg
  /packages/apps/Gallery2/jni_jpegstream/
Android.mk 3 # Jpeg Streaming native
13 external/jpeg
  /prebuilts/go/darwin-x86/src/image/
decode_test.go 16 _ "image/jpeg"
33 // JPEG is a lossy format and hence needs a non-zero tolerance.
34 {"testdata/video-001.png", "testdata/video-001.jpeg", 8 << 8},
35 {"testdata/video-001.png", "testdata/video-001.progressive.jpeg", 8 << 8},
36 {"testdata/video-001.221212.png", "testdata/video-001.221212.jpeg", 8 << 8},
37 {"testdata/video-001.cmyk.png", "testdata/video-001.cmyk.jpeg", 8 << 8},
38 {"testdata/video-001.rgb.png", "testdata/video-001.rgb.jpeg", 8 << 8},
40 {"testdata/video-005.gray.png", "testdata/video-005.gray.jpeg", 8 << 8},
  /prebuilts/go/linux-x86/src/image/
decode_test.go 16 _ "image/jpeg"
33 // JPEG is a lossy format and hence needs a non-zero tolerance.
34 {"testdata/video-001.png", "testdata/video-001.jpeg", 8 << 8},
35 {"testdata/video-001.png", "testdata/video-001.progressive.jpeg", 8 << 8},
36 {"testdata/video-001.221212.png", "testdata/video-001.221212.jpeg", 8 << 8},
37 {"testdata/video-001.cmyk.png", "testdata/video-001.cmyk.jpeg", 8 << 8},
38 {"testdata/video-001.rgb.png", "testdata/video-001.rgb.jpeg", 8 << 8},
40 {"testdata/video-005.gray.png", "testdata/video-005.gray.jpeg", 8 << 8},
  /device/moto/shamu/camera/QCamera/stack/mm-camera-test/
Android.mk 35 $(TARGET_OUT_INTERMEDIATES)/include/mm-still/jpeg \
38 $(LOCAL_PATH)/../mm-jpeg-interface/inc \
  /build/target/product/
emulator.mk 41 camera.goldfish.jpeg \
43 camera.ranchu.jpeg \
  /external/libvncserver/
Android.mk 10 external/jpeg
  /packages/apps/Camera2/src/com/android/camera/
Storage.java 77 * Save the image with default JPEG MIME type and add it to the MediaStore.
85 * @param jpeg The JPEG data.
92 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width,
95 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height,
254 * Take jpeg bytes and add them to the media store, either replacing an existing item
263 * @param jpeg bytes of the image
271 byte[] jpeg, int width, int height, String mimeType) throws IOException {
273 writeFile(path, jpeg, exif);
274 return updateImage(imageUri, resolver, title, date, location, orientation, jpeg.length, path
    [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...]
  /device/generic/goldfish/camera/
Android.mk 37 emulator_camera_c_includes := external/jpeg \
101 # JPEG stub#####################################################################
122 # JPEG stub - goldfish build####################################################
132 LOCAL_MODULE := camera.goldfish.jpeg
136 # JPEG stub - ranchu build######################################################
140 LOCAL_MODULE := camera.ranchu.jpeg
  /device/moto/shamu/camera/QCamera/HAL/core/
Android.mk 93 $(LOCAL_PATH)/../../stack/mm-jpeg-interface/inc \
96 # $(TARGET_OUT_INTERMEDIATES)/include/mm-jpeg-interface\
101 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/mm-still/jpeg
  /device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Android.mk 34 LOCAL_MODULE := mm-jpeg-interface-test

Completed in 506 milliseconds

1 2 3 4 5 6