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=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>SSPJpegDecoderErrorCode</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">SSPJpegDecoderErrorCode</h1> 15 16<h2>Definition</h2> 17 18<dl> 19 <dd> 20<CODE>#include <twl/ssp/ARM9/jpegdec.h></CODE><BR> 21 <PRE><CODE>typedef enum SSPJpegDecoderErrorCode 22{ 23 SSP_JPEG_DECODER_OK = 0, 24 SSP_JPEG_DECODER_ERROR_ARGUMENT = (-1), 25 SSP_JPEG_DECODER_ERROR_WORK_ALIGN = (-2), 26 SSP_JPEG_DECODER_ERROR_OPTION = (-3), 27 SSP_JPEG_DECODER_ERROR_WIDTH_HEIGHT = (-20), 28 SSP_JPEG_DECODER_ERROR_EXIF_0 = (-30), 29} SSPJpegDecoderErrorCode;</CODE></PRE> 30 </dd> 31 32</dl><h2>Elements</h2> 33<TABLE border="1" width="100%"> 34 <TBODY> 35 <TR> 36 <TD width="200"><CODE>SSP_JPEG_DECODER_OK</CODE></TD> 37 <TD width="800">The process completed without problems.</TD> 38 </TR> 39 <TR> 40 <TD width="200"><CODE>SSP_JPEG_DECODER_ERROR_ARGUMENT</CODE></TD> 41 <TD width="800">There was an error in an argument other than the decoding option.</TD> 42 </TR> 43 <TR> 44 <TD width="200"><CODE>SSP_JPEG_DECODER_ERROR_WORK_ALIGN</CODE></TD> 45 <TD width="800">The context structure was not 4-byte aligned.</TD> 46 </TR> 47 <TR> 48 <TD width="200"><CODE>SSP_JPEG_DECODER_ERROR_OPTION</CODE></TD> 49 <TD width="800">There was an error in the decoding option argument.</TD> 50 </TR> 51 <TR> 52 <TD width="200"><CODE>SSP_JPEG_DECODER_ERROR_WIDTH_HEIGHT</CODE></TD> 53 <TD width="800">The width or height exceeded the specified maximum value.<br> The actual sizes are in <SPAN class="argument">pCtx</SPAN>-><CODE>width</CODE> and <SPAN class="argument">pCtx</SPAN>-><CODE>height</CODE>.</TD> 54 </TR> 55 <TR> 56 <TD width="200"><CODE>SSP_JPEG_DECODER_ERROR_EXIF_0</CODE></TD> 57 <TD width="800">Specified decoding of a thumbnail for an image that does not have thumbnail data.<br> This can also be generated by other errors.</TD> 58 </TR> 59 </TBODY> 60</TABLE> 61 62<H2>Description</H2> 63<P> 64Enumerator type that indicates the result of the <a href="SSP_StartJpegDecoderFast.html"><CODE>SSP_StartJpegDecoderFast</CODE></a> function process.<br> Returns into the <SPAN class="argument">pCtx</SPAN>-><CODE>errorCode</CODE> that is the first argument. 65</P> 66 67<H2>Revision History</H2> 68<P> 692009/07/06 Initial version. 70</P> 71<hr><p>CONFIDENTIAL</p></body> 72</html> 73