FFmpeg
Functions
dctref.c File Reference

reference discrete cosine transform (double precision) More...

#include "libavutil/mathematics.h"
#include "dctref.h"

Functions

av_cold void ff_ref_dct_init (void)
 Initialize the double precision discrete cosine transform functions fdct & idct.
 
void ff_ref_fdct (short *block)
 Transform 8x8 block of data with a double precision forward DCT
This is a reference implementation. More...
 
void ff_ref_idct (short *block)
 Transform 8x8 block of data with a double precision inverse DCT
This is a reference implementation. More...
 

Detailed Description

reference discrete cosine transform (double precision)

Author
Dylan Yudaken (dyudaken at gmail)
Note
This file could be optimized a lot, but is for reference and so readability is better.

Function Documentation

§ ff_ref_fdct()

void ff_ref_fdct ( short *  block)

Transform 8x8 block of data with a double precision forward DCT
This is a reference implementation.

Parameters
blockpointer to 8x8 block of data to transform

§ ff_ref_idct()

void ff_ref_idct ( short *  block)

Transform 8x8 block of data with a double precision inverse DCT
This is a reference implementation.

Parameters
blockpointer to 8x8 block of data to transform