Mercurial > libavcodec.hg
annotate imgconvert.h @ 8533:0533343a4002 libavcodec
Export VDPAU support by installing vdpau.h.
author | cehoyos |
---|---|
date | Mon, 05 Jan 2009 23:25:58 +0000 |
parents | 2eaafc02cd3d |
children | eaa08ce79f9a |
rev | line source |
---|---|
6359
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
1 /* |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
2 * Misc image conversion routines |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
3 * most functionality is exported to the public API, see avcodec.h |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
4 * |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
5 * Copyright (c) 2008 Vitor Sessak |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
6 * |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
7 * This file is part of FFmpeg. |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
8 * |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
9 * FFmpeg is free software; you can redistribute it and/or |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
10 * modify it under the terms of the GNU Lesser General Public |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
11 * License as published by the Free Software Foundation; either |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
12 * version 2.1 of the License, or (at your option) any later version. |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
13 * |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
14 * FFmpeg is distributed in the hope that it will be useful, |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
17 * Lesser General Public License for more details. |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
18 * |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
19 * You should have received a copy of the GNU Lesser General Public |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
20 * License along with FFmpeg; if not, write to the Free Software |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
22 */ |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
23 |
7760 | 24 #ifndef AVCODEC_IMGCONVERT_H |
25 #define AVCODEC_IMGCONVERT_H | |
6359
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
26 |
6489
4d1efaedfae6
Add missing stdint.h #include to headers that use it.
diego
parents:
6435
diff
changeset
|
27 #include <stdint.h> |
6435 | 28 #include "avcodec.h" |
29 | |
6359
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
30 int ff_fill_linesize(AVPicture *picture, int pix_fmt, int width); |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
31 |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
32 int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, int pix_fmt, int height); |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
33 |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
34 int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane); |
d5a97935b2f1
Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff
changeset
|
35 |
8313
2eaafc02cd3d
Add img_convert() to imgconvert.h and #include it from imgresample.c.
diego
parents:
7760
diff
changeset
|
36 int img_convert(AVPicture *dst, int dst_pix_fmt, const AVPicture *src, |
2eaafc02cd3d
Add img_convert() to imgconvert.h and #include it from imgresample.c.
diego
parents:
7760
diff
changeset
|
37 int src_pix_fmt, int src_width, int src_height); |
2eaafc02cd3d
Add img_convert() to imgconvert.h and #include it from imgresample.c.
diego
parents:
7760
diff
changeset
|
38 |
7760 | 39 #endif /* AVCODEC_IMGCONVERT_H */ |