annotate alpha/dsputil_alpha.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 9e7d38743146
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11396
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
1 /*
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
2 * This file is part of FFmpeg.
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
3 *
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
4 * FFmpeg is free software; you can redistribute it and/or
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
5 * modify it under the terms of the GNU Lesser General Public
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
6 * License as published by the Free Software Foundation; either
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
7 * version 2.1 of the License, or (at your option) any later version.
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
8 *
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
9 * FFmpeg is distributed in the hope that it will be useful,
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
12 * Lesser General Public License for more details.
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
13 *
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
14 * You should have received a copy of the GNU Lesser General Public
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
15 * License along with FFmpeg; if not, write to the Free Software
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
17 */
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
18
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
19 #ifndef AVCODEC_ALPHA_DSPUTIL_ALPHA_H
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
20 #define AVCODEC_ALPHA_DSPUTIL_ALPHA_H
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
21
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
22 #include "libavcodec/dsputil.h"
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
23
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
24 void ff_simple_idct_axp(DCTELEM *block);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
25 void ff_simple_idct_put_axp(uint8_t *dest, int line_size, DCTELEM *block);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
26 void ff_simple_idct_add_axp(uint8_t *dest, int line_size, DCTELEM *block);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
27
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
28 void put_pixels_axp_asm(uint8_t *block, const uint8_t *pixels,
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
29 int line_size, int h);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
30 void put_pixels_clamped_mvi_asm(const DCTELEM *block, uint8_t *pixels,
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
31 int line_size);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
32 void add_pixels_clamped_mvi_asm(const DCTELEM *block, uint8_t *pixels,
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
33 int line_size);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
34 extern void (*put_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
35 int line_size);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
36 extern void (*add_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
37 int line_size);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
38
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
39 void get_pixels_mvi(DCTELEM *restrict block,
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
40 const uint8_t *restrict pixels, int line_size);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
41 void diff_pixels_mvi(DCTELEM *block, const uint8_t *s1, const uint8_t *s2,
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
42 int stride);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
43 int pix_abs8x8_mvi(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
44 int pix_abs16x16_mvi_asm(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
45 int pix_abs16x16_x2_mvi(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
46 int pix_abs16x16_y2_mvi(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
47 int pix_abs16x16_xy2_mvi(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h);
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
48
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
49
9e7d38743146 Alpha: move dsputil prototypes to a header file
mru
parents:
diff changeset
50 #endif /* AVCODEC_ALPHA_DSPUTIL_ALPHA_H */