Difference between revisions of "Jpegdec services"

From Nintendo Switch Brew
Jump to: navigation, search
(Cmd3001)
 
Line 12: Line 12:
 
== Cmd3001 ==
 
== Cmd3001 ==
 
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.
 
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.
  
 
[[Category:Services]]
 
[[Category:Services]]

Latest revision as of 01:36, 6 September 2019

Jpegdec is a refactored sysmodule added with [4.0.0+] for handling all JPEG decoding associated with capture services.

caps:dc

Cmd Name
3001

Cmd3001

Takes an input u32 width, an input u32 height, an input 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.