annotate faandct.h @ 5784:af2dab646def libavcodec

Augment mmcodecoding process to work properly with fields. Part of PAFF implementation. patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30
author andoma
date Sat, 06 Oct 2007 15:49:13 +0000
parents 2b72f9bc4f06
children 1d83e9c34641
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1557
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
1 /*
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
2 * Floating point AAN DCT
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
3 * Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at>
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
4 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
5 * This file is part of FFmpeg.
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
6 *
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
1557
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
1557
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
11 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
1557
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
15 * Lesser General Public License for more details.
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
16 *
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3036
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
3036
0b546eab515d Update licensing information: The FSF changed postal address.
diego
parents: 2967
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1557
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
20 */
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
21
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
22 /**
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
23 * @file faandct.h
2967
ef2149182f1c COSMETICS: Remove all trailing whitespace.
diego
parents: 1571
diff changeset
24 * @brief
1557
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
25 * Floating point AAN DCT
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
26 * @author Michael Niedermayer <michaelni@gmx.at>
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
27 */
2967
ef2149182f1c COSMETICS: Remove all trailing whitespace.
diego
parents: 1571
diff changeset
28
5163
9ecbfc0c82bf add multiple inclusion guards to headers
mru
parents: 5162
diff changeset
29 #ifndef AVCODEC_FAANDCT_H
9ecbfc0c82bf add multiple inclusion guards to headers
mru
parents: 5162
diff changeset
30 #define AVCODEC_FAANDCT_H
9ecbfc0c82bf add multiple inclusion guards to headers
mru
parents: 5162
diff changeset
31
5162
4394344397d8 include all prerequisites in header files
mru
parents: 3947
diff changeset
32 #include "dsputil.h"
4394344397d8 include all prerequisites in header files
mru
parents: 3947
diff changeset
33
1562
bf452704100f optionally merge postscale into quantization table for the float aan dct
michael
parents: 1557
diff changeset
34 #define FAAN_POSTSCALE
2967
ef2149182f1c COSMETICS: Remove all trailing whitespace.
diego
parents: 1571
diff changeset
35
1557
5d53c03186a1 floating point AAN DCT
michael
parents:
diff changeset
36 void ff_faandct(DCTELEM * data);
1571
aa4dc16c0f18 * adding integer/floating point AAN implementations for DCT 2-4-8
romansh
parents: 1562
diff changeset
37 void ff_faandct248(DCTELEM * data);
5163
9ecbfc0c82bf add multiple inclusion guards to headers
mru
parents: 5162
diff changeset
38
5169
3fd46e281bd8 add a comment to indicate which #endif belong to which #define
gpoirier
parents: 5163
diff changeset
39 #endif // AVCODEC_FAANDCT_H