OLD | NEW |
1 /* | 1 /* |
2 * H261 decoder | 2 * H261 decoder |
3 * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> | 3 * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> |
4 * Copyright (c) 2004 Maarten Daniels | 4 * Copyright (c) 2004 Maarten Daniels |
5 * | 5 * |
6 * This file is part of FFmpeg. | 6 * This file is part of FFmpeg. |
7 * | 7 * |
8 * FFmpeg is free software; you can redistribute it and/or | 8 * FFmpeg is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 10 matching lines...) Expand all Loading... |
21 */ | 21 */ |
22 | 22 |
23 /** | 23 /** |
24 * @file libavcodec/h261dec.c | 24 * @file libavcodec/h261dec.c |
25 * H.261 decoder. | 25 * H.261 decoder. |
26 */ | 26 */ |
27 | 27 |
28 #include "dsputil.h" | 28 #include "dsputil.h" |
29 #include "avcodec.h" | 29 #include "avcodec.h" |
30 #include "mpegvideo.h" | 30 #include "mpegvideo.h" |
| 31 #include "h263.h" |
31 #include "h261.h" | 32 #include "h261.h" |
32 #include "h261data.h" | 33 #include "h261data.h" |
33 | 34 |
34 #define H261_MBA_VLC_BITS 9 | 35 #define H261_MBA_VLC_BITS 9 |
35 #define H261_MTYPE_VLC_BITS 6 | 36 #define H261_MTYPE_VLC_BITS 6 |
36 #define H261_MV_VLC_BITS 7 | 37 #define H261_MV_VLC_BITS 7 |
37 #define H261_CBP_VLC_BITS 9 | 38 #define H261_CBP_VLC_BITS 9 |
38 #define TCOEFF_VLC_BITS 9 | 39 #define TCOEFF_VLC_BITS 9 |
39 #define MBA_STUFFING 33 | 40 #define MBA_STUFFING 33 |
40 #define MBA_STARTCODE 34 | 41 #define MBA_STARTCODE 34 |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 CODEC_TYPE_VIDEO, | 646 CODEC_TYPE_VIDEO, |
646 CODEC_ID_H261, | 647 CODEC_ID_H261, |
647 sizeof(H261Context), | 648 sizeof(H261Context), |
648 h261_decode_init, | 649 h261_decode_init, |
649 NULL, | 650 NULL, |
650 h261_decode_end, | 651 h261_decode_end, |
651 h261_decode_frame, | 652 h261_decode_frame, |
652 CODEC_CAP_DR1, | 653 CODEC_CAP_DR1, |
653 .long_name = NULL_IF_CONFIG_SMALL("H.261"), | 654 .long_name = NULL_IF_CONFIG_SMALL("H.261"), |
654 }; | 655 }; |
OLD | NEW |