Difference between revisions of "Xavier/Processors/HDAV Subsystem/JPEG"
< Xavier | Processors | HDAV Subsystem
Maumontero (talk | contribs) |
m |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | {{Xavier/Head}} | + | {{Xavier/Head|previous=Processors/HDAV Subsystem/Video Decoder|next=Processors/HDAV Subsystem/Compositor|metakeywords=processors,audio,video,audio video subsystem, hd audio video subsystem,HDAV Subsystem,jpeg,jpeg plugin,gstreamer jpeg plugin}} |
</noinclude> | </noinclude> | ||
− | |||
− | |||
− | |||
− | = | + | {{DISPLAYTITLE:NVIDIA Jetson Xavier - HDAV Subsystem JPEG processing block|noerror}} |
+ | |||
+ | __TOC__ | ||
+ | <br> | ||
+ | The JPEG processing block is responsible for JPEG compression, decompression, image scaling, decoding (YUV420, YUV422H/V, YUV444, YUV400), and color space conversion (RGB to YUV). | ||
+ | |||
+ | ==Features== | ||
+ | * JPEG codec (8/12 bits per channel) | ||
+ | * JPEG2000 codec (8-16 bits per channel) | ||
+ | |||
+ | '''Input (encode) format:''' | ||
+ | * Subsample format: YUV420 | ||
+ | * Resolution (up to): 16K x 16K | ||
+ | * Pixel pack format | ||
+ | ** Semi-planar/Planar for 420 | ||
+ | '''Output (decode) formats:''' | ||
+ | * Resolution (up to): 16K x 16K | ||
+ | * Pixel pack format | ||
+ | ** Semi-planar/Planar for YUV420 | ||
+ | ** YUY2/Planar for 422H/422V | ||
+ | ** Planar for YUV444/YUV | ||
+ | |||
+ | ==NVIDIA Hardware Accelerated GStreamer JPEG Plugins== | ||
{| class="wikitable" style="margin-right: 22em;" | {| class="wikitable" style="margin-right: 22em;" | ||
|- | |- | ||
− | ! | + | ! Plugin !! Description |
|- | |- | ||
| nvjpegenc || JPEG encoder element | | nvjpegenc || JPEG encoder element | ||
Line 15: | Line 34: | ||
| nvjpegdec || JPEG decoder element | | nvjpegdec || JPEG decoder element | ||
|} | |} | ||
+ | |||
+ | ==Multimedia API== | ||
+ | The Multimedia API provides the <code>NvJpegEncoder</code> and the <code>NvJpegDecoder</code> helper classes. The examples located in <code>~/tegra_multimedia_api/samples/05_jpeg_encode</code> and <code>~/tegra_multimedia_api/samples/06_jpeg_decode</code> provide more information on how to use this API. | ||
<noinclude> | <noinclude> | ||
− | {{Xavier/Foot| | + | {{Xavier/Foot|Processors/HDAV Subsystem/Video Decoder|Processors/HDAV Subsystem/Compositor}} |
</noinclude> | </noinclude> |
Latest revision as of 12:43, 13 February 2023
The JPEG processing block is responsible for JPEG compression, decompression, image scaling, decoding (YUV420, YUV422H/V, YUV444, YUV400), and color space conversion (RGB to YUV).
Features
- JPEG codec (8/12 bits per channel)
- JPEG2000 codec (8-16 bits per channel)
Input (encode) format:
- Subsample format: YUV420
- Resolution (up to): 16K x 16K
- Pixel pack format
- Semi-planar/Planar for 420
Output (decode) formats:
- Resolution (up to): 16K x 16K
- Pixel pack format
- Semi-planar/Planar for YUV420
- YUY2/Planar for 422H/422V
- Planar for YUV444/YUV
NVIDIA Hardware Accelerated GStreamer JPEG Plugins
Plugin | Description |
---|---|
nvjpegenc | JPEG encoder element |
nvjpegdec | JPEG decoder element |
Multimedia API
The Multimedia API provides the NvJpegEncoder
and the NvJpegDecoder
helper classes. The examples located in ~/tegra_multimedia_api/samples/05_jpeg_encode
and ~/tegra_multimedia_api/samples/06_jpeg_decode
provide more information on how to use this API.