⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exiffunc.h

📁 台湾凌阳方案300万数码相机源代码
💻 H
字号:
/*++

Copyright (c) 2001 Sunplus Technology Co., Ltd.

Module Name:

        exiffunc.h

Abstract:

        Header file related to exif header

Environment:

        Keil C51 Compiler

Revision History:

        02/22/2002      Leeada    created                 

--*/

//------------------------------------------------------------------------------
//Type and Constant Definition
//------------------------------------------------------------------------------
void EXIFHDR_Initialize_AllExifHeader(void);    
void EXIFHDR_Initialize_ExifHeader0(PULONG pDramHdrAddr);    
void EXIFHDR_Initialize_ExifHeader1(PULONG pDramHdrAddr);    
void EXIFHDR_Initialize_ExifHeader2(PULONG pDramHdrAddr);    
void EXIFHDR_Initialize_ExifHeader3(PULONG pDramHdrAddr);    
void EXIFHDR_ThumbOdd_COM(struct Exif_Header1 *hdr1);  
void EXIFHDR_ThumbEven_COM(struct Exif_Header2 *hdr2); 
void EXIFHDR_Fill_Text(PUCHAR srctable,PUCHAR desttable,ULONG i);
void EXIFHDR_DQT(UCHAR qindex,struct HDR3 *table);
void EXIFHDR_DHT(struct HDR4 *table);
void EXIFHDR_SOF(struct HDR2 *softable,USHORT width,USHORT height);    
void EXIFHDR_SOS(struct HDR5 *sostable);

//patch3.2@ada@0401 For EXIF
UCHAR EXIFHDR_Parsing_ExifFile(ULONG DramAddr,BIT ShowThumb,UCHAR *DateTime,struct Exif_Decompress_Parameter *ImagePara,struct Exif_Decompress_Parameter *ThumbPara);
UCHAR EXIFHDR_Parsing_SOI(void);
UCHAR EXIFHDR_Parsing_APP0(ULONG DramAddr,BIT ShowThumb);
UCHAR EXIFHDR_Parsing_APP0_Sub(ULONG DramAddr,BIT ShowThumb,USHORT EvenOddOffset);
UCHAR EXIFHDR_Parsing_APP1(ULONG DramAddr,BIT ShowThumb,UCHAR *DateTime);
UCHAR EXIFHDR_Parsing_APP1_Sub1(ULONG DramAddr,BIT ShowThumb,UCHAR *DateTime,UCHAR EvenOddOffset);
UCHAR EXIFHDR_Parsing_APP1_Sub2(ULONG DramAddr,UCHAR *DateTime,USHORT EvenOddOffset);
UCHAR EXIFHDR_Parsing_APP1_Sub3(ULONG DramAddr,USHORT EvenOddOffset);
UCHAR EXIFHDR_Parsing_APP1_Sub4(USHORT EvenOddOffset,UCHAR *search);
UCHAR EXIFHDR_Parsing_APPn(void);

//version4.0@ada@0513 for EXIF
UCHAR EXIFHDR_Parsing_DQT(void);
//UCHAR EXIFHDR_Parsing_DQT(BIT ShowThumb);

UCHAR EXIFHDR_Parsing_DQT_Sub1(USHORT EvenOddOffset);

//version4.0@ada@0513 for EXIF
//UCHAR EXIFHDR_Parsing_DQT_Sub2(USHORT EvenOddOffset);

UCHAR EXIFHDR_Parsing_DHT(void);
UCHAR EXIFHDR_Parsing_DHT_Sub(USHORT EvenOddOffset);
UCHAR EXIFHDR_Parsing_SOF(struct Exif_Decompress_Parameter *ThumbPara,struct Exif_Decompress_Parameter *ImagePara);
UCHAR EXIFHDR_Parsing_SOF_Sub(struct Exif_Decompress_Parameter *ThumbPara,struct Exif_Decompress_Parameter *ImagePara,USHORT EvenOddOffset);
UCHAR EXIFHDR_Parsing_DRI(void);

//patch4.5@ada@Fix EXIF bug begin
UCHAR EXIFHDR_Parsing_SOS(ULONG DramAddr,BIT ShowThumb,struct Exif_Decompress_Parameter *ThumbPara,struct Exif_Decompress_Parameter *ImagePara);
//UCHAR EXIFHDR_Parsing_SOS(ULONG DramAddr,struct Exif_Decompress_Parameter *ThumbPara,struct Exif_Decompress_Parameter *ImagePara);
UCHAR EXIFHDR_Parsing_SOS_Sub(ULONG DramAddr,BIT ShowThumb,struct Exif_Decompress_Parameter *ThumbPara,struct Exif_Decompress_Parameter *ImagePara,USHORT EvenOddOffset);
//UCHAR EXIFHDR_Parsing_SOS_Sub(ULONG DramAddr,struct Exif_Decompress_Parameter *ThumbPara,struct Exif_Decompress_Parameter *ImagePara,USHORT EvenOddOffset);
//patch4.5@ada@Fix EXIF bug end

UCHAR EXIFHDR_Parsing_EOI(ULONG DramAddr,BIT ShowThumb);
UCHAR EXIFHDR_Parsing_COM(void);

void EXIFHDR_Load_ExifHeader0_SRAM2DRAM(struct HDR0 *hdr0,PULONG pDramHdrAddr);  
void EXIFHDR_Load_ExifHeader1_SRAM2DRAM(struct HDR6 *hdr1,PULONG pDramHdrAddr);  
void EXIFHDR_Load_ExifHeader2_SRAM2DRAM(struct HDR2 *hdr2,PULONG pDramHdrAddr);  
void EXIFHDR_Load_ExifHeader3_SRAM2DRAM(struct HDR3 *hdr3,PULONG pDramHdrAddr);  
USHORT EXIFHDR_ByteSwapOfUSHORT(USHORT x);
ULONG EXIFHDR_ByteSwapOfULONG(ULONG x);

ULONG EXIFHDR_LoadExifHeader(ULONG vlcStart,PULONG pDramImgStart,PULONG pTmbsize); 
void EXIFHDR_Load_ExifHeader0(PULONG pSrcDramHdrAddr,PULONG pDestDramHdrAddr,PULONG pTmbsize);    
void EXIFHDR_Load_ExifHeader1(PULONG pSrcDramHdrAddr,PULONG pDestDramHdrAddr,PULONG pTmbsize);    
void EXIFHDR_Load_ExifHeader2(PULONG pSrcDramHdrAddr,PULONG pDestDramHdrAddr,PULONG pTmbsize);    
void EXIFHDR_Load_ExifHeader3(PULONG pSrcDramHdrAddr,PULONG pDestDramHdrAddr);     
void EXIFHDR_Modify_SRAM_ExifHeader0(struct Exif_Header0 *Hdr0,PULONG pTmbsize);   
void EXIFHDR_Modify_SRAM_ExifHeader3(struct Exif_Header3 *Hdr3);    
void EXIFHDR_Modify_Exif_APP1(struct Exif_Header0 *Hdr0,PULONG pTmbsize);     
void EXIFHDR_Modify_DQT(struct HDR3 *hdr);  
void EXIFHDR_Modify_SOF(struct HDR2 *hdr,USHORT width,USHORT height);    
void EXIFHDR_Copy_Exif_Header0(struct Exif_Header0 *Hdr0,PULONG pDestDramHdrAddr); 
void EXIFHDR_Copy_Exif_Header1(struct Exif_Header1 *Hdr1,PULONG pDestDramHdrAddr,PULONG pTmbSize);     
void EXIFHDR_Copy_Exif_Header2(struct Exif_Header2 *Hdr2,PULONG pDestDramHdrAddr,PULONG pTmbSize);    
void EXIFHDR_Copy_Exif_Header3(struct Exif_Header3 *Hdr3,PULONG pDestDramHdrAddr); 
USHORT EXIFHDR_NeedSwitchUSHORTOrder(USHORT byteorder,USHORT value);
ULONG EXIFHDR_NeedSwitchULONGOrder(USHORT byteorder,ULONG value);


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -