1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
5<meta http-equiv="Content-Style-Type" content="text/css" />
6<title>SSP_SetJpegEncoderMakerNote</title>
7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" />
8</head>
9<body>
10
11<h1>SSP_SetJpegEncoderMakerNote <img src="../../image/NTR.gif" align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13
14<pre><code>
15static inline void SSP_SetJpegEncoderMakerNote(u8 *buffer, u16 size);
16</code></pre>
17
18<h2>Arguments</h2>
19<table style="width:100%">
20<tbody>
21<tr>
22<td style="width:13%"><SPAN class="argument">buffer</SPAN></td>
23<td style="width:87%">Data for the DSi camera to be embedded in the image at time of encoding.</td>
24</tr>
25<tr>
26<td style="width:13%"><SPAN class="argument">size</SPAN></td>
27<td style="width:87%">Size of data for the DSi camera to be embedded in the image at time of encoding.</td>
28</tr>
29</tbody>
30</table>
31
32
33<h2>Return Values</h2>
34<p>None.</p>
35
36<h2>Description</h2>
37<p>Registers data for the DSi camera to be embedded in the maker note section of the JPEG file.<BR>This function operates the same as calling <a href="SSP_SetJpegEncoderMakerNoteEx.html"><CODE>SSP_SetJpegEncoderMakerNoteEx</CODE></a> with the <CODE>SSP_MAKERNOTE_PHOTO</CODE> tag. When you want to embed data unique to the user application, use <a href="SSP_SetJpegEncoderMakerNoteEx.html"><CODE>SSP_SetJpegEncoderMakerNoteEx</CODE></a> with <CODE>SSP_MAKERNOTE_USER</CODE>.<br> <font color="red"><B>Note:</B></font><br> After the <a href="SSP_StartJpegEncoder.html"><CODE>SSP_StartJpegEncoder</CODE></a> function completes, data set by this function is cleared, regardless of whether encoding succeeds or fails.<br>If multiple images are to be encoded, note that the data must be registered before each encoding.
38</p>
39
40<h2>See Also</h2>
41<p><a href="SSP_StartJpegEncoder.html"><CODE>SSP_StartJpegEncoder</CODE></a><BR> <a href="SSP_SetJpegEncoderMakerNoteEx.html"><CODE>SSP_SetJpegEncoderMakerNoteEx</CODE></a></p>
42
43<h2>Revision History</h2>
44<p>
452008/11/04 Added a description of conditions under which set values are cleared.<br> 2008/09/15 Initial version.
46</p>
47<hr><p>CONFIDENTIAL</p></body>
48</html>
49