Mercurial > libavcodec.hg
comparison h261.h @ 5057:5b63f62602fa libavcodec
Split the h261.c file into separate files for the encoder, decoder and common stuff.
author | takis |
---|---|
date | Mon, 21 May 2007 12:51:29 +0000 |
parents | |
children | 65b1bfb3a74c |
comparison
equal
deleted
inserted
replaced
5056:bea5fb6c0999 | 5057:5b63f62602fa |
---|---|
1 /* | |
2 * H261 decoder | |
3 * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> | |
4 * Copyright (c) 2004 Maarten Daniels | |
5 * | |
6 * This file is part of FFmpeg. | |
7 * | |
8 * FFmpeg is free software; you can redistribute it and/or | |
9 * modify it under the terms of the GNU Lesser General Public | |
10 * License as published by the Free Software Foundation; either | |
11 * version 2.1 of the License, or (at your option) any later version. | |
12 * | |
13 * FFmpeg is distributed in the hope that it will be useful, | |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 * Lesser General Public License for more details. | |
17 * | |
18 * You should have received a copy of the GNU Lesser General Public | |
19 * License along with FFmpeg; if not, write to the Free Software | |
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
21 */ | |
22 | |
23 /** | |
24 * @file h261.c | |
25 * h261codec. | |
26 */ | |
27 | |
28 #include "mpegvideo.h" | |
29 | |
30 /** | |
31 * H261Context | |
32 */ | |
33 typedef struct H261Context{ | |
34 MpegEncContext s; | |
35 | |
36 int current_mba; | |
37 int previous_mba; | |
38 int mba_diff; | |
39 int mtype; | |
40 int current_mv_x; | |
41 int current_mv_y; | |
42 int gob_number; | |
43 int gob_start_code_skipped; // 1 if gob start code is already read before gob header is read | |
44 }H261Context; | |
45 |