annotate bgmc.h @ 12501:b3f9612d4ea7 libavcodec

Remove pointless semicolon
author vitor
date Fri, 17 Sep 2010 19:33:56 +0000
parents 7dd2a45249a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11148
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
1 /*
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
2 * Block Gilbert-Moore decoder
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
3 * Copyright (c) 2010 Thilo Borgmann <thilo.borgmann _at_ googlemail.com>
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
4 *
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
5 * This file is part of FFmpeg.
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
6 *
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
11 *
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
15 * Lesser General Public License for more details.
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
16 *
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
20 */
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
21
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
22 /**
11644
7dd2a45249a9 Remove explicit filename from Doxygen @file commands.
diego
parents: 11148
diff changeset
23 * @file
11148
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
24 * Block Gilbert-Moore decoder header
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
25 * @author Thilo Borgmann <thilo.borgmann _at_ googlemail.com>
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
26 */
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
27
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
28
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
29 #ifndef AVCODEC_BGMC_H
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
30 #define AVCODEC_BGMC_H
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
31
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
32
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
33 #include "avcodec.h"
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
34 #include "get_bits.h"
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
35
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
36
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
37 int ff_bgmc_init(AVCodecContext *avctx, uint8_t **cf_lut, unsigned int **cf_lut_status);
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
38
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
39
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
40 void ff_bgmc_end(uint8_t **cf_lut, unsigned int **cf_lut_status);
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
41
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
42
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
43 void ff_bgmc_decode_init(GetBitContext *gb,
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
44 unsigned int *h, unsigned int *l, unsigned int *v);
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
45
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
46
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
47 void ff_bgmc_decode_end(GetBitContext *gb);
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
48
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
49
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
50 void ff_bgmc_decode(GetBitContext *gb, unsigned int num, int32_t *dst,
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
51 unsigned int delta, unsigned int sx,
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
52 unsigned int *h, unsigned int *l, unsigned int *v,
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
53 uint8_t *cf_lut, unsigned int *cf_lut_status);
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
54
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
55
2d2780630361 Support arithmetic decoding in ALS.
thilo.borgmann
parents:
diff changeset
56 #endif /* AVCODEC_BGMC_H */