mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
note correct buffer size for ScreenShotImage loading
This commit is contained in:
parent
41af90af74
commit
8c7a414277
@ -153,7 +153,7 @@ Result capsaLoadAlbumScreenShotThumbnailImageEx(u64 *width, u64 *height, const C
|
|||||||
* @param[in] file_id \ref CapsAlbumFileId
|
* @param[in] file_id \ref CapsAlbumFileId
|
||||||
* @param[in] opts \ref CapsScreenShotDecodeOption
|
* @param[in] opts \ref CapsScreenShotDecodeOption
|
||||||
* @param[out] image RGBA8 image output buffer.
|
* @param[out] image RGBA8 image output buffer.
|
||||||
* @param[in] image_size Image buffer size, should be at least large enough for RGBA8 320x180.
|
* @param[in] image_size Image buffer size, should be at least large enough for RGBA8 1280x720.
|
||||||
* @param[out] workbuf Work buffer, cleared to 0 by the cmd before it returns.
|
* @param[out] workbuf Work buffer, cleared to 0 by the cmd before it returns.
|
||||||
* @param[in] workbuf_size Work buffer size, must be at least the size of the JPEG within the AlbumFile.
|
* @param[in] workbuf_size Work buffer size, must be at least the size of the JPEG within the AlbumFile.
|
||||||
*/
|
*/
|
||||||
@ -218,7 +218,7 @@ Result capsLoadAlbumScreenShotThumbnailImageEx0(u64 *width, u64 *height, CapsScr
|
|||||||
* @param[in] opts \ref CapsScreenShotDecodeOption
|
* @param[in] opts \ref CapsScreenShotDecodeOption
|
||||||
* @param[out] out \ref CapsLoadAlbumScreenShotImageOutput
|
* @param[out] out \ref CapsLoadAlbumScreenShotImageOutput
|
||||||
* @param[out] image RGBA8 image output buffer.
|
* @param[out] image RGBA8 image output buffer.
|
||||||
* @param[in] image_size Image buffer size, should be at least large enough for RGBA8 320x180.
|
* @param[in] image_size Image buffer size, should be at least large enough for RGBA8 1280x720.
|
||||||
* @param[out] workbuf Work buffer, cleared to 0 by the cmd before it returns.
|
* @param[out] workbuf Work buffer, cleared to 0 by the cmd before it returns.
|
||||||
* @param[in] workbuf_size Work buffer size, must be at least the size of the JPEG within the AlbumFile.
|
* @param[in] workbuf_size Work buffer size, must be at least the size of the JPEG within the AlbumFile.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user