1.Linux下exif

This commit is contained in:
payton 2023-08-25 15:28:44 +08:00
parent 50703a87f9
commit 90deb6df09

View File

@ -49,6 +49,7 @@ typedef struct {
UINT32 MakerNoteCheckID; UINT32 MakerNoteCheckID;
UINT16 TestData1; UINT16 TestData1;
UINT16 TestData2; UINT16 TestData2;
char ExifBuf[SF_EXIF_MN_BUF_SIZE];
//Please reserve two word space to let capture flow save the screennail info. //Please reserve two word space to let capture flow save the screennail info.
UINT32 ScreennailOffset; UINT32 ScreennailOffset;
UINT32 ScreennailSize; UINT32 ScreennailSize;
@ -67,6 +68,7 @@ ER ExifCB(EXIF_EVENT event, PMEM_RANGE pBuffer, UINT32 uiRetParamNum, UINT32 *pP
MakerNoteSample.TestData1 = (UINT16)QUALITY_FINE; MakerNoteSample.TestData1 = (UINT16)QUALITY_FINE;
#endif #endif
MakerNoteSample.TestData2 = 0xA5A5; MakerNoteSample.TestData2 = 0xA5A5;
//PhotoStamp_get_isp_status(0,&MakerNoteSample.ExifBuf[0],SF_EXIF_MN_BUF_SIZE);
memcpy((void *)pBuffer->addr, (void *) &MakerNoteSample, sizeof(MakerNoteSample)); memcpy((void *)pBuffer->addr, (void *) &MakerNoteSample, sizeof(MakerNoteSample));
pBuffer->size = sizeof(MakerNoteSample); pBuffer->size = sizeof(MakerNoteSample);
} else if (PARSE_MAKERNOTE == event) { } else if (PARSE_MAKERNOTE == event) {