Difference between revisions of "Xavier/Processors/HDAV Subsystem/JPEG"

From RidgeRun Developer Connection
Jump to: navigation, search
m
m
Line 3: Line 3:
 
</noinclude>
 
</noinclude>
  
 +
__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).
 
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==  
 
* JPEG codec (8/12 bits per channel)
 
* JPEG codec (8/12 bits per channel)
 
* JPEG2000 codec (8-16 bits per channel)
 
* JPEG2000 codec (8-16 bits per channel)
Line 21: Line 23:
 
** Planar for YUV444/YUV
 
** Planar for YUV444/YUV
  
=Nvidia Hardware Accelerated Gstreamer JPEG Plugins=
+
==Nvidia Hardware Accelerated Gstreamer JPEG Plugins==
 
{| class="wikitable" style="margin-right: 22em;"
 
{| class="wikitable" style="margin-right: 22em;"
 
|-
 
|-
Line 31: Line 33:
 
|}
 
|}
  
=Multimedia API=
+
==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.
 
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.
  

Revision as of 22:32, 21 April 2020



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



Nvidia-preferred-partner-badge-rgb-for-screen.png




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