|
libnx v4.9.0
|
Mii image (miiimg) service IPC wrapper. More...
Go to the source code of this file.
Data Structures | |
| struct | MiiimgImageId |
| Image ID. More... | |
| struct | MiiimgImageAttribute |
| Image attribute. More... | |
Functions | |
| Result | miiimgInitialize (void) |
| Initialize miiimg. | |
| void | miiimgExit (void) |
| Exit miiimg. | |
| Service * | miiimgGetServiceSession (void) |
| Gets the Service object for the actual miiimg service session. | |
| Result | miiimgReload (void) |
| Reloads the image database. | |
| Result | miiimgGetCount (s32 *out_count) |
| Gets the number of mii images in the database. | |
| Result | miiimgIsEmpty (bool *out_empty) |
| Gets whether the image database is empty. | |
| Result | miiimgIsFull (bool *out_full) |
| Gets whether the image database is full. | |
| Result | miiimgGetAttribute (s32 index, MiiimgImageAttribute *out_attr) |
| Gets the image attribute for the specified image index. | |
| Result | miiimgLoadImage (MiiimgImageId id, void *out_image, size_t out_image_size) |
| Loads the image data (raw RGBA8) for the specified image ID. | |
Mii image (miiimg) service IPC wrapper.
| Result miiimgGetAttribute | ( | s32 | index, |
| MiiimgImageAttribute * | out_attr | ||
| ) |
Gets the image attribute for the specified image index.
| [in] | index | Image index. |
| [out] | out_attr | Out image attribute. |
Gets the number of mii images in the database.
| [out] | out_count | Mii image count. |
| Result miiimgIsEmpty | ( | bool * | out_empty | ) |
Gets whether the image database is empty.
| [out] | out_empty | Whether the database is empty. |
| Result miiimgIsFull | ( | bool * | out_full | ) |
Gets whether the image database is full.
| [out] | out_empty | Whether the database is full. |
| Result miiimgLoadImage | ( | MiiimgImageId | id, |
| void * | out_image, | ||
| size_t | out_image_size | ||
| ) |
Loads the image data (raw RGBA8) for the specified image ID.
| [in] | id | Input image ID. |
| [out] | out_image | Out iamge buffer. |
| [in] | out_image_size | Out image buffer size. |