Upscale#

This is a very fast and light-weight method for upscaling an input video.

It also provides a sharpening parameter to sharpen the resulting output. Upscale supports any input resolution and can be upscaled 4/3x, 1.5x, 2x, 3x, or 4x. The output resolution values must be integers, and the ratio of widths must exactly equal the ratio of heights.

Upscale filter provides a floating-point strength value that ranges between 0.0 and 1.0. This signifies an enhancement parameter:

  • Strength 0 implies no enhancement, only upscaling.

  • Strength 1 implies the maximum enhancement.

  • The default value is 0.4.

The filter’s input/output is as follows:

  • The input should be provided in a GPU buffer in RGBA chunky/interleaved format, where each pixel is 32-bit, and therefore, eight-bit per pixel component.

  • The output of the filter is a GPU buffer in RGBA chunky/interleaved format, where each pixel is 32-bit and therefore, 8-bit per pixel component.

Here are some general recommendations:

  • If a video needs a fast resolution increase, use Upscale.

  • To increase the resolution of a video, use SuperRes with mode 1 for greater enhancement.

The following sample apps are provided for the Upscale filter:

  • VideoEffectsApp: This app runs the SuperRes and Upscale effects individually. Use it when you want to apply a filter to the input video.

  • UpscalePipelineApp: This app runs the Upscale effect by itself.

Both apps support input videos with the resolutions specified in Table 3‑1.