1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 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<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<BASE target="main"> 8<TITLE>DSP Library (DSP) API Function List</TITLE> 9<LINK rel="stylesheet" href="../css/apilist.css"> 10</HEAD> 11<BODY> 12<H1>DSP Library (DSP) API Function List</H1> 13 14<H3><A name="G711">G.711 Encoding and Decoding</A></H3> 15<TABLE border="1" width="100%"> 16 <TBODY> 17 <TR> 18<TH nowrap width="25%"><A href="g711/DSP_OpenStaticComponentG711.html" target="_self">DSP_OpenStaticComponentG711</A></TH> 19 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 20<TD>Opens a memory file for use by the G.711 component.</TD> 21 </TR> 22 <TR> 23<TH nowrap width="25%"><A href="g711/DSP_LoadG711.html" target="_self">DSP_LoadG711</A></TH> 24 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 25<TD>Loads the G.711 component.</TD> 26 </TR> 27 <TR> 28<TH nowrap width="25%"><A href="g711/DSP_UnloadG711.html" target="_self">DSP_UnloadG711</A></TH> 29 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 30<TD>Unloads the G.711 component.</TD> 31 </TR> 32 <TR> 33<TH nowrap width="25%"><A href="g711/DSP_EncodeG711.html" target="_self">DSP_EncodeG711</A></TH> 34 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 35<TD>Performs G.711 encoding.</TD> 36 </TR> 37 <TR> 38<TH nowrap width="25%"><A href="g711/DSP_DecodeG711.html" target="_self">DSP_DecodeG711</A></TH> 39 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 40<TD>Performs G.711 decoding.</TD> 41 </TR> 42 <TR> 43<TH nowrap width="25%"><A href="g711/DSP_WaitForG711.html" target="_self">DSP_WaitForG711</A></TH> 44 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 45<TD>Waits for G.711 encoding or decoding to complete.</TD> 46 </TR> 47 <TR> 48<TH nowrap width="25%"><A href="g711/DSP_TryWaitForG711.html" target="_self">DSP_TryWaitForG711</A></TH> 49 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 50<TD>Checks if G.711 encoding or decoding has completed.</TD> 51 </TR> 52 <TR> 53<TH nowrap width="25%"><A href="g711/DSPAudioCodecMode.html" target="_self">DSPAudioCodecMode</A></TH> 54 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 55<TD>The encodings supported by the DSP component.</TD> 56 </TR> 57 </TBODY> 58</TABLE> 59 60 61<H3><A name="Graphics">Graphics</A></H3> 62<TABLE border="1" width="100%"> 63 <TBODY> 64 <TR> 65<TH nowrap width="25%"><A href="graphics/DSP_OpenStaticComponentGraphics.html" target="_self">DSP_OpenStaticComponentGraphics</A></TH> 66 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 67<TD>Opens a memory file for use by the graphics component.</TD> 68 </TR> 69 <TR> 70<TH nowrap width="25%"><A href="graphics/DSP_LoadGraphics.html" target="_self">DSP_LoadGraphics</A></TH> 71 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 72<TD>Loads the graphics component.</TD> 73 </TR> 74 <TR> 75<TH nowrap width="25%"><A href="graphics/DSP_UnloadGraphics.html" target="_self">DSP_UnloadGraphics</A></TH> 76 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 77<TD>Unloads the graphics component.</TD> 78 </TR> 79 <TR> 80<TH nowrap width="25%"><A href="graphics/DSP_ConvertYuvToRgb.html" target="_self">DSP_ConvertYuvToRgb</A></TH> 81 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 82<TD>Converts image data from the YUV422 format to the RGB555 format.</TD> 83 </TR> 84 <TR> 85<TH nowrap width="25%"><A href="graphics/DSP_Scaling.html" target="_self">DSP_Scaling</A></TH> 86 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 87<TD>Scales images (in the RGB555 format).</TD> 88 </TR> 89 <TR> 90<TH nowrap width="25%"><A href="graphics/DSP_ScalingFx.html" target="_self">DSP_ScalingFx</A></TH> 91 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 92<TD>Scales an image (in the RGB555 format) by the specified <CODE>fx32</CODE>-type scaling factor.</TD> 93 </TR> 94 <TR> 95<TH nowrap width="25%"><A href="graphics/DSP_CalcScalingFactor.html" target="_self">DSP_CalcScalingFactor</A></TH> 96 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 97<TD>Obtains the scaling factor to pass to <CODE>DSP_Scaling</CODE> by reverse-calculating it from the input and output sizes.</TD> 98 </TR> 99 <TR> 100<TH nowrap width="25%"><A href="graphics/DSP_Macro.html" target="_self">Macros</A></TH> 101 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 102<TD>Macro definitions for the graphics component.</TD> 103 </TR> 104 </TBODY> 105</TABLE> 106 107<H3><A name="Common">Common</A></H3> 108<TABLE border="1" width="100%"> 109 <TBODY> 110 <TR> 111<TH nowrap width="25%"><A href="common/DSP_PlaySound.html" target="_self">DSP_PlaySound</A></TH> 112 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 113<TD>Plays sounds from the DSP.</TD> 114 </TR> 115 <TR> 116<TH nowrap width="25%"><A href="common/DSP_PlayShutterSound.html" target="_self">DSP_PlayShutterSound</A></TH> 117 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 118<TD>Forcibly plays sounds from the DSP.</TD> 119 </TR> 120 <TR> 121<TH nowrap width="25%"><A href="common/DSP_StopSound.html" target="_self">DSP_StopSound</A></TH> 122 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 123<TD>Stops sound playback from the DSP.</TD> 124 </TR> 125 <TR> 126<TH nowrap width="25%"><A href="common/DSP_IsSoundPlaying.html" target="_self">DSP_IsSoundPlaying</A></TH> 127 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 128<TD>Determines if sounds are being played from the DSP.</TD> 129 </TR> 130 <TR> 131<TH nowrap width="25%"><A href="common/DSP_IsShutterSoundPlaying.html" target="_self">DSP_IsShutterSoundPlaying</A></TH> 132 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 133<TD>Determines whether the shutter sound is being played from the DSP.</TD> 134 </TR> 135 136 <TR> 137<TH nowrap width="25%"><A href="common/DSP_StartSampling.html" target="_self">DSP_StartSampling</A></TH> 138 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 139<TD>Starts automatically sampling microphone input with the DSP.</TD> 140 </TR> 141 <TR> 142<TH nowrap width="25%"><A href="common/DSP_StopSampling.html" target="_self">DSP_StopSampling</A></TH> 143 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 144<TD>Stops automatically sampling microphone input with the DSP.</TD> 145 </TR> 146 <TR> 147<TH nowrap width="25%"><A href="common/DSP_SyncSamplingBuffer.html" target="_self">DSP_SyncSamplingBuffer</A></TH> 148 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 149<TD>Transfers unread sampling data in the DSP to the ARM9 ring buffer.</TD> 150 </TR> 151 <TR> 152<TH nowrap width="25%"><A href="common/DSP_GetLastSamplingAddress.html" target="_self">DSP_GetLastSamplingAddress</A></TH> 153 <TD width="48"><img src="../image/BPT.gif"><img src="../image/TWL.gif"></TD> 154<TD>Gets the most recent sampling position in the ring buffer.</TD> 155 </TR> 156 157 </TBODY> 158</TABLE> 159 160<table border="0" height="100%"><tr><td style="background-color : white;"></td></tr></table> 161 162<hr><p>CONFIDENTIAL</p></body> 163</HTML> 164