By entering this site you need to consent to the use of cookies and their functional use according to this privacy policy. Cookies help us to provide the functional services of the website. Kindly read the below message of use and consent to the use.
The following cookies are stored and shared when accessing this website:
- Internal cookies for the MediaWiki site. This is used for user authentication and article modifications.
- Third-party cookies from Google providing services for Google AdSense and Google Analytics
We will never use data collected outside of the above scope.
Jpegdec is a refactored sysmodule for handling all JPEG decoding associated with [[Capture_services|capture services]].
+
Jpegdec is a refactored sysmodule added with [4.0.0+] for handling all JPEG decoding associated with [[Capture_services|capture services]].
= caps:dc =
= caps:dc =
+
This is "nn::capsrv::sf::IDecoderControlService".
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
−
! Cmd || Name || Notes
+
! Cmd || Name
|-
|-
−
| 3001 || || Takes a total of 0x28-bytes of input, type-0x46 and type-0x5 buffers, and no output.
+
| 3001 || [[#DecodeJpeg]]
+
|-
+
| 4001 || ShrinkJpeg
+
|-
+
| 4002 || [18.0.0+]
|}
|}
+
+
== DecodeJpeg ==
+
Takes an input u32 '''width''', an input u32 '''height''', an input [[Capture_services#ScreenShotDecodeOption|ScreenShotDecodeOption]], a type-0x46 output buffer, a type-0x5 input buffer, and no output.
+
+
The type-0x46 buffer contains the RGBA8 image data. The type-0x5 buffer contains the input JPEG data.