Skip to main content

idct_1d

idct_1d(block, offset, stride)

Performs a 1D Inverse Discrete Cosine Transform on an 8-element block.

This function implements a fast AAN (Arai-Agui-Nakajima) algorithm. It performs the transformation in-place, modifying the input array directly.

NOTE: ported from ffmpeg https://github.com/RPi-Distro/ffmpeg/blob/3a48fe739a020d939a4e752684ef1eed901fd189/libavcodec/exr.c#L916

Kind: global function

ParamTypeDescription
blockFloat64ArrayA pointer to an array of 8 double-precision floating-point values.
offsetnumber
stridenumber