`#include "libavutil/mathematics.h"`

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. | |

void | ff_ref_fdct (short *block) |

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

void | ff_ref_idct (short *block) |

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

## Variables | |

static double | coefficients [8 *8] |

**Note:**- This file could be optimized a lot, but is for reference and so readability is better.

Definition in file dctref.c.

av_cold void ff_ref_dct_init | ( | void | ) |

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 57 of file dctref.c.

Referenced by dct_error().

void ff_ref_idct | ( | short * | block |
) |

double coefficients[8 *8]` [static]` |

Definition at line 33 of file dctref.c.

Referenced by ff_ref_dct_init(), ff_ref_fdct(), and ff_ref_idct().

Generated on Fri Oct 26 02:35:43 2012 for FFmpeg by 1.5.8