libnx
v4.7.0
|
Album Accessor (caps:a) service IPC wrapper. More...
Go to the source code of this file.
Functions | |
Result | capsaInitialize (void) |
Initialize caps:a. | |
void | capsaExit (void) |
Exit caps:a. | |
Service * | capsaGetServiceSession (void) |
Gets the Service for caps:a. | |
Service * | capsaGetServiceSession_Accessor (void) |
Gets the Service for IAlbumAccessorSession, only initialized after capsaOpenAlbumMovieStream was used (unaffected by using capsaCloseAlbumMovieStream). | |
Result | capsaGetAlbumFileCount (CapsAlbumStorage storage, u64 *count) |
Gets the amount of files at a AlbumStorage. More... | |
Result | capsaGetAlbumFileList (CapsAlbumStorage storage, u64 *out, CapsAlbumEntry *entries, u64 count) |
Gets a listing of CapsAlbumEntry, where the AlbumFile's storage matches the input one. More... | |
Result | capsaLoadAlbumFile (const CapsAlbumFileId *file_id, u64 *out_size, void *filebuf, u64 filebuf_size) |
Loads a file into the specified buffer. More... | |
Result | capsaDeleteAlbumFile (const CapsAlbumFileId *file_id) |
Deletes an AlbumFile corresponding to the specified CapsAlbumFileId. More... | |
Result | capsaStorageCopyAlbumFile (const CapsAlbumFileId *file_id, CapsAlbumStorage dst_storage) |
Copies an AlbumFile to the specified CapsAlbumStorage. More... | |
Result | capsaIsAlbumMounted (CapsAlbumStorage storage, bool *is_mounted) |
Gets the mount status of the specified CapsAlbumStorage. More... | |
Result | capsaGetAlbumUsage (CapsAlbumStorage storage, CapsAlbumUsage2 *out) |
Returns the AlbumUsage for a specified CapsAlbumStorage. More... | |
Result | capsaGetAlbumFileSize (const CapsAlbumFileId *file_id, u64 *size) |
Gets the size for the specified AlbumFile. More... | |
Result | capsaLoadAlbumFileThumbnail (const CapsAlbumFileId *file_id, u64 *out_size, void *image, u64 image_size) |
Load the Thumbnail for the specified AlbumFile. More... | |
Result | capsaLoadAlbumScreenShotImage (u64 *width, u64 *height, const CapsAlbumFileId *file_id, void *image, u64 image_size, void *workbuf, u64 workbuf_size) |
Load the ScreenShotImage for the specified AlbumFile. More... | |
Result | capsaLoadAlbumScreenShotThumbnailImage (u64 *width, u64 *height, const CapsAlbumFileId *file_id, void *image, u64 image_size, void *workbuf, u64 workbuf_size) |
Load the ScreenShotThumbnailImage for the specified AlbumFile. More... | |
Result | capsaGetAlbumEntryFromApplicationAlbumEntry (CapsAlbumEntry *entry, const CapsApplicationAlbumEntry *application_entry, u64 application_id) |
Load an CapsAlbumEntry from a CapsApplicationAlbumEntry and an ApplicationId. More... | |
Result | capsaLoadAlbumScreenShotImageEx (u64 *width, u64 *height, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void *image, u64 image_size, void *workbuf, u64 workbuf_size) |
Load the ScreenShotImage for the specified AlbumFile. More... | |
Result | capsaLoadAlbumScreenShotThumbnailImageEx (u64 *width, u64 *height, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void *image, u64 image_size, void *workbuf, u64 workbuf_size) |
Load the ScreenShotThumbnailImage for the specified AlbumFile. More... | |
Result | capsaLoadAlbumScreenShotImageEx0 (u64 *width, u64 *height, CapsScreenShotAttribute *attr, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void *image, u64 image_size, void *workbuf, u64 workbuf_size) |
Load the ScreenShotImage for the specified AlbumFile. More... | |
Result | capsaGetAlbumUsage3 (CapsAlbumStorage storage, CapsAlbumUsage3 *out) |
Returns the AlbumUsage for a specified CapsAlbumStorage. More... | |
Result | capsaGetAlbumMountResult (CapsAlbumStorage storage) |
Returns the result for a AlbumStorage mount. More... | |
Result | capsaGetAlbumUsage16 (CapsAlbumStorage storage, u8 flags, CapsAlbumUsage16 *out) |
Returns the AlbumUsage for a specified CapsAlbumStorage. More... | |
Result | capsaGetMinMaxAppletId (bool *success, u64 *min, u64 *max) |
Returns the start and end of the Applet Id range. More... | |
Result | capsaGetAlbumFileCountEx0 (CapsAlbumStorage storage, u8 flags, u64 *count) |
Gets the amount of files of the specified type at a AlbumStorage. More... | |
Result | capsaGetAlbumFileListEx0 (CapsAlbumStorage storage, u8 flags, u64 *out, CapsAlbumEntry *entries, u64 count) |
Gets a listing of CapsAlbumEntry, where the AlbumFile's storage and type matches the input one. More... | |
Result | capsaGetLastOverlayScreenShotThumbnail (CapsAlbumFileId *file_id, u64 *out_size, void *image, u64 image_size) |
Returns the image from the last shown ScreenShot Overlay. More... | |
Result | capsaGetLastOverlayMovieThumbnail (CapsAlbumFileId *file_id, u64 *out_size, void *image, u64 image_size) |
Returns the image from the last shown Movie Overlay. More... | |
Result | capsaGetAutoSavingStorage (CapsAlbumStorage *storage) |
Gets the currently set autosaving storage. More... | |
Result | capsaGetRequiredStorageSpaceSizeToCopyAll (CapsAlbumStorage dst_storage, CapsAlbumStorage src_storage, u64 *out) |
Gets required size to copy all files from one Storage to another. More... | |
Result | capsLoadAlbumScreenShotThumbnailImageEx0 (u64 *width, u64 *height, CapsScreenShotAttribute *attr, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void *image, u64 image_size, void *workbuf, u64 workbuf_size) |
Load the ScreenShotThumbnailImage for the specified AlbumFile. More... | |
Result | capsaLoadAlbumScreenShotImageEx1 (const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, CapsLoadAlbumScreenShotImageOutput *out, void *image, u64 image_size, void *workbuf, u64 workbuf_size) |
Load the ScreenShotImage for the specified AlbumFile. More... | |
Result | capsaLoadAlbumScreenShotThumbnailImageEx1 (const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, CapsLoadAlbumScreenShotImageOutput *out, void *image, u64 image_size, void *workbuf, u64 workbuf_size) |
Load the ScreenShotThumbnailImage for the specified AlbumFile. More... | |
Result | capsaForceAlbumUnmounted (CapsAlbumStorage storage) |
Unmounts the specified AlbumStorage. More... | |
Result | capsaResetAlbumMountStatus (CapsAlbumStorage storage) |
Resets mount status for the specified AlbumStorage. More... | |
Result | capsaRefreshAlbumCache (CapsAlbumStorage storage) |
Refreshs Album Cache for the specified AlbumStorage. More... | |
Result | capsaGetAlbumCache (CapsAlbumStorage storage, CapsAlbumCache *cache) |
Gets the AlbumCache of the specified AlbumStorage. More... | |
Result | capsaGetAlbumCacheEx (CapsAlbumStorage storage, CapsAlbumFileContents contents, CapsAlbumCache *cache) |
Gets the AlbumCache for the specified type of the specified AlbumStorage. More... | |
Result | capsaGetAlbumEntryFromApplicationAlbumEntryAruid (CapsAlbumEntry *entry, const CapsApplicationAlbumEntry *application_entry) |
Load an CapsAlbumEntry from a CapsApplicationAlbumEntry and an AppletResourceUserId. More... | |
Result | capsaOpenAlbumMovieStream (u64 *stream, const CapsAlbumFileId *file_id) |
Opens an AlbumMovieStream. More... | |
Result | capsaCloseAlbumMovieStream (u64 stream) |
Closes an AlbumMovieStream. More... | |
Result | capsaGetAlbumMovieStreamSize (u64 stream, u64 *size) |
Gets the data size of an AlbumMovieStream. More... | |
Result | capsaReadMovieDataFromAlbumMovieReadStream (u64 stream, s64 offset, void *buffer, size_t size, u64 *actual_size) |
Reads data from an AlbumMovieStream. More... | |
Result | capsaGetAlbumMovieReadStreamBrokenReason (u64 stream) |
Gets the BrokenReason for an AlbumMovieStream. More... | |
Result | capsaGetAlbumMovieReadStreamImageDataSize (u64 stream, u64 *size) |
Gets the data size of an Image taken from an AlbumMovieStream. More... | |
Result | capsaReadImageDataFromAlbumMovieReadStream (u64 stream, s64 offset, void *buffer, size_t size, u64 *actual_size) |
Reads data of an Image taken from an AlbumMovieStream. More... | |
Result | capsaReadFileAttributeFromAlbumMovieReadStream (u64 stream, CapsScreenShotAttribute *attr) |
Gets the file attribute of an AlbumMovieStream. More... | |
Album Accessor (caps:a) service IPC wrapper.
Closes an AlbumMovieStream.
[in] | stream | Stream handle. |
Result capsaDeleteAlbumFile | ( | const CapsAlbumFileId * | file_id | ) |
Deletes an AlbumFile corresponding to the specified CapsAlbumFileId.
[in] | file_id | CapsAlbumFileId |
Result capsaForceAlbumUnmounted | ( | CapsAlbumStorage | storage | ) |
Unmounts the specified AlbumStorage.
[in] | storage | CapsAlbumStorage |
Result capsaGetAlbumCache | ( | CapsAlbumStorage | storage, |
CapsAlbumCache * | cache | ||
) |
Gets the AlbumCache of the specified AlbumStorage.
[in] | storage | CapsAlbumStorage |
[out] | cache | CapsAlbumCache |
Result capsaGetAlbumCacheEx | ( | CapsAlbumStorage | storage, |
CapsAlbumFileContents | contents, | ||
CapsAlbumCache * | cache | ||
) |
Gets the AlbumCache for the specified type of the specified AlbumStorage.
[in] | storage | CapsAlbumStorage |
[in] | contents | CapsAlbumFileContents |
[out] | cache | CapsAlbumCache |
Result capsaGetAlbumEntryFromApplicationAlbumEntry | ( | CapsAlbumEntry * | entry, |
const CapsApplicationAlbumEntry * | application_entry, | ||
u64 | application_id | ||
) |
Load an CapsAlbumEntry from a CapsApplicationAlbumEntry and an ApplicationId.
[out] | entry | CapsAlbumEntry |
[in] | application_entry | CapsApplicationAlbumEntry |
[in] | application_id | ApplicationId |
Result capsaGetAlbumEntryFromApplicationAlbumEntryAruid | ( | CapsAlbumEntry * | entry, |
const CapsApplicationAlbumEntry * | application_entry | ||
) |
Load an CapsAlbumEntry from a CapsApplicationAlbumEntry and an AppletResourceUserId.
[out] | entry | CapsAlbumEntry |
[in] | application_entry | CapsApplicationAlbumEntry |
Result capsaGetAlbumFileCount | ( | CapsAlbumStorage | storage, |
u64 * | count | ||
) |
Gets the amount of files at a AlbumStorage.
[in] | storage | CapsAlbumStorage |
[out] | count | Amount of files. |
Result capsaGetAlbumFileCountEx0 | ( | CapsAlbumStorage | storage, |
u8 | flags, | ||
u64 * | count | ||
) |
Gets the amount of files of the specified type at a AlbumStorage.
[in] | storage | CapsAlbumStorage |
[in] | flags | CapsAlbumFileContentsFlag |
[out] | count | Amount of files. |
Result capsaGetAlbumFileList | ( | CapsAlbumStorage | storage, |
u64 * | out, | ||
CapsAlbumEntry * | entries, | ||
u64 | count | ||
) |
Gets a listing of CapsAlbumEntry, where the AlbumFile's storage matches the input one.
[in] | storage | CapsAlbumStorage |
[out] | out | Total output entries. |
[out] | entries | Output array of CapsAlbumEntry. |
[in] | count | Reserved entry count. |
Result capsaGetAlbumFileListEx0 | ( | CapsAlbumStorage | storage, |
u8 | flags, | ||
u64 * | out, | ||
CapsAlbumEntry * | entries, | ||
u64 | count | ||
) |
Gets a listing of CapsAlbumEntry, where the AlbumFile's storage and type matches the input one.
[in] | storage | CapsAlbumStorage |
[in] | flags | CapsAlbumFileContentsFlag |
[out] | out | Total output entries. |
[out] | entries | Output array of CapsAlbumEntry. |
[in] | count | Reserved entry count. |
Result capsaGetAlbumFileSize | ( | const CapsAlbumFileId * | file_id, |
u64 * | size | ||
) |
Gets the size for the specified AlbumFile.
[in] | file_id | CapsAlbumFileId |
[out] | size | Size of the file. |
Result capsaGetAlbumMountResult | ( | CapsAlbumStorage | storage | ) |
Returns the result for a AlbumStorage mount.
[in] | storage | CapsAlbumStorage |
Gets the BrokenReason for an AlbumMovieStream.
[in] | stream | Stream handle. |
Gets the data size of an Image taken from an AlbumMovieStream.
[in] | stream | Stream handle. |
[out] | size | Expected size of an Image. |
Gets the data size of an AlbumMovieStream.
[in] | stream | Stream handle. |
[out] | size | Size of the actual MP4, without the JPEG at the end. |
Result capsaGetAlbumUsage | ( | CapsAlbumStorage | storage, |
CapsAlbumUsage2 * | out | ||
) |
Returns the AlbumUsage for a specified CapsAlbumStorage.
[in] | storage | CapsAlbumStorage |
[out] | out | CapsAlbumUsage2 |
Result capsaGetAlbumUsage16 | ( | CapsAlbumStorage | storage, |
u8 | flags, | ||
CapsAlbumUsage16 * | out | ||
) |
Returns the AlbumUsage for a specified CapsAlbumStorage.
[in] | storage | CapsAlbumStorage |
[in] | flags | CapsAlbumFileContentsFlag |
[out] | out | CapsAlbumUsage16 |
Result capsaGetAlbumUsage3 | ( | CapsAlbumStorage | storage, |
CapsAlbumUsage3 * | out | ||
) |
Returns the AlbumUsage for a specified CapsAlbumStorage.
[in] | storage | CapsAlbumStorage |
[out] | out | CapsAlbumUsage3 |
Result capsaGetAutoSavingStorage | ( | CapsAlbumStorage * | storage | ) |
Gets the currently set autosaving storage.
[out] | storage | CapsAlbumStorage |
Result capsaGetLastOverlayMovieThumbnail | ( | CapsAlbumFileId * | file_id, |
u64 * | out_size, | ||
void * | image, | ||
u64 | image_size | ||
) |
Returns the image from the last shown Movie Overlay.
[out] | file_id | CapsAlbumFileId |
[out] | out_size | Size of the thumbnail image. Always 0x5100. |
[out] | image | RGBA8 image output buffer. |
[in] | image_size | Image buffer size, should be at least large enough for RGBA8 96×54. |
Result capsaGetLastOverlayScreenShotThumbnail | ( | CapsAlbumFileId * | file_id, |
u64 * | out_size, | ||
void * | image, | ||
u64 | image_size | ||
) |
Returns the image from the last shown ScreenShot Overlay.
[out] | file_id | CapsAlbumFileId |
[out] | out_size | Size of the thumbnail image. Always 0x5100. |
[out] | image | RGBA8 image output buffer. |
[in] | image_size | Image buffer size, should be at least large enough for RGBA8 96×54. |
Returns the start and end of the Applet Id range.
[out] | success | Returns bool over whether the call was handled or not. |
[out] | min | Mimimum applet id. Always 0x0100000000001000 |
[out] | max | Maximum applet id. Always 0x0100000000001FFF |
Result capsaGetRequiredStorageSpaceSizeToCopyAll | ( | CapsAlbumStorage | dst_storage, |
CapsAlbumStorage | src_storage, | ||
u64 * | out | ||
) |
Gets required size to copy all files from one Storage to another.
[in] | dst_storage | CapsAlbumStorage |
[in] | src_storage | CapsAlbumStorage |
[out] | out | Required storage space size. |
Result capsaIsAlbumMounted | ( | CapsAlbumStorage | storage, |
bool * | is_mounted | ||
) |
Gets the mount status of the specified CapsAlbumStorage.
[in] | storage | CapsAlbumStorage |
[out] | is_mounted | Boolean over whether the storage is mounted or not. |
Result capsaLoadAlbumFile | ( | const CapsAlbumFileId * | file_id, |
u64 * | out_size, | ||
void * | filebuf, | ||
u64 | filebuf_size | ||
) |
Loads a file into the specified buffer.
[in] | file_id | CapsAlbumFileId |
[out] | out_size | Size of the AlbumFile. |
[out] | filebuf | File output buffer. |
[in] | filebuf_size | Size of the filebuf. |
Result capsaLoadAlbumFileThumbnail | ( | const CapsAlbumFileId * | file_id, |
u64 * | out_size, | ||
void * | image, | ||
u64 | image_size | ||
) |
Load the Thumbnail for the specified AlbumFile.
[in] | file_id | CapsAlbumFileId |
[out] | out_size | Size of the Thumbnail. |
[out] | image | JPEG image output buffer. |
[in] | image_size | Image buffer size. |
Result capsaLoadAlbumScreenShotImage | ( | u64 * | width, |
u64 * | height, | ||
const CapsAlbumFileId * | file_id, | ||
void * | image, | ||
u64 | image_size, | ||
void * | workbuf, | ||
u64 | workbuf_size | ||
) |
Load the ScreenShotImage for the specified AlbumFile.
[out] | width | Output image width. Optional, can be NULL. |
[out] | height | Output image height. Optional, can be NULL. |
[in] | file_id | CapsAlbumFileId |
[out] | image | RGBA8 image output buffer. |
[in] | image_size | Image buffer size, should be at least large enough for RGBA8 1280x720. |
[out] | workbuf | Work buffer, cleared to 0 by the cmd before it returns. |
[in] | workbuf_size | Work buffer size, must be at least the size of the JPEG within the AlbumFile. |
Result capsaLoadAlbumScreenShotImageEx | ( | u64 * | width, |
u64 * | height, | ||
const CapsAlbumFileId * | file_id, | ||
const CapsScreenShotDecodeOption * | opts, | ||
void * | image, | ||
u64 | image_size, | ||
void * | workbuf, | ||
u64 | workbuf_size | ||
) |
Load the ScreenShotImage for the specified AlbumFile.
[out] | width | Output image width. Optional, can be NULL. |
[out] | height | Output image height. Optional, can be NULL. |
[in] | file_id | CapsAlbumFileId |
[in] | opts | CapsScreenShotDecodeOption |
[out] | image | RGBA8 image output buffer. |
[in] | image_size | Image buffer size, should be at least large enough for RGBA8 1280x720. |
[out] | workbuf | Work buffer, cleared to 0 by the cmd before it returns. |
[in] | workbuf_size | Work buffer size, must be at least the size of the JPEG within the AlbumFile. |
Result capsaLoadAlbumScreenShotImageEx0 | ( | u64 * | width, |
u64 * | height, | ||
CapsScreenShotAttribute * | attr, | ||
const CapsAlbumFileId * | file_id, | ||
const CapsScreenShotDecodeOption * | opts, | ||
void * | image, | ||
u64 | image_size, | ||
void * | workbuf, | ||
u64 | workbuf_size | ||
) |
Load the ScreenShotImage for the specified AlbumFile.
[out] | width | Output image width. Optional, can be NULL. |
[out] | height | Output image height. Optional, can be NULL. |
[out] | attr | CapsScreenShotAttribute |
[in] | file_id | CapsAlbumFileId |
[in] | opts | CapsScreenShotDecodeOption |
[out] | image | RGBA8 image output buffer. |
[in] | image_size | Image buffer size, should be at least large enough for RGBA8 1280x720. |
[out] | workbuf | Work buffer, cleared to 0 by the cmd before it returns. |
[in] | workbuf_size | Work buffer size, must be at least the size of the JPEG within the AlbumFile. |
Result capsaLoadAlbumScreenShotImageEx1 | ( | const CapsAlbumFileId * | file_id, |
const CapsScreenShotDecodeOption * | opts, | ||
CapsLoadAlbumScreenShotImageOutput * | out, | ||
void * | image, | ||
u64 | image_size, | ||
void * | workbuf, | ||
u64 | workbuf_size | ||
) |
Load the ScreenShotImage for the specified AlbumFile.
[in] | file_id | CapsAlbumFileId |
[in] | opts | CapsScreenShotDecodeOption |
[out] | out | CapsLoadAlbumScreenShotImageOutput |
[out] | image | RGBA8 image output buffer. |
[in] | image_size | Image buffer size, should be at least large enough for RGBA8 1280x720. |
[out] | workbuf | Work buffer, cleared to 0 by the cmd before it returns. |
[in] | workbuf_size | Work buffer size, must be at least the size of the JPEG within the AlbumFile. |
Result capsaLoadAlbumScreenShotThumbnailImage | ( | u64 * | width, |
u64 * | height, | ||
const CapsAlbumFileId * | file_id, | ||
void * | image, | ||
u64 | image_size, | ||
void * | workbuf, | ||
u64 | workbuf_size | ||
) |
Load the ScreenShotThumbnailImage for the specified AlbumFile.
[out] | width | Output image width. Optional, can be NULL. |
[out] | height | Output image height. Optional, can be NULL. |
[in] | file_id | CapsAlbumFileId |
[out] | image | RGBA8 image output buffer. |
[in] | image_size | Image buffer size, should be at least large enough for RGBA8 320x180. |
[out] | workbuf | Work buffer, cleared to 0 by the cmd before it returns. |
[in] | workbuf_size | Work buffer size, must be at least the size of the JPEG within the AlbumFile. |
Result capsaLoadAlbumScreenShotThumbnailImageEx | ( | u64 * | width, |
u64 * | height, | ||
const CapsAlbumFileId * | file_id, | ||
const CapsScreenShotDecodeOption * | opts, | ||
void * | image, | ||
u64 | image_size, | ||
void * | workbuf, | ||
u64 | workbuf_size | ||
) |
Load the ScreenShotThumbnailImage for the specified AlbumFile.
[out] | width | Output image width. Optional, can be NULL. |
[out] | height | Output image height. Optional, can be NULL. |
[in] | file_id | CapsAlbumFileId |
[in] | opts | CapsScreenShotDecodeOption |
[out] | image | RGBA8 image output buffer. |
[in] | image_size | Image buffer size, should be at least large enough for RGBA8 320x180. |
[out] | workbuf | Work buffer, cleared to 0 by the cmd before it returns. |
[in] | workbuf_size | Work buffer size, must be at least the size of the JPEG within the AlbumFile. |
Result capsaLoadAlbumScreenShotThumbnailImageEx1 | ( | const CapsAlbumFileId * | file_id, |
const CapsScreenShotDecodeOption * | opts, | ||
CapsLoadAlbumScreenShotImageOutput * | out, | ||
void * | image, | ||
u64 | image_size, | ||
void * | workbuf, | ||
u64 | workbuf_size | ||
) |
Load the ScreenShotThumbnailImage for the specified AlbumFile.
[in] | file_id | CapsAlbumFileId |
[in] | opts | CapsScreenShotDecodeOption |
[out] | out | CapsLoadAlbumScreenShotImageOutput |
[out] | image | RGBA8 image output buffer. |
[in] | image_size | Image buffer size, should be at least large enough for RGBA8 320x180. |
[out] | workbuf | Work buffer, cleared to 0 by the cmd before it returns. |
[in] | workbuf_size | Work buffer size, must be at least the size of the JPEG within the AlbumFile. |
Result capsaOpenAlbumMovieStream | ( | u64 * | stream, |
const CapsAlbumFileId * | file_id | ||
) |
Opens an AlbumMovieStream.
[out] | stream | Stream handle. |
[in] | entry | CapsAlbumFileId |
Result capsaReadFileAttributeFromAlbumMovieReadStream | ( | u64 | stream, |
CapsScreenShotAttribute * | attr | ||
) |
Gets the file attribute of an AlbumMovieStream.
[in] | stream | Stream handle. |
[out] | attr | CapsScreenShotAttribute |
Result capsaReadImageDataFromAlbumMovieReadStream | ( | u64 | stream, |
s64 | offset, | ||
void * | buffer, | ||
size_t | size, | ||
u64 * | actual_size | ||
) |
Reads data of an Image taken from an AlbumMovieStream.
[in] | stream | Stream handle. |
[in] | offset | Offset. |
[out] | Output | data buffer. |
[in] | size | Data buffer size. |
[out] | actual_size | Actual read size. |
Result capsaReadMovieDataFromAlbumMovieReadStream | ( | u64 | stream, |
s64 | offset, | ||
void * | buffer, | ||
size_t | size, | ||
u64 * | actual_size | ||
) |
Reads data from an AlbumMovieStream.
[in] | stream | Stream handle. |
[in] | offset | Offset. |
[out] | Output | data buffer. |
[in] | size | Data buffer size. |
[out] | actual_size | Actual read size. |
Result capsaRefreshAlbumCache | ( | CapsAlbumStorage | storage | ) |
Refreshs Album Cache for the specified AlbumStorage.
[in] | storage | CapsAlbumStorage |
Result capsaResetAlbumMountStatus | ( | CapsAlbumStorage | storage | ) |
Resets mount status for the specified AlbumStorage.
[in] | storage | CapsAlbumStorage |
Result capsaStorageCopyAlbumFile | ( | const CapsAlbumFileId * | file_id, |
CapsAlbumStorage | dst_storage | ||
) |
Copies an AlbumFile to the specified CapsAlbumStorage.
[in] | file_id | CapsAlbumFileId |
[in] | dst_storage | CapsAlbumStorage |
Result capsLoadAlbumScreenShotThumbnailImageEx0 | ( | u64 * | width, |
u64 * | height, | ||
CapsScreenShotAttribute * | attr, | ||
const CapsAlbumFileId * | file_id, | ||
const CapsScreenShotDecodeOption * | opts, | ||
void * | image, | ||
u64 | image_size, | ||
void * | workbuf, | ||
u64 | workbuf_size | ||
) |
Load the ScreenShotThumbnailImage for the specified AlbumFile.
[out] | width | Output image width. Optional, can be NULL. |
[out] | height | Output image height. Optional, can be NULL. |
[out] | attr | CapsScreenShotAttribute |
[in] | file_id | CapsAlbumFileId |
[in] | opts | CapsScreenShotDecodeOption |
[out] | image | RGBA8 image output buffer. |
[in] | image_size | Image buffer size, should be at least large enough for RGBA8 320x180. |
[out] | workbuf | Work buffer, cleared to 0 by the cmd before it returns. |
[in] | workbuf_size | Work buffer size, must be at least the size of the JPEG within the AlbumFile. |