| 1 | #ifndef _DSTJPEG_H_ |
|---|
| 2 | #define _DSTJPEG_H_ |
|---|
| 3 | |
|---|
| 4 | #include "dsthal_photoview.h" |
|---|
| 5 | |
|---|
| 6 | #if defined __cplusplus |
|---|
| 7 | extern "C" { |
|---|
| 8 | #endif |
|---|
| 9 | |
|---|
| 10 | //void DHL_JpegDecoding(JpgFileInfo *file/*char*parm*/); |
|---|
| 11 | int DHL_JpegDecoding(JpgFileInfo *file); |
|---|
| 12 | void DHL_DrawJpegThumbnail(JpgFileInfo *file, DS_U32 xPosition, DS_U32 yPosition); |
|---|
| 13 | int DHL_GetJpegExif(JpgFileInfo *file, DS_U8); |
|---|
| 14 | void DHL_FreeJpegThumbnailImage(ExifInfo *pe); |
|---|
| 15 | void DHL_FreeJpegExif(ExifInfo *pe); |
|---|
| 16 | void DHL_JpegThumbnailRotate(JpgFileInfo *file,EnRotate rotate, DS_U32 xPos, DS_U32 yPos); |
|---|
| 17 | void DHL_JpegRotate(JpgFileInfo *file, EnRotate rotate, DS_U32 width, DS_U32 height); |
|---|
| 18 | void DHL_JpegThumbnailclear(DS_U32 xpos, DS_U32 ypos); |
|---|
| 19 | void DHL_DumpReadJpegBG(DS_U32 xpos, DS_U32 ypos); |
|---|
| 20 | void DHL_DumpWriteJpegBG(DS_U32 xpos, DS_U32 ypos); |
|---|
| 21 | void DHL_ThumbnailStart(void); |
|---|
| 22 | void DHL_JpegAppCallBack(void (*func)(JpegEvent*)); |
|---|
| 23 | void DHL_MoveJpeg(JpgFileInfo *t, Direction dr); |
|---|
| 24 | void DHL_ZoomInOutJpeg(JpgFileInfo *file, DS_U32 width, DS_U32 height, ZoomStatus zoom); |
|---|
| 25 | void DHL_ScreenClear(void); |
|---|
| 26 | void DHL_FreeThumbnailImage(JpgFileInfo *file); |
|---|
| 27 | |
|---|
| 28 | typedef enum |
|---|
| 29 | { |
|---|
| 30 | ExifCode_Make = 0x010f, |
|---|
| 31 | ExifCode_Model = 0x0110, |
|---|
| 32 | ExifCode_StripOffset = 0x0111, |
|---|
| 33 | |
|---|
| 34 | ExifCode_FNumber = 0x829D, |
|---|
| 35 | ExifCode_ExifIFDPointer = 0x8769, |
|---|
| 36 | ExifCode_GPSInfoIFDPointer = 0x8825, |
|---|
| 37 | ExifCode_ISOSpeedRatings = 0x8827, |
|---|
| 38 | ExifCode_ExposureTime = 0x829A, |
|---|
| 39 | ExifCode_DateTime = 0x9003, |
|---|
| 40 | ExifCode_ExposureBiasValue = 0x9204, |
|---|
| 41 | ExifCode_Flash = 0x9209, |
|---|
| 42 | ExifCode_Interoperability = 0xA005, |
|---|
| 43 | ExifCode_ExposureMode = 0xA402 |
|---|
| 44 | } ExifCode; |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | |
|---|
| 48 | #if defined __cplusplus |
|---|
| 49 | } |
|---|
| 50 | #endif |
|---|
| 51 | |
|---|
| 52 | |
|---|
| 53 | #endif |
|---|