annotate imgconvert.h @ 12501:b3f9612d4ea7 libavcodec

Remove pointless semicolon
author vitor
date Fri, 17 Sep 2010 19:33:56 +0000
parents e7de1ba6dbc0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 6489
diff changeset
24 #ifndef AVCODEC_IMGCONVERT_H
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 6489
diff changeset
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
cb4ee143ad29 include required header
aurel
parents: 6361
diff changeset
28 #include "avcodec.h"
cb4ee143ad29 include required header
aurel
parents: 6361
diff changeset
29
12320
035ca6548e29 Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize,
stefano
parents: 9221
diff changeset
30 #if LIBAVCODEC_VERSION_MAJOR < 53
035ca6548e29 Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize,
stefano
parents: 9221
diff changeset
31 attribute_deprecated
9221
a15ec86bf752 Globally prefer enum PixelFormat over int when it makes sense.
stefano
parents: 9207
diff changeset
32 int ff_fill_linesize(AVPicture *picture, enum PixelFormat pix_fmt, int width);
6359
d5a97935b2f1 Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff changeset
33
12320
035ca6548e29 Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize,
stefano
parents: 9221
diff changeset
34 attribute_deprecated
9221
a15ec86bf752 Globally prefer enum PixelFormat over int when it makes sense.
stefano
parents: 9207
diff changeset
35 int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, enum PixelFormat pix_fmt, int height);
12387
e7de1ba6dbc0 Deprecate ff_get_plane_bytewidth() in favor of
stefano
parents: 12320
diff changeset
36
e7de1ba6dbc0 Deprecate ff_get_plane_bytewidth() in favor of
stefano
parents: 12320
diff changeset
37 attribute_deprecated
e7de1ba6dbc0 Deprecate ff_get_plane_bytewidth() in favor of
stefano
parents: 12320
diff changeset
38 int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane);
12320
035ca6548e29 Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize,
stefano
parents: 9221
diff changeset
39 #endif
6359
d5a97935b2f1 Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff changeset
40
8748
eaa08ce79f9a Ensure that the palette is set in data[1] for all 8bit formats.
michael
parents: 8313
diff changeset
41 int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt);
eaa08ce79f9a Ensure that the palette is set in data[1] for all 8bit formats.
michael
parents: 8313
diff changeset
42
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 6489
diff changeset
43 #endif /* AVCODEC_IMGCONVERT_H */