Difference between revisions of "Xavier/Processors/HDAV Subsystem/JPEG"
< Xavier | Processors | HDAV Subsystem
m |
m |
||
Line 5: | Line 5: | ||
__TOC__ | __TOC__ | ||
<br> | <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). | + | 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== | ==Features== |
Revision as of 13:45, 1 December 2020
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.