mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
fix types and comment
This commit is contained in:
parent
6ed58e3601
commit
fb7fabdbc5
@ -67,8 +67,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
bool fancy_upsampling;
|
||||
bool block_smoothing;
|
||||
u8 unk_x2[0x6]; ///< Padding.
|
||||
u64 unk_x8[3]; ///< Unknown. Ignored by official sw.
|
||||
u8 unk_x2[0x1e]; ///< Unknown. Ignored by official sw.
|
||||
} CapsScreenShotDecodeOption;
|
||||
|
||||
/// AlbumFileDateTime. This corresponds to each field in the Album entry filename, prior to the "-": "YYYYMMDDHHMMSSII".
|
||||
|
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @file capsdc.h
|
||||
* @brief Jpeg Decoder (caps:dc) service IPC wrapper. Only Available on 4.0.0+.
|
||||
* @brief Jpeg Decoder (caps:dc) service IPC wrapper. Only Available on [4.0.0+].
|
||||
* @note Only holds one session that is occupied by capsrv.
|
||||
* @author Behemoth
|
||||
* @copyright libnx Authors
|
||||
@ -29,4 +29,4 @@ Service* capsdcGetServiceSession(void);
|
||||
* @param[out] image RGBA8 image output buffer.
|
||||
* @param[in] image_size Output image buffer size, should be at least large enough for RGBA8 width x height.
|
||||
*/
|
||||
Result capsdcDecodeJpeg(const u32 width, const u32 height, const CapsScreenShotDecodeOption *opts, const void* jpeg, const u64 jpeg_size, void* image, const u64 image_size);
|
||||
Result capsdcDecodeJpeg(u32 width, u32 height, const CapsScreenShotDecodeOption *opts, const void* jpeg, const u64 jpeg_size, void* image, const u64 image_size);
|
||||
|
@ -18,7 +18,7 @@ Service* capsdcGetServiceSession(void) {
|
||||
return &g_capsdcSrv;
|
||||
}
|
||||
|
||||
Result capsdcDecodeJpeg(const u32 width, const u32 height, const CapsScreenShotDecodeOption *opts, const void* jpeg, const u64 jpeg_size, void* image, const u64 image_size) {
|
||||
Result capsdcDecodeJpeg(u32 width, u32 height, const CapsScreenShotDecodeOption *opts, const void* jpeg, const u64 jpeg_size, void* image, const u64 image_size) {
|
||||
const struct {
|
||||
u32 width;
|
||||
u32 height;
|
||||
|
Loading…
Reference in New Issue
Block a user