nn::y2r::CTR::SetReceiving Function

Syntax

void SetReceiving(
     void * pDst,
     size_t imageSize,
     s16 transferUnit,
     s16 transferStride = 0
);

Arguments

Name Description
in pDst Image data transfer destination.
in imageSize Specifies the total size of the data to transfer. This must be an integer multiple of transferUnit.
in transferUnit Specifies the size of a single transfer. To increase performance, we recommend setting a size equivalent to 8 lines.
in transferStride Specifies an offset value (separate from transferUnit) to add to the transfer destination address for each individual transfer. If you want to add an offset per each individual line, you must specify a size equivalent to 1 line for transferUnit.

Return Values

None.

Description

Configures loading of RGB data. The actual transfer operation takes place after StartConversion is called.

You must use this function to configure the transfer before you start converting data with the StartConversion function.

Revision History

2010/09/24
Explained when transfer settings must be made.
2010/02/02
Initial version.

CONFIDENTIAL