annotate dctref.h @ 12530:63edd10ad4bc libavcodec tip

Try to fix crashes introduced by r25218 r25218 made assumptions about the existence of past reference frames that weren't necessarily true.
author darkshikari
date Tue, 28 Sep 2010 09:06:22 +0000
parents 4b6b3ffbaee3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11408
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
1 /*
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
2 * reference discrete cosine transform (double precision)
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
3 * Copyright (C) 2009 Dylan Yudaken
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
4 *
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
5 * This file is part of FFmpeg.
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
6 *
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
11 *
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
15 * Lesser General Public License for more details.
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
16 *
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
20 */
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
21
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
22 #ifndef AVCODEC_DCTREF_H
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
23 #define AVCODEC_DCTREF_H
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
24
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
25 #include "dsputil.h"
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
26
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
27 void ff_ref_fdct(DCTELEM *block);
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
28 void ff_ref_idct(DCTELEM *block);
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
29 void ff_ref_dct_init(void);
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
30
4b6b3ffbaee3 Move dctref prototypes to a header file
mru
parents:
diff changeset
31 #endif