annotate h261.h @ 5104:b8e8aa53f613 libavcodec

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