1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=utf-8"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.1.0 for Windows"> 8<title>TMCCJPEGDecGetInfoEXIF</title> 9<LINK rel="stylesheet" href="../../CSS/revolution.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">TMCCJPEGDecGetExif</h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <revolution/tmcc_jpeg.h></CODE><BR> <BR> 20 <PRE><CODE>s32 TMCCJPEGDecGetExif( 21 void *pWorkArea, 22 void *pJpegStream, 23 u32 jpegStreamSize, 24 <A href="TMCCJPEGExifInfo.html">TMCCJPEGExifInfo</A> *exifInfo 25); 26</CODE></PRE></dd> 27</dl> 28 29<h2>Arguments</h2> 30<TABLE border="1" width="100%"> 31 <TBODY> 32 <TR> 33<TD width="13%"><SPAN class="argument">*pWorkArea</SPAN></TD> 34<TD width="87%">Configure the starting address of the work area. 35 36</TD> 37 </TR> 38 <TR> 39<TD width="13%"><SPAN class="argument">*pJpegStream</SPAN></TD> 40<TD width="87%">Configure the starting address of the input JPEG data.<BR>(The starting address for the JPEG data should be 32-byte aligned. A <CODE>TMCC_JPEG_OPT_ERR</CODE> error code is returned if not 32-byte aligned.) 41 42 43</TD> 44 </TR> 45 <TR> 46<TD width="13%"><SPAN class="argument">jpegStreamSize</SPAN></TD> 47<TD width="87%">Specify the size of the input JPEG data. 48 49 50</TD> 51 </TR> 52 53 <TR> 54<TD width="13%"><SPAN class="argument">*exifInfo</SPAN></TD> 55<TD width="87%">Stores Exif information.<br>(See the <A href="TMCCJPEGExifInfo.html">TMCCJPEGExifInfo</A> structure.) 56</TD> 57 </TR> 58 59 60 </TBODY> 61</TABLE> 62 63 64<h2>Return Values</h2> 65<TABLE border="1"> 66 <TBODY> 67 <TR> 68 <TD width="30%"><CODE>0</CODE></TD> 69<TD width="70%">Function completed successfully.</TD> 70 </TR> 71 <TR> 72<TD width="30%"><CODE>Negative</CODE></TD> 73<TD width="70%">Abnormal exit (error code).</TD> 74 </TR> 75 </TBODY> 76</TABLE> 77 78<H2>Description</H2> 79<P>Gets the Exif information within the JPEG input data. Returns <CODE>TMCC_JPEG_NG</CODE> if Exif information does not exist in the data.<BR><BR>The following values of <A href="TMCCJPEGExifIFD0Info.html"><CODE>TMCCJPEGExifIFD0Info</CODE></A> are not accepted, and 0 is always stored.<BR>- Image Title (<CODE>ImageDescription</CODE>)<BR>- Manufacturer Name (<CODE>Make</CODE>) of the Image Input Device<BR>- Model Name (<CODE>Model</CODE>) of the Image Input Device<BR> 80</P> 81 82<h2>See Also</h2> 83<p><A href="TMCCJPEGExifInfo.html"><CODE>TMCCJPEGExifInfo</CODE></A><BR><A href="errorcode.html">Error Codes</A></p> 84<H2>Revision History</H2> 85<P> 862009/10/19 Made changes to the description of the <CODE>include</CODE> file in line with integration into the Revolution SDK.<BR> 2007/02/02 Initial version.</P> 87<hr><p>CONFIDENTIAL</p></body> 88</html> 89