Xavier/Processors/HDAV Subsystem/JPEG: Difference between revisions

From RidgeRun Developer Wiki
mNo edit summary
mNo edit summary
Line 13: Line 13:
* JPEG2000 codec (8-16 bits per channel)
* JPEG2000 codec (8-16 bits per channel)


Input (encode) format:
'''Input (encode) format:'''
* Subsample format: YUV420
* Subsample format: YUV420
* Resolution (up to): 16K x 16K
* Resolution (up to): 16K x 16K
* Pixel pack format
* Pixel pack format
** Semi-planar/Planar for 420
** Semi-planar/Planar for 420
Output (decode) formats:
'''Output (decode) formats:'''
* Resolution (up to): 16K x 16K
* Resolution (up to): 16K x 16K
* Pixel pack format
* Pixel pack format

Revision as of 12:10, 2 September 2022




Previous: Processors/HDAV Subsystem/Video Decoder Index Next: Processors/HDAV Subsystem/Compositor







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.



Previous: Processors/HDAV Subsystem/Video Decoder Index Next: Processors/HDAV Subsystem/Compositor