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 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48<title>nn::y2r::CTR</title> 49 </head> 50 <body> 51<h1>nn::y2r::CTR Namespace</h1> 52<h2>Description</h2> 53 <div class="section"> 54<p>CTR namespace for Y2R (YUV to RGB conversion). <br />(This can also be written without the "<CODE>::CTR</CODE>" portion.)</p><!-- write here --></div> 55 <a name="class" id="class"> 56<h2>Classes</h2> 57 <div class="section"> 58 <table class="members"> 59 <tr> 60 <th> 61<a href="../../../nn/y2r/CTR/ResultIsSleeping/Overview.html"><CODE>nn::y2r::CTR::ResultIsSleeping</CODE></a> 62 </th> 63<td>Indicates that the Y2R library cannot be used because the system is sleeping.</td> 64 </tr> 65 </table> 66 </div> 67 </a> <a name="struct" id="struct"> 68<h2>Structures</h2> 69 <div class="section"> 70 <table class="members"> 71 <tr> 72 <th> 73<a href="../../../nn/y2r/CTR/DitheringWeightParams/Overview.html"><CODE>nn::y2r::CTR::DitheringWeightParams</CODE></a> 74 </th> 75<td>Structure representing a dithering pattern.</td> 76 </tr> 77 <tr> 78 <th> 79<a href="../../../nn/y2r/CTR/PackageParameter/Overview.html"><CODE>nn::y2r::CTR::PackageParameter</CODE></a> 80 </th> 81<td>Structure for batch parameter configuration.</td> 82 </tr> 83 </table> 84 </div> 85 </a> <a name="enum" id="enum"> 86<h2>Enumerated Types</h2> 87 <div class="section"> 88 <table class="members"> 89 <tr> 90 <td width="100"> </td> 91 <th> 92<a href="../../../nn/y2r/CTR/InputFormat.html"><CODE>InputFormat</CODE></a> 93 </th> 94<td>Enumerated type that indicates the input mode.</td> 95 </tr> 96 <tr> 97 <td width="100"> </td> 98 <th> 99<a href="../../../nn/y2r/CTR/OutputFormat.html"><CODE>OutputFormat</CODE></a> 100 </th> 101<td>Enumerated type that indicates the output pixel format.</td> 102 </tr> 103 <tr> 104 <td width="100"> </td> 105 <th> 106<a href="../../../nn/y2r/CTR/Rotation.html"><CODE>Rotation</CODE></a> 107 </th> 108<td>Enumerated type that indicates the output buffer rotation.</td> 109 </tr> 110 <tr> 111 <td width="100"> </td> 112 <th> 113<a href="../../../nn/y2r/CTR/BlockAlignment.html"><CODE>BlockAlignment</CODE></a> 114 </th> 115<td>Enumerated type that indicates an array of output buffers.</td> 116 </tr> 117 <tr> 118 <td width="100"> </td> 119 <th> 120<a href="../../../nn/y2r/CTR/StandardCoefficient.html"><CODE>StandardCoefficient</CODE></a> 121 </th> 122<td>Enumerated type that indicates the standard conversion coefficient.</td> 123 </tr> </table> 124 </div> 125 </a> <a name="function" id="function"> 126<h2>Functions</h2> 127 <div class="section"> 128 <table class="members"> 129 <tr> 130 <td width="100"> </td> 131 <th> 132<a href="../../../nn/y2r/CTR/Initialize.html"><CODE>Initialize</CODE></a> 133 </th> 134<td>Initializes the Y2R library.</td> 135 </tr> 136 <tr> 137 <td width="100"> </td> 138 <th> 139<a href="../../../nn/y2r/CTR/Finalize.html"><CODE>Finalize</CODE></a> 140 </th> 141<td>Shuts down the Y2R library.</td> 142 </tr> 143 <tr> 144 <td width="100"> </td> 145 <th> 146<a href="../../../nn/y2r/CTR/SetInputFormat.html"><CODE>SetInputFormat</CODE></a> 147 </th> 148<td>Sets the input format.</td> 149 </tr> 150 <tr> 151 <td width="100"> </td> 152 <th> 153<a href="../../../nn/y2r/CTR/GetInputFormat.html"><CODE>GetInputFormat</CODE></a> 154 </th> 155<td>Gets the input format.</td> 156 </tr> 157 <tr> 158 <td width="100"> </td> 159 <th> 160<a href="../../../nn/y2r/CTR/SetOutputFormat.html"><CODE>SetOutputFormat</CODE></a> 161 </th> 162<td>Sets the output format.</td> 163 </tr> 164 <tr> 165 <td width="100"> </td> 166 <th> 167<a href="../../../nn/y2r/CTR/GetOutputFormat.html"><CODE>GetOutputFormat</CODE></a> 168 </th> 169<td>Gets the output format.</td> 170 </tr> 171 <tr> 172 <td width="100"> </td> 173 <th> 174<a href="../../../nn/y2r/CTR/SetRotation.html"><CODE>SetRotation</CODE></a> 175 </th> 176<td>Sets the rotation angle of the output buffer.</td> 177 </tr> 178 <tr> 179 <td width="100"> </td> 180 <th> 181<a href="../../../nn/y2r/CTR/GetRotation.html"><CODE>GetRotation</CODE></a> 182 </th> 183<td>Gets the rotation angle of the output buffer.</td> 184 </tr> 185 <tr> 186 <td width="100"> </td> 187 <th> 188<a href="../../../nn/y2r/CTR/SetBlockAlignment.html"><CODE>SetBlockAlignment</CODE></a> 189 </th> 190<td>Sets the alignment of the data in the output buffer.</td> 191 </tr> 192 <tr> 193 <td width="100"> </td> 194 <th> 195<a href="../../../nn/y2r/CTR/GetBlockAlignment.html"><CODE>GetBlockAlignment</CODE></a> 196 </th> 197<td>Gets the alignment of the data in the output buffer.</td> 198 </tr> 199 <tr> 200 <td width="100"> </td> 201 <th> 202<a href="../../../nn/y2r/CTR/SetSpacialDithering.html"><CODE>SetSpacialDithering</CODE></a> 203 </th> 204<td>Enables or disables spacial dithering of the output image.</td> 205 </tr> 206 <tr> 207 <td width="100"> </td> 208 <th> 209<a href="../../../nn/y2r/CTR/GetSpacialDithering.html"><CODE>GetSpacialDithering</CODE></a> 210 </th> 211<td>Checks whether spacial dithering of the output image is enabled.</td> 212 </tr> 213 <tr> 214 <td width="100"> </td> 215 <th> 216<a href="../../../nn/y2r/CTR/SetTemporalDithering.html"><CODE>SetTemporalDithering</CODE></a> 217 </th> 218<td>Enables or disables temporal dithering of the output image. The initial value is <CODE>false</CODE>.</td> 219 </tr> 220 <tr> 221 <td width="100"> </td> 222 <th> 223<a href="../../../nn/y2r/CTR/GetTemporalDithering.html"><CODE>GetTemporalDithering</CODE></a> 224 </th> 225<td>Checks whether temporal dithering of the output image is enabled. The initial value is <CODE>false</CODE>.</td> 226 </tr> 227 <tr> 228 <td width="100"> </td> 229 <th> 230<a href="../../../nn/y2r/CTR/SetTransferEndInterrupt.html"><CODE>SetTransferEndInterrupt</CODE></a> 231 </th> 232<td>Enables or disables data transfer completion interrupts. The initial value is <CODE>true</CODE>.</td> 233 </tr> 234 <tr> 235 <td width="100"> </td> 236 <th> 237<a href="../../../nn/y2r/CTR/GetTransferEndInterrupt.html"><CODE>GetTransferEndInterrupt</CODE></a> 238 </th> 239<td>Checks whether data transfer completion interrupts are enabled.</td> 240 </tr> 241 <tr> 242 <td width="100"> </td> 243 <th> 244<a href="../../../nn/y2r/CTR/GetTransferEndEvent.html"><CODE>GetTransferEndEvent</CODE></a> 245 </th> 246<td>Gets the event that is used to detect the occurrence of a data transfer completion interrupt.</td> 247 </tr> 248 <tr> 249 <td width="100"> </td> 250 <th> 251<a href="../../../nn/y2r/CTR/SetSendingY.html"><CODE>SetSendingY</CODE></a> 252 </th> 253<td>Configures writing of Y data. The actual transfer operation takes place after <CODE>StartConversion</CODE> is called.</td> 254 </tr> 255 <tr> 256 <td width="100"> </td> 257 <th> 258<a href="../../../nn/y2r/CTR/SetSendingU.html"><CODE>SetSendingU</CODE></a> 259 </th> 260<td>Configures writing of U data. The actual transfer operation takes place after <CODE>StartConversion</CODE> is called.</td> 261 </tr> 262 <tr> 263 <td width="100"> </td> 264 <th> 265<a href="../../../nn/y2r/CTR/SetSendingV.html"><CODE>SetSendingV</CODE></a> 266 </th> 267<td>Configures writing of V data. The actual transfer operation takes place after <CODE>StartConversion</CODE> is called.</td> 268 </tr> 269 <tr> 270 <td width="100"> </td> 271 <th> 272<a href="../../../nn/y2r/CTR/SetSendingYuv.html"><CODE>SetSendingYuv</CODE></a> 273 </th> 274<td>Configures writing of YUV data. The actual transfer operation takes place after <CODE>StartConversion</CODE> is called.</td> 275 </tr> 276 <tr> 277 <td width="100"> </td> 278 <th> 279<a href="../../../nn/y2r/CTR/IsFinishedSendingYuv.html"><CODE>IsFinishedSendingYuv</CODE></a> 280 </th> 281<td>Determines whether writing of YUV data has finished.</td> 282 </tr> 283 <tr> 284 <td width="100"> </td> 285 <th> 286<a href="../../../nn/y2r/CTR/IsFinishedSendingY.html"><CODE>IsFinishedSendingY</CODE></a> 287 </th> 288<td>Determines whether writing of Y data has finished.</td> 289 </tr> 290 <tr> 291 <td width="100"> </td> 292 <th> 293<a href="../../../nn/y2r/CTR/IsFinishedSendingU.html"><CODE>IsFinishedSendingU</CODE></a> 294 </th> 295<td>Determines whether writing of U data has finished.</td> 296 </tr> 297 <tr> 298 <td width="100"> </td> 299 <th> 300<a href="../../../nn/y2r/CTR/IsFinishedSendingV.html"><CODE>IsFinishedSendingV</CODE></a> 301 </th> 302<td>Determines whether writing of V data has finished.</td> 303 </tr> 304 <tr> 305 <td width="100"> </td> 306 <th> 307<a href="../../../nn/y2r/CTR/SetReceiving.html"><CODE>SetReceiving</CODE></a> 308 </th> 309<td>Configures loading of RGB data. The actual transfer operation takes place after <CODE>StartConversion</CODE> is called.</td> 310 </tr> 311 <tr> 312 <td width="100"> </td> 313 <th> 314<a href="../../../nn/y2r/CTR/IsFinishedReceiving.html"><CODE>IsFinishedReceiving</CODE></a> 315 </th> 316<td>Checks whether loading has finished.</td> 317 </tr> 318 <tr> 319 <td width="100"> </td> 320 <th> 321<a href="../../../nn/y2r/CTR/SetInputLineWidth.html"><CODE>SetInputLineWidth</CODE></a> 322 </th> 323<td>Sets the width of a single line of input data.</td> 324 </tr> 325 <tr> 326 <td width="100"> </td> 327 <th> 328<a href="../../../nn/y2r/CTR/GetInputLineWidth.html"><CODE>GetInputLineWidth</CODE></a> 329 </th> 330<td>Gets the width of a single line of input data.</td> 331 </tr> 332 <tr> 333 <td width="100"> </td> 334 <th> 335<a href="../../../nn/y2r/CTR/SetInputLines.html"><CODE>SetInputLines</CODE></a> 336 </th> 337<td>Sets the number of vertical lines of input data.</td> 338 </tr> 339 <tr> 340 <td width="100"> </td> 341 <th> 342<a href="../../../nn/y2r/CTR/GetInputLines.html"><CODE>GetInputLines</CODE></a> 343 </th> 344<td>Gets the number of vertical lines of input data.</td> 345 </tr> 346 <tr> 347 <td width="100"> </td> 348 <th> 349<a href="../../../nn/y2r/CTR/GetOutputFormatBytes.html"><CODE>GetOutputFormatBytes</CODE></a> 350 </th> 351<td>Calculates the number of bytes per pixel in the specified output format.</td> 352 </tr> 353 <tr> 354 <td width="100"> </td> 355 <th> 356<a href="../../../nn/y2r/CTR/GetOutputBlockSize.html"><CODE>GetOutputBlockSize</CODE></a> 357 </th> 358<td>Calculates the size of the output block.</td> 359 </tr> 360 <tr> 361 <td width="100"> </td> 362 <th> 363<a href="../../../nn/y2r/CTR/GetOutputImageSize.html"><CODE>GetOutputImageSize</CODE></a> 364 </th> 365<td>Calculates the size of the output image.</td> 366 </tr> 367 <tr> 368 <td width="100"> </td> 369 <th> 370<a href="../../../nn/y2r/CTR/SetStandardCoefficient.html"><CODE>SetStandardCoefficient</CODE></a> 371 </th> 372<td>Sets the standard conversion coefficients.</td> 373 </tr> 374 <tr> 375 <td width="100"> </td> 376 <th> 377<a href="../../../nn/y2r/CTR/SetAlpha.html"><CODE>SetAlpha</CODE></a> 378 </th> 379<td>Sets the alpha value for a 32-bit RGB or RGB555 output format.</td> 380 </tr> 381 <tr> 382 <td width="100"> </td> 383 <th> 384<a href="../../../nn/y2r/CTR/GetAlpha.html"><CODE>GetAlpha</CODE></a> 385 </th> 386<td>Gets the alpha value for a 32-bit RGB or RGB555 output format.</td> 387 </tr> 388 <tr> 389 <td width="100"> </td> 390 <th> 391<a href="../../../nn/y2r/CTR/SetDitheringWeightParams.html"><CODE>SetDitheringWeightParams</CODE></a> 392 </th> 393<td>Sets the dithering pattern.</td> 394 </tr> 395 <tr> 396 <td width="100"> </td> 397 <th> 398<a href="../../../nn/y2r/CTR/GetDitheringWeightParams.html"><CODE>GetDitheringWeightParams</CODE></a> 399 </th> 400<td>Gets the dithering pattern.</td> 401 </tr> 402 <tr> 403 <td width="100"> </td> 404 <th> 405<a href="../../../nn/y2r/CTR/StartConversion.html"><CODE>StartConversion</CODE></a> 406 </th> 407<td>Starts conversion.</td> 408 </tr> 409 <tr> 410 <td width="100"> </td> 411 <th> 412<a href="../../../nn/y2r/CTR/StopConversion.html"><CODE>StopConversion</CODE></a> 413 </th> 414<td>Forcibly stops conversion.</td> 415 </tr> 416 <tr> 417 <td width="100"> </td> 418 <th> 419<a href="../../../nn/y2r/CTR/IsBusyConversion.html"><CODE>IsBusyConversion</CODE></a> 420 </th> 421<td>Checks whether conversion is underway.</td> 422 </tr> 423 <tr> 424 <td width="100"> </td> 425 <th> 426<a href="../../../nn/y2r/CTR/SetPackageParameter.html"><CODE>SetPackageParameter</CODE></a> 427 </th> 428<td>Configures the Y2R settings all at once.</td> 429 </tr> </table> 430 </div> 431 </a> 432<h2>Revision History</h2> 433 <div class="section"> 434 <dl class="history"> 435 <dt>2010/01/07</dt> 436<dd>Initial version.<br /> 437 </dd> 438 </dl> 439 </div> 440 <hr><p>CONFIDENTIAL</p></body> 441</html> 442