OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 const EXIF_MARK_SOI = 0xffd8; // Start of image data. | 5 const EXIF_MARK_SOI = 0xffd8; // Start of image data. |
6 const EXIF_MARK_SOS = 0xffda; // Start of "stream" (the actual image data). | 6 const EXIF_MARK_SOS = 0xffda; // Start of "stream" (the actual image data). |
7 const EXIF_MARK_SOF = 0xffc0; // Start of "frame" | 7 const EXIF_MARK_SOF = 0xffc0; // Start of "frame" |
8 const EXIF_MARK_EXIF = 0xffe1; // Start of exif block. | 8 const EXIF_MARK_EXIF = 0xffe1; // Start of exif block. |
9 | 9 |
10 const EXIF_ALIGN_LITTLE = 0x4949; // Indicates little endian exif data. | 10 const EXIF_ALIGN_LITTLE = 0x4949; // Indicates little endian exif data. |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 return { | 356 return { |
357 scaleX: ExifParser.SCALEX[index], | 357 scaleX: ExifParser.SCALEX[index], |
358 scaleY: ExifParser.SCALEY[index], | 358 scaleY: ExifParser.SCALEY[index], |
359 rotate90: ExifParser.ROTATE90[index] | 359 rotate90: ExifParser.ROTATE90[index] |
360 } | 360 } |
361 } | 361 } |
362 return null; | 362 return null; |
363 }; | 363 }; |
364 | 364 |
365 MetadataDispatcher.registerParserClass(ExifParser); | 365 MetadataDispatcher.registerParserClass(ExifParser); |
OLD | NEW |