nn::y2r::CTR Namespace

Description

CTR namespace for Y2R (YUV to RGB conversion).
(This can also be written without the "::CTR" portion.)

Classes

nn::y2r::CTR::ResultIsSleeping Indicates that the Y2R library cannot be used because the system is sleeping.

Structures

nn::y2r::CTR::DitheringWeightParams Structure representing a dithering pattern.
nn::y2r::CTR::PackageParameter Structure for batch parameter configuration.

Enumerated Types

InputFormat Enumerated type that indicates the input mode.
OutputFormat Enumerated type that indicates the output pixel format.
Rotation Enumerated type that indicates the output buffer rotation.
BlockAlignment Enumerated type that indicates an array of output buffers.
StandardCoefficient Enumerated type that indicates the standard conversion coefficient.

Functions

Initialize Initializes the Y2R library.
Finalize Shuts down the Y2R library.
SetInputFormat Sets the input format.
GetInputFormat Gets the input format.
SetOutputFormat Sets the output format.
GetOutputFormat Gets the output format.
SetRotation Sets the rotation angle of the output buffer.
GetRotation Gets the rotation angle of the output buffer.
SetBlockAlignment Sets the alignment of the data in the output buffer.
GetBlockAlignment Gets the alignment of the data in the output buffer.
SetSpacialDithering Enables or disables spacial dithering of the output image.
GetSpacialDithering Checks whether spacial dithering of the output image is enabled.
SetTemporalDithering Enables or disables temporal dithering of the output image. The initial value is false.
GetTemporalDithering Checks whether temporal dithering of the output image is enabled. The initial value is false.
SetTransferEndInterrupt Enables or disables data transfer completion interrupts. The initial value is true.
GetTransferEndInterrupt Checks whether data transfer completion interrupts are enabled.
GetTransferEndEvent Gets the event that is used to detect the occurrence of a data transfer completion interrupt.
SetSendingY Configures writing of Y data. The actual transfer operation takes place after StartConversion is called.
SetSendingU Configures writing of U data. The actual transfer operation takes place after StartConversion is called.
SetSendingV Configures writing of V data. The actual transfer operation takes place after StartConversion is called.
SetSendingYuv Configures writing of YUV data. The actual transfer operation takes place after StartConversion is called.
IsFinishedSendingYuv Determines whether writing of YUV data has finished.
IsFinishedSendingY Determines whether writing of Y data has finished.
IsFinishedSendingU Determines whether writing of U data has finished.
IsFinishedSendingV Determines whether writing of V data has finished.
SetReceiving Configures loading of RGB data. The actual transfer operation takes place after StartConversion is called.
IsFinishedReceiving Checks whether loading has finished.
SetInputLineWidth Sets the width of a single line of input data.
GetInputLineWidth Gets the width of a single line of input data.
SetInputLines Sets the number of vertical lines of input data.
GetInputLines Gets the number of vertical lines of input data.
GetOutputFormatBytes Calculates the number of bytes per pixel in the specified output format.
GetOutputBlockSize Calculates the size of the output block.
GetOutputImageSize Calculates the size of the output image.
SetStandardCoefficient Sets the standard conversion coefficients.
SetAlpha Sets the alpha value for a 32-bit RGB or RGB555 output format.
GetAlpha Gets the alpha value for a 32-bit RGB or RGB555 output format.
SetDitheringWeightParams Sets the dithering pattern.
GetDitheringWeightParams Gets the dithering pattern.
StartConversion Starts conversion.
StopConversion Forcibly stops conversion.
IsBusyConversion Checks whether conversion is underway.
SetPackageParameter Configures the Y2R settings all at once.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL