caps: correct CapsScreenShotDecodeOption

This commit is contained in:
Michael Scire 2020-04-20 04:41:16 -07:00
parent 6fae441714
commit 54a0b3d53f

View File

@ -63,12 +63,17 @@ typedef struct {
u8 reserved[0x18]; ///< Always zero. u8 reserved[0x18]; ///< Always zero.
} CapsScreenShotAttributeForApplication; } CapsScreenShotAttributeForApplication;
/// ScreenShotDecoderFlag
typedef enum {
CapsScreenShotDecoderFlag_None = 0,
CapsScreenShotDecoderFlag_EnableFancyUpsampling = BIT(0),
CapsScreenShotDecoderFlag_EnableBlockSmoothing = BIT(1),
} CapsScreenShotDecoderFlag;
/// ScreenShotDecodeOption /// ScreenShotDecodeOption
typedef struct { typedef struct {
u8 fancy_upsampling; ///< See libjpeg-turbo do_fancy_upsampling. u64 flags; ///< Bitflags, see \ref CapsScreenShotDecoderFlag
u8 block_smoothing; ///< See libjpeg-turbo do_block_smoothing. u64 reserved[0x3]; ///< Reserved. Unused by official sw.
u8 pad_x2[0x6]; ///< Padding.
u64 unk_x8[0x3]; ///< Unknown. Ignored by official sw.
} CapsScreenShotDecodeOption; } CapsScreenShotDecodeOption;
/// AlbumFileDateTime. This corresponds to each field in the Album entry filename, prior to the "-": "YYYYMMDDHHMMSSII". /// AlbumFileDateTime. This corresponds to each field in the Album entry filename, prior to the "-": "YYYYMMDDHHMMSSII".