Home | History | Annotate | Download | only in camera

Lines Matching refs:jpeg

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);
83 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2;
92 count = pack(jpeg, offset - 2, 2, littleEndian);
95 tag = pack(jpeg, offset, 2, littleEndian);
98 int orientation = pack(jpeg, offset + 8, 2, littleEndian);