Function ctru_sys::Y2RU_SetRotation

source ·
pub unsafe extern "C" fn Y2RU_SetRotation(
    rotation: Y2RU_Rotation
) -> Result
Expand description

Used to configure the rotation of the output.


  • rotation - Rotation to use.

It seems to apply the rotation per batch of 8 lines, so the output will be (height/8) images of size 8 x width.

Note: Prefer using Y2RU_SetConversionParams if you have to set multiple parameters.