OLD | NEW |
1 /* | 1 /* |
2 * H.263 decoder | 2 * H.263 decoder |
3 * Copyright (c) 2001 Fabrice Bellard | 3 * Copyright (c) 2001 Fabrice Bellard |
4 * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> | 4 * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> |
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 |
11 * version 2.1 of the License, or (at your option) any later version. | 11 * version 2.1 of the License, or (at your option) any later version. |
12 * | 12 * |
13 * FFmpeg is distributed in the hope that it will be useful, | 13 * FFmpeg is distributed in the hope that it will be useful, |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 * Lesser General Public License for more details. | 16 * Lesser General Public License for more details. |
17 * | 17 * |
18 * You should have received a copy of the GNU Lesser General Public | 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 | 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 | 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
21 */ | 21 */ |
22 | 22 |
23 /** | 23 /** |
24 * @file | 24 * @file |
25 * H.263 decoder. | 25 * H.263 decoder. |
26 */ | 26 */ |
27 | 27 |
28 #define UNCHECKED_BITSTREAM_READER 1 | |
29 | |
30 #include "libavutil/cpu.h" | 28 #include "libavutil/cpu.h" |
31 #include "internal.h" | 29 #include "internal.h" |
32 #include "avcodec.h" | 30 #include "avcodec.h" |
33 #include "dsputil.h" | 31 #include "dsputil.h" |
34 #include "mpegvideo.h" | 32 #include "mpegvideo.h" |
35 #include "h263.h" | 33 #include "h263.h" |
36 #include "h263_parser.h" | 34 #include "h263_parser.h" |
37 #include "mpeg4video_parser.h" | 35 #include "mpeg4video_parser.h" |
38 #include "msmpeg4.h" | 36 #include "msmpeg4.h" |
39 #include "vdpau_internal.h" | 37 #include "vdpau_internal.h" |
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 .priv_data_size = sizeof(MpegEncContext), | 749 .priv_data_size = sizeof(MpegEncContext), |
752 .init = ff_h263_decode_init, | 750 .init = ff_h263_decode_init, |
753 .close = ff_h263_decode_end, | 751 .close = ff_h263_decode_end, |
754 .decode = ff_h263_decode_frame, | 752 .decode = ff_h263_decode_frame, |
755 .capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUN
CATED | CODEC_CAP_DELAY, | 753 .capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUN
CATED | CODEC_CAP_DELAY, |
756 .flush= ff_mpeg_flush, | 754 .flush= ff_mpeg_flush, |
757 .max_lowres= 3, | 755 .max_lowres= 3, |
758 .long_name= NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 /
H.263 version 2"), | 756 .long_name= NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 /
H.263 version 2"), |
759 .pix_fmts= ff_hwaccel_pixfmt_list_420, | 757 .pix_fmts= ff_hwaccel_pixfmt_list_420, |
760 }; | 758 }; |
OLD | NEW |