annotate imgconvert.h @ 7755:1c0e498ac7bd libavcodec

simplify code and comment regarding determination whether or not AHT is used.
author jbr
date Sun, 31 Aug 2008 03:01:56 +0000
parents 4d1efaedfae6
children c4a4495715dd
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
d5a97935b2f1 Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff changeset
24 #ifndef FFMPEG_IMGCONVERT_H
d5a97935b2f1 Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff changeset
25 #define FFMPEG_IMGCONVERT_H
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
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
d5a97935b2f1 Add header for declaration of ff_xxxx functions in imgconvert.c
vitor
parents:
diff changeset
36 #endif /* FFMPEG_IMGCONVERT_H */