Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(765)

Side by Side Diff: source/patched-ffmpeg-mt/libavcodec/ansi.c

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * ASCII/ANSI art decoder 2 * ASCII/ANSI art decoder
3 * Copyright (c) 2010 Peter Ross <pross@xvid.org> 3 * Copyright (c) 2010 Peter Ross <pross@xvid.org>
4 * 4 *
5 * This file is part of FFmpeg. 5 * This file is part of FFmpeg.
6 * 6 *
7 * FFmpeg is free software; you can redistribute it and/or 7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version. 10 * version 2.1 of the License, or (at your option) any later version.
11 * 11 *
12 * FFmpeg is distributed in the hope that it will be useful, 12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details. 15 * Lesser General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Lesser General Public 17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software 18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21 21
22 /** 22 /**
23 * @file 23 * @file
24 * ASCII/ANSI art decoder 24 * ASCII/ANSI art decoder
25 */ 25 */
26 26
27 #include "libavutil/lfg.h"
27 #include "avcodec.h" 28 #include "avcodec.h"
28 #include "cga_data.h" 29 #include "cga_data.h"
29 #include <libavutil/lfg.h>
30 30
31 #define ATTR_BOLD 0x01 /**< Bold/Bright-foreground (mode 1) */ 31 #define ATTR_BOLD 0x01 /**< Bold/Bright-foreground (mode 1) */
32 #define ATTR_FAINT 0x02 /**< Faint (mode 2) */ 32 #define ATTR_FAINT 0x02 /**< Faint (mode 2) */
33 #define ATTR_UNDERLINE 0x08 /**< Underline (mode 4) */ 33 #define ATTR_UNDERLINE 0x08 /**< Underline (mode 4) */
34 #define ATTR_BLINK 0x10 /**< Blink/Bright-background (mode 5) */ 34 #define ATTR_BLINK 0x10 /**< Blink/Bright-background (mode 5) */
35 #define ATTR_REVERSE 0x40 /**< Reverse (mode 7) */ 35 #define ATTR_REVERSE 0x40 /**< Reverse (mode 7) */
36 #define ATTR_CONCEALED 0x80 /**< Concealed (mode 8) */ 36 #define ATTR_CONCEALED 0x80 /**< Concealed (mode 8) */
37 37
38 #define DEFAULT_FG_COLOR 7 /**< CGA color index */ 38 #define DEFAULT_FG_COLOR 7 /**< CGA color index */
39 #define DEFAULT_BG_COLOR 0 39 #define DEFAULT_BG_COLOR 0
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 .name = "ansi", 426 .name = "ansi",
427 .type = CODEC_TYPE_VIDEO, 427 .type = CODEC_TYPE_VIDEO,
428 .id = CODEC_ID_ANSI, 428 .id = CODEC_ID_ANSI,
429 .priv_data_size = sizeof(AnsiContext), 429 .priv_data_size = sizeof(AnsiContext),
430 .init = decode_init, 430 .init = decode_init,
431 .close = decode_close, 431 .close = decode_close,
432 .decode = decode_frame, 432 .decode = decode_frame,
433 .capabilities = CODEC_CAP_DR1, 433 .capabilities = CODEC_CAP_DR1,
434 .long_name = NULL_IF_CONFIG_SMALL("ASCII/ANSI art"), 434 .long_name = NULL_IF_CONFIG_SMALL("ASCII/ANSI art"),
435 }; 435 };
OLDNEW
« no previous file with comments | « source/patched-ffmpeg-mt/libavcodec/amrnbdec.c ('k') | source/patched-ffmpeg-mt/libavcodec/arm/asm-offsets.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698