UHP, HP, HQ vs V4L2_ENC_HW_PRESET_XXX

Would it be correct to assume that

UHP = V4L2_ENC_HW_PRESET_ULTRAFAST

HP = V4L2_ENC_HW_PRESET_FAST

HQ = V4L2_ENC_HW_PRESET_SLOW

When looking at the chart on page 15 below vs the API definitions?

Perhaps you can make the naming consistent.

https://developer.download.nvidia.com/assets/embedded/secure/jetson/orin_nx/docs/Jetson_Orin_NX_DS-10712-001_v0.5.pdf?__token__=exp=1760948905~hmac=b783d196fb00f0de60eb57be2b9f96e65f517e2336bf73cff8ae406ba8aa9555&t=eyJscyI6IndlYnNpdGUiLCJsc2QiOiJkZXZlbG9wZXIubnZpZGlhLmNvbS9lbWJlZGRlZC9qZXRzb24tbGludXgtcjM2MyJ9

hello oviano,

that linkage has moving to https://developer.nvidia.com/?filename=403.html.
may I double check which documentation you’ve point-out?

It’s the data sheet for NVIDIA Jetson Orin NX Series, your official PDF documentation.

I can’t find a link that doesn’t have that token in it, which must be specific to my login or something.

hello oviano,

I see, you’re checking [Table 2-8: Supported Video Encode Streams] from Jetson Orin NX Series Modules Data Sheet.
for instance,
HQ (High Quality), HP (High Performance), UHP (Ultra High Performance).
these modes were trade-off of throughput v.s. quality results.
assume using H264 codec, YUV420 format.
UHP support up-to 4K@60-fps; HP support up-to 4K@30-fps; HQ support up-to 1080p@60-fps.

please also refer to below specifies the encoder HW preset type.
UHP =V4L2_ENC_HW_PRESET_ULTRAFAST
HP = V4L2_ENC_HW_PRESET_FAST
HQ = V4L2_ENC_HW_PRESET_MEDIUM

enum v4l2_enc_hw_preset_type
{
      /** Encoder HWPreset DISABLED. */
      V4L2_ENC_HW_PRESET_DISABLE = 0,
      /** Encoder HWPreset with per frame encode time UltraFast. */
      V4L2_ENC_HW_PRESET_ULTRAFAST = 1,
      /** Encoder HWPreset with per frame encode time Fast. */
      V4L2_ENC_HW_PRESET_FAST,
      /** Encoder HWPreset with per frame encode time Medium. */
      V4L2_ENC_HW_PRESET_MEDIUM,
      /** Encoder HWPreset with per frame encode time Slow. */
      V4L2_ENC_HW_PRESET_SLOW,
      /** Last value is Max value. */
      V4L2_ENC_HW_PRESET_DEFAULT = 0x7FFFFFFF
};

Yes, that’s right.

Let’s say I want my encoding to support 6 x 1080p60 HEVC streams, I can see this requires “UHP” as the configuration. Does that correspond to choosing V4L2_ENC_HW_PRESET_ULTRAFAST?

hello oviano,

yes, it supports 6x 1080p@60-fps HEVC streams with UHP profile.
V4L2_ENC_HW_PRESET_ULTRAFAST is NVENC running at UHP profile, throughput at 800MP/S with HEVC.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.