9 #include "../services/acc.h"
143 CapsAlbumFileContents_ScreenShot = 0,
144 CapsAlbumFileContents_Movie = 1,
145 CapsAlbumFileContents_ExtraScreenShot = 2,
146 CapsAlbumFileContents_ExtraMovie = 3,
static void capsConvertApplicationAlbumEntryToApplicationAlbumFileEntry(CapsApplicationAlbumFileEntry *out, CapsApplicationAlbumEntry *in)
Convert a CapsApplicationAlbumEntry to CapsApplicationAlbumFileEntry. Should only be used on [7....
Definition: caps.h:229
CapsScreenShotDecoderFlag
ScreenShotDecoderFlag.
Definition: caps.h:67
@ CapsScreenShotDecoderFlag_EnableFancyUpsampling
See libjpeg-turbo do_fancy_upsampling.
Definition: caps.h:69
@ CapsScreenShotDecoderFlag_None
No special processing.
Definition: caps.h:68
@ CapsScreenShotDecoderFlag_EnableBlockSmoothing
See libjpeg-turbo do_block_smoothing.
Definition: caps.h:70
static CapsAlbumFileDateTime capsGetDefaultStartDateTime(void)
Gets the default start_datetime.
Definition: caps.h:214
CapsAlbumFileContentsFlag
AlbumFileContentsFlag.
Definition: caps.h:199
@ CapsAlbumFileContentsFlag_ScreenShot
Query for ScreenShot files.
Definition: caps.h:200
@ CapsAlbumFileContentsFlag_Movie
Query for Movie files.
Definition: caps.h:201
static void capsConvertApplicationAlbumFileEntryToApplicationAlbumEntry(CapsApplicationAlbumEntry *out, CapsApplicationAlbumFileEntry *in)
Convert a CapsApplicationAlbumFileEntry to CapsApplicationAlbumEntry.
Definition: caps.h:224
CapsContentType
ContentType.
Definition: caps.h:31
@ CapsContentType_Movie
Album videos.
Definition: caps.h:33
@ CapsContentType_Screenshot
Album screenshots.
Definition: caps.h:32
@ CapsContentType_ExtraMovie
Videos recorded by the current host Application via grcCreateMovieMaker.
Definition: caps.h:34
CapsAlbumFileContents
AlbumFileContents.
Definition: caps.h:142
AlbumImageOrientation
ImageOrientation.
Definition: caps.h:12
@ AlbumImageOrientation_Unknown2
Unknown.
Definition: caps.h:15
@ AlbumImageOrientation_Unknown3
Unknown.
Definition: caps.h:16
@ AlbumImageOrientation_Unknown1
Unknown.
Definition: caps.h:14
@ AlbumImageOrientation_Unknown0
Unknown. Default.
Definition: caps.h:13
CapsAlbumStorage
Definition: caps.h:25
@ CapsAlbumStorage_Sd
Sd.
Definition: caps.h:27
@ CapsAlbumStorage_Nand
Nand.
Definition: caps.h:26
AlbumReportOption
AlbumReportOption.
Definition: caps.h:20
@ AlbumReportOption_Disable
Don't display the screenshot-taken Overlay-applet notification.
Definition: caps.h:21
@ AlbumReportOption_Enable
Display the screenshot-taken Overlay notification.
Definition: caps.h:22
CapsAlbumContentsUsageFlag
Definition: caps.h:149
@ CapsAlbumContentsUsageFlag_HasGreaterUsage
Indicates that there are additional files not captured by the count/size fields of CapsAlbumContentsU...
Definition: caps.h:150
@ CapsAlbumContentsUsageFlag_IsUnknownContents
Indicates that the file is not a known content type.
Definition: caps.h:151
static CapsAlbumFileDateTime capsGetDefaultEndDateTime(void)
Gets the default end_datetime.
Definition: caps.h:219
u64 capsGetShimLibraryVersion(void)
Gets the ShimLibraryVersion.
Account UserId.
Definition: acc.h:25
AlbumCache.
Definition: caps.h:205
u64 count
Count.
Definition: caps.h:206
u64 unk_x8
Unknown.
Definition: caps.h:207
s64 size
Size. Used storage space.
Definition: caps.h:156
s64 count
Count.
Definition: caps.h:155
u32 flags
CapsAlbumContentsUsageFlag
Definition: caps.h:157
u8 file_contents
CapsAlbumFileContents
Definition: caps.h:158
AlbumEntry.
Definition: caps.h:102
u64 size
Size.
Definition: caps.h:103
CapsAlbumFileId file_id
CapsAlbumFileId
Definition: caps.h:104
AlbumFileDateTime. This corresponds to each field in the Album entry filename, prior to the "-": "YYY...
Definition: caps.h:80
u8 minute
Minute.
Definition: caps.h:85
u8 month
Month.
Definition: caps.h:82
u8 second
Second.
Definition: caps.h:86
u8 hour
Hour.
Definition: caps.h:84
u16 year
Year.
Definition: caps.h:81
u8 id
Unique ID for when there's multiple Album files with the same timestamp.
Definition: caps.h:87
u8 day
Day of the month.
Definition: caps.h:83
AlbumEntryId.
Definition: caps.h:91
u8 unknown_13
[19.0.0+]
Definition: caps.h:97
u64 application_id
ApplicationId.
Definition: caps.h:92
u8 content
CapsAlbumFileContents
Definition: caps.h:95
u8 storage
CapsAlbumStorage
Definition: caps.h:94
u8 unknown_12
[19.0.0+]
Definition: caps.h:96
CapsAlbumFileDateTime datetime
CapsAlbumFileDateTime
Definition: caps.h:93
ApplicationAlbumEntry.
Definition: caps.h:108
u8 storage
CapsAlbumStorage
Definition: caps.h:120
u8 content
CapsAlbumFileContents
Definition: caps.h:121
u8 unk_x1f
Set to 1 by official software.
Definition: caps.h:123
u64 hash
aes256 with hardcoded key over AlbumEntry.
Definition: caps.h:118
CapsAlbumFileDateTime datetime
CapsAlbumFileDateTime
Definition: caps.h:119
struct CapsApplicationAlbumEntry::@130::@133 v1
[7.0.0+]
u64 size
size of the entry
Definition: caps.h:117
ApplicationAlbumFileEntry.
Definition: caps.h:129
CapsApplicationAlbumEntry entry
CapsApplicationAlbumEntry
Definition: caps.h:130
u64 unk_x28
Unknown.
Definition: caps.h:132
CapsAlbumFileDateTime datetime
CapsAlbumFileDateTime
Definition: caps.h:131
ApplicationData.
Definition: caps.h:136
u32 size
UserData size.
Definition: caps.h:138
LoadAlbumScreenShotImageOutputForApplication.
Definition: caps.h:182
CapsScreenShotAttributeForApplication attr
CapsScreenShotAttributeForApplication
Definition: caps.h:185
s64 width
Width. Official sw copies this to a s32 output field.
Definition: caps.h:183
s64 height
Height. Official sw copies this to a s32 output field.
Definition: caps.h:184
CapsApplicationData appdata
CapsApplicationData
Definition: caps.h:186
LoadAlbumScreenShotImageOutput.
Definition: caps.h:191
s64 width
Width. Official sw copies this to a s32 output field.
Definition: caps.h:192
CapsScreenShotAttribute attr
CapsScreenShotAttribute
Definition: caps.h:194
s64 height
Height. Official sw copies this to a s32 output field.
Definition: caps.h:193
ScreenShotAttributeForApplication. Only unk_x0 is used by official sw.
Definition: caps.h:47
u32 unk_xc
Unknown.
Definition: caps.h:54
u32 unk_x18
Unknown.
Definition: caps.h:57
u32 unk_x14
Unknown.
Definition: caps.h:56
u32 unk_x10
Unknown.
Definition: caps.h:55
u16 unk_x24
Unknown.
Definition: caps.h:61
u32 unk_x0
Unknown.
Definition: caps.h:48
u16 unk_x22
Unknown.
Definition: caps.h:60
u8 unk_x5
Unknown.
Definition: caps.h:50
u32 unk_x8
Unknown.
Definition: caps.h:53
u16 unk_x20
Unknown.
Definition: caps.h:59
u32 unk_x1c
Unknown.
Definition: caps.h:58
u16 unk_x26
Unknown.
Definition: caps.h:62
u8 pad
Padding.
Definition: caps.h:52
u8 unk_x6
Unknown.
Definition: caps.h:51
u8 unk_x4
Unknown.
Definition: caps.h:49
ScreenShotAttribute.
Definition: caps.h:38
u32 unk_x0
Always set to 0 by official sw.
Definition: caps.h:39
u32 unk_xc
Always set to 1 by official sw.
Definition: caps.h:42
u32 orientation
AlbumImageOrientation
Definition: caps.h:40
u32 unk_x8
Always set to 0 by official sw.
Definition: caps.h:41
ScreenShotDecodeOption.
Definition: caps.h:74
u64 flags
Bitflags, see CapsScreenShotDecoderFlag.
Definition: caps.h:75
UserIdList.
Definition: caps.h:175
u8 count
Total userIDs.
Definition: caps.h:177
int64_t s64
64-bit signed integer.
Definition: types.h:28
#define BIT(n)
Creates a bitmask from a bit number.
Definition: types.h:54
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
uint8_t u8
8-bit unsigned integer.
Definition: types.h:19
uint16_t u16
16-bit unsigned integer.
Definition: types.h:20
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21