Skip to main content

Module filter

Module filter 

Source
Expand description

Filter operations for video codec implementations.

This module provides filtering primitives used in:

  • Scaling (horizontal and vertical resampling)
  • Loop filtering (deblocking)
  • In-loop restoration filters

All operations are designed to map efficiently to SIMD instructions.

Structs§

FilterOps
Filter operations using SIMD.
LoopFilterParams
Deblocking filter strength parameters.

Constants§

BILINEAR_COEFFS
Bilinear interpolation coefficients (2-tap).
SUBPEL_6TAP_COEFFS
6-tap sub-pixel interpolation coefficients.
SUBPEL_8TAP_REGULAR
8-tap high-quality interpolation coefficients (AV1 regular filter).

Functions§

calculate_thresholds
Calculate loop filter thresholds from parameters.
filter_ops
Create a filter operations instance with scalar fallback.
loop_filter_4
Simple 4-tap deblocking filter.
loop_filter_8
Strong 8-tap deblocking filter.