libnx  v4.2.0
Data Structures | Enumerations | Functions
caps.h File Reference

Common caps (caps:*) service IPC header. More...

#include "../types.h"
#include "../services/acc.h"

Go to the source code of this file.

Data Structures

struct  CapsScreenShotAttribute
 ScreenShotAttribute. More...
 
struct  CapsScreenShotAttributeForApplication
 ScreenShotAttributeForApplication. Only unk_x0 is used by official sw. More...
 
struct  CapsScreenShotDecodeOption
 ScreenShotDecodeOption. More...
 
struct  CapsAlbumFileDateTime
 AlbumFileDateTime. This corresponds to each field in the Album entry filename, prior to the "-": "YYYYMMDDHHMMSSII". More...
 
struct  CapsAlbumFileId
 AlbumEntryId. More...
 
struct  CapsAlbumEntry
 AlbumEntry. More...
 
struct  CapsApplicationAlbumEntry
 ApplicationAlbumEntry. More...
 
struct  CapsApplicationAlbumFileEntry
 ApplicationAlbumFileEntry. More...
 
struct  CapsApplicationData
 ApplicationData. More...
 
struct  CapsAlbumContentsUsage
 
struct  CapsAlbumUsage2
 
struct  CapsAlbumUsage3
 
struct  CapsAlbumUsage16
 
struct  CapsUserIdList
 UserIdList. More...
 
struct  CapsLoadAlbumScreenShotImageOutputForApplication
 LoadAlbumScreenShotImageOutputForApplication. More...
 
struct  CapsLoadAlbumScreenShotImageOutput
 LoadAlbumScreenShotImageOutput. More...
 
struct  CapsAlbumCache
 AlbumCache. More...
 

Enumerations

enum  AlbumImageOrientation {
  AlbumImageOrientation_Unknown0 = 0,
  AlbumImageOrientation_Unknown1 = 1,
  AlbumImageOrientation_Unknown2 = 2,
  AlbumImageOrientation_Unknown3 = 3
}
 ImageOrientation. More...
 
enum  AlbumReportOption {
  AlbumReportOption_Disable = 0,
  AlbumReportOption_Enable = 1
}
 AlbumReportOption. More...
 
enum  CapsAlbumStorage {
  CapsAlbumStorage_Nand = 0,
  CapsAlbumStorage_Sd = 1
}
 
enum  CapsContentType {
  CapsContentType_Screenshot = 0,
  CapsContentType_Movie = 1,
  CapsContentType_ExtraMovie = 3
}
 ContentType. More...
 
enum  CapsScreenShotDecoderFlag {
  CapsScreenShotDecoderFlag_None = 0,
  CapsScreenShotDecoderFlag_EnableFancyUpsampling = (1U<<( 0 )),
  CapsScreenShotDecoderFlag_EnableBlockSmoothing = (1U<<( 1 ))
}
 ScreenShotDecoderFlag. More...
 
enum  CapsAlbumFileContents {
  CapsAlbumFileContents_ScreenShot = 0,
  CapsAlbumFileContents_Movie = 1,
  CapsAlbumFileContents_ExtraScreenShot = 2,
  CapsAlbumFileContents_ExtraMovie = 3
}
 AlbumFileContents.
 
enum  CapsAlbumContentsUsageFlag {
  CapsAlbumContentsUsageFlag_HasGreaterUsage = (1U<<( 0 )),
  CapsAlbumContentsUsageFlag_IsUnknownContents = (1U<<( 1 ))
}
 
enum  CapsAlbumFileContentsFlag {
  CapsAlbumFileContentsFlag_ScreenShot = (1U<<( 0 )),
  CapsAlbumFileContentsFlag_Movie = (1U<<( 1 ))
}
 AlbumFileContentsFlag. More...
 

Functions

u64 capsGetShimLibraryVersion (void)
 Gets the ShimLibraryVersion.
 
static CapsAlbumFileDateTime capsGetDefaultStartDateTime (void)
 Gets the default start_datetime.
 
static CapsAlbumFileDateTime capsGetDefaultEndDateTime (void)
 Gets the default end_datetime.
 
static void capsConvertApplicationAlbumFileEntryToApplicationAlbumEntry (CapsApplicationAlbumEntry *out, CapsApplicationAlbumFileEntry *in)
 Convert a CapsApplicationAlbumFileEntry to CapsApplicationAlbumEntry.
 
static void capsConvertApplicationAlbumEntryToApplicationAlbumFileEntry (CapsApplicationAlbumFileEntry *out, CapsApplicationAlbumEntry *in)
 Convert a CapsApplicationAlbumEntry to CapsApplicationAlbumFileEntry. Should only be used on [7.0.0+].
 

Detailed Description

Common caps (caps:*) service IPC header.

Author
yellows8

Enumeration Type Documentation

◆ AlbumImageOrientation

ImageOrientation.

Enumerator
AlbumImageOrientation_Unknown0 

Unknown. Default.

AlbumImageOrientation_Unknown1 

Unknown.

AlbumImageOrientation_Unknown2 

Unknown.

AlbumImageOrientation_Unknown3 

Unknown.

◆ AlbumReportOption

AlbumReportOption.

Enumerator
AlbumReportOption_Disable 

Don't display the screenshot-taken Overlay-applet notification.

AlbumReportOption_Enable 

Display the screenshot-taken Overlay notification.

◆ CapsAlbumContentsUsageFlag

Enumerator
CapsAlbumContentsUsageFlag_HasGreaterUsage 

Indicates that there are additional files not captured by the count/size fields of CapsAlbumContentsUsage.

CapsAlbumContentsUsageFlag_IsUnknownContents 

Indicates that the file is not a known content type.

◆ CapsAlbumFileContentsFlag

AlbumFileContentsFlag.

Enumerator
CapsAlbumFileContentsFlag_ScreenShot 

Query for ScreenShot files.

CapsAlbumFileContentsFlag_Movie 

Query for Movie files.

◆ CapsAlbumStorage

Enumerator
CapsAlbumStorage_Nand 

Nand.

CapsAlbumStorage_Sd 

Sd.

◆ CapsContentType

ContentType.

Enumerator
CapsContentType_Screenshot 

Album screenshots.

CapsContentType_Movie 

Album videos.

CapsContentType_ExtraMovie 

Videos recorded by the current host Application via grcCreateMovieMaker.

◆ CapsScreenShotDecoderFlag

ScreenShotDecoderFlag.

Enumerator
CapsScreenShotDecoderFlag_None 

No special processing.

CapsScreenShotDecoderFlag_EnableFancyUpsampling 

See libjpeg-turbo do_fancy_upsampling.

CapsScreenShotDecoderFlag_EnableBlockSmoothing 

See libjpeg-turbo do_block_smoothing.