FFmpeg
|
reference discrete cosine transform (double precision) More...
Include dependency graph for dctref.c:

Go to the source code of this file.
Functions | |
av_cold void | ff_ref_dct_init (void) |
Initialize the double precision discrete cosine transform functions fdct & idct. More... | |
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... | |
Variables | |
static double | coefficients [8 *8] |
Detailed Description
reference discrete cosine transform (double precision)
- Note
- This file could be optimized a lot, but is for reference and so readability is better.
Definition in file dctref.c.
Function Documentation
void ff_ref_fdct | ( | short * | block | ) |
Transform 8x8 block of data with a double precision forward DCT
This is a reference implementation.
- Parameters
-
block pointer to 8x8 block of data to transform
Definition at line 59 of file dctref.c.
Referenced by dct_error(), and init_block().
void ff_ref_idct | ( | short * | block | ) |
Transform 8x8 block of data with a double precision inverse DCT
This is a reference implementation.
- Parameters
-
block pointer to 8x8 block of data to transform
Definition at line 95 of file dctref.c.
Referenced by dct_error().
Variable Documentation
|
static |
Definition at line 35 of file dctref.c.
Referenced by ff_ref_dct_init(), ff_ref_fdct(), and ff_ref_idct().
Generated on Sat Feb 22 2025 06:54:46 for FFmpeg by
