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

Side by Side Diff: patched-ffmpeg-mt/libavcodec/4xm.c

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 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 * 4XM codec 2 * 4XM codec
3 * Copyright (c) 2003 Michael Niedermayer 3 * Copyright (c) 2003 Michael Niedermayer
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.
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 AVCodecContext *avctx; 130 AVCodecContext *avctx;
131 DSPContext dsp; 131 DSPContext dsp;
132 AVFrame current_picture, last_picture; 132 AVFrame current_picture, last_picture;
133 GetBitContext pre_gb; ///< ac/dc prefix 133 GetBitContext pre_gb; ///< ac/dc prefix
134 GetBitContext gb; 134 GetBitContext gb;
135 const uint8_t *bytestream; 135 const uint8_t *bytestream;
136 const uint16_t *wordstream; 136 const uint16_t *wordstream;
137 int mv[256]; 137 int mv[256];
138 VLC pre_vlc; 138 VLC pre_vlc;
139 int last_dc; 139 int last_dc;
140 DECLARE_ALIGNED_16(DCTELEM, block)[6][64]; 140 DECLARE_ALIGNED(16, DCTELEM, block)[6][64];
141 void *bitstream_buffer; 141 void *bitstream_buffer;
142 unsigned int bitstream_buffer_size; 142 unsigned int bitstream_buffer_size;
143 int version; 143 int version;
144 CFrameBuffer cfrm[CFRAME_BUFFER_COUNT]; 144 CFrameBuffer cfrm[CFRAME_BUFFER_COUNT];
145 } FourXContext; 145 } FourXContext;
146 146
147 147
148 #define FIX_1_082392200 70936 148 #define FIX_1_082392200 70936
149 #define FIX_1_414213562 92682 149 #define FIX_1_414213562 92682
150 #define FIX_1_847759065 121095 150 #define FIX_1_847759065 121095
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 CODEC_ID_4XM, 846 CODEC_ID_4XM,
847 sizeof(FourXContext), 847 sizeof(FourXContext),
848 decode_init, 848 decode_init,
849 NULL, 849 NULL,
850 decode_end, 850 decode_end,
851 decode_frame, 851 decode_frame,
852 CODEC_CAP_DR1, 852 CODEC_CAP_DR1,
853 .long_name = NULL_IF_CONFIG_SMALL("4X Movie"), 853 .long_name = NULL_IF_CONFIG_SMALL("4X Movie"),
854 }; 854 };
855 855
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698