annotate libdirac.h @ 10269:74d5ddc5c0f6 libavcodec

Reindent.
author reimar
date Thu, 24 Sep 2009 22:37:34 +0000
parents acbb86a779b8
children 7dd2a45249a9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6734
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
1 /*
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
2 * Copyright (c) 2008 BBC, Anuradha Suraparaju <asuraparaju at gmail dot com >
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
3 *
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
4 * This file is part of FFmpeg.
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
5 *
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
6 * FFmpeg is free software; you can redistribute it and/or
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
7 * modify it under the terms of the GNU Lesser General Public
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
8 * License as published by the Free Software Foundation; either
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
9 * version 2.1 of the License, or (at your option) any later version.
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
10 *
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
11 * FFmpeg is distributed in the hope that it will be useful,
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
14 * Lesser General Public License for more details.
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
15 *
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
16 * You should have received a copy of the GNU Lesser General Public
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
17 * License along with FFmpeg; if not, write to the Free Software
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
19 */
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
20
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
21 /**
8718
e9d9d946f213 Use full internal pathname in doxygen @file directives.
diego
parents: 8590
diff changeset
22 * @file libavcodec/libdirac.h
6734
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
23 * data structures common to libdiracenc.c and libdiracdec.c
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
24 */
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
25
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 6737
diff changeset
26 #ifndef AVCODEC_LIBDIRAC_H
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 6737
diff changeset
27 #define AVCODEC_LIBDIRAC_H
6734
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
28
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
29 #include "avcodec.h"
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
30 #include <libdirac_common/dirac_types.h>
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
31
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
32 /**
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
33 * Table providing a Dirac chroma format to FFmpeg pixel format mapping.
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
34 */
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
35 static const struct {
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
36 enum PixelFormat ff_pix_fmt;
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
37 dirac_chroma_t dirac_pix_fmt;
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
38 } ffmpeg_dirac_pixel_format_map[] = {
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
39 { PIX_FMT_YUV420P, format420 },
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
40 { PIX_FMT_YUV422P, format422 },
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
41 { PIX_FMT_YUV444P, format444 },
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
42 };
df467cebd0d3 Dirac decoding/encoding support via libdirac.
diego
parents:
diff changeset
43
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 6737
diff changeset
44 #endif /* AVCODEC_LIBDIRAC_H */