Artifact Reduction#

This filter reduces encoder artifacts, such as blocking artifacts, ringing, mosquito noise from a low-bitrate video while preserving the details of the original video. The encoder artifact reduction has been optimized for the H.264 encoder.

Here are the two modes of operation:

  • Mode 0 removes lesser artifacts, preserves low gradient information better, and is suited for higher bitrate videos.

  • Mode 1 is better suited for lower bitrate videos.

The filter’s input/output is as follows:

  • The input should be provided in a GPU buffer in BGR planar format, where each pixel component is a 32-bit float value.

  • The output of the filter is a GPU buffer of the same size as the input image, in BGR planar format, where each pixel component is a 32-bit float value.