10 #include "../sf/service.h"
11 #include "../services/caps.h"
Result capsdcInitialize(void)
Initialize caps:dc.
Service * capsdcGetServiceSession(void)
Gets the Service for caps:dc.
Result capsdcDecodeJpeg(u32 width, u32 height, const CapsScreenShotDecodeOption *opts, const void *jpeg, size_t jpeg_size, void *out_image, size_t out_image_size)
Decodes a jpeg buffer into RGBX.
void capsdcExit(void)
Exit caps:dc.
Result capsdcShrinkJpeg(u32 width, u32 height, const CapsScreenShotDecodeOption *opts, const void *jpeg, size_t jpeg_size, void *out_jpeg, size_t out_jpeg_size, u64 *out_result_size)
Shrinks a jpeg's dimensions by 2.
ScreenShotDecodeOption.
Definition: caps.h:74
Service object structure.
Definition: service.h:14
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
u32 Result
Function error code result type.
Definition: types.h:44
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21