1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7<title>EncoderErrorCode</title> 8 </head> 9 <body> 10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/jpeg/Overview.html">jpeg</a>::<a href="../../../nn/jpeg/CTR/Overview.html">CTR</a>::EncoderErrorCode</CODE> Enumerated Type</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum EncoderErrorCode; 15</pre> 16 </div> 17<h2>Value</h2> 18 <div class="section"> 19 <table class="arguments"> 20 <thead> 21 <tr> 22<th>Value</th> 23<td>Description</td> 24 </tr> 25 </thead> 26 <tr> 27<th>JPEG_ENCODER_ERROR_NONE</th> 28<td>There is no error.</td> 29 </tr> 30 <tr> 31<th>JPEG_ENCODER_ERROR_NOT_INITIALIZED</th> 32<td>The encoder object is not initialized.</td> 33 </tr> 34 <tr> 35<th>JPEG_ENCODER_ERROR_INVALID_ARGUMENT</th> 36<td>The argument is invalid.</td> 37 </tr> 38 <tr> 39<th>JPEG_ENCODER_ERROR_SRC_ALIGNMENT</th> 40<td>Illegal alignment of the graphics data buffer (src).</td> 41 </tr> 42 <tr> 43<th>JPEG_ENCODER_ERROR_APP1</th> 44<td>Encoding failed because the number of bytes of data in the APP1 segment is greater than 0xFFFF bytes. Decrease the number or size of things such as thumbnails and manufacturer notes.</td> 45 </tr> 46 <tr> 47<th>JPEG_ENCODER_ERROR_APP2_MP</th> 48<td>Encoding failed because the number of bytes of data in the APP2 segment is greater than 0xFFFF bytes. Reduce the number of MP format images being stored.</td> 49 </tr> 50 <tr> 51<th>JPEG_ENCODER_ERROR_INVALID_MP_NUM_IMAGES</th> 52<td>Illegal specification of number of MP format images.</td> 53 </tr> 54 <tr> 55<th>JPEG_ENCODER_ERROR_INVALID_MP_TYPE_CODE</th> 56<td>Illegal MP type specification in the MP format.</td> 57 </tr> 58 <tr> 59<th>JPEG_ENCODER_ERROR_INVALID_MP_SEQUENCE</th> 60<td>Illegal encoding sequence in the MP format. There was either an attempt to encode a later image without encoding the first image or an attempt to encode more images than specified.</td> 61 </tr> 62 <tr> 63<th>JPEG_ENCODER_ERROR_INSUFFICIENT_OUTPUT_BUFFER</th> 64<td>Not enough bytes allocated for the encoding result buffer.</td> 65 </tr> 66 <tr> 67<th>JPEG_ENCODER_ERROR_INTERNAL</th> 68<td>There is a problem with the library implementation if this error occurs.</td> 69 </tr> 70 </table> </div> 71<h2>Description</h2> 72 <div class="section"> 73<p>Gives the reason why the encoding just performed failed.</p><p>The return value of <a href="../../../nn/jpeg/CTR/JpegMpEncoder/GetLastError.html">JpegMpEncoder::GetLastError</a>.</p><!-- write here --></div> 74<h2>Revision History</h2> 75 <div class="section"> 76 <dl class="history"> 77 <dt>2010/10/21</dt> 78<dd>Initial version.<br /> 79 </dd> 80 </dl> 81 </div> 82 <hr><p>CONFIDENTIAL</p></body> 83</html> 84