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

Side by Side Diff: source/patched-ffmpeg-mt/libavcodec/vp56rac.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 * VP5/6/8 decoder 2 * VP5/6/8 decoder
3 * Copyright (c) 2010 Jason Garrett-Glaser <darkshikari@gmail.com> 3 * Copyright (c) 2010 Jason Garrett-Glaser <darkshikari@gmail.com>
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 22 matching lines...) Expand all
33 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 33 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
34 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 34 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
35 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 35 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
36 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 36 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
37 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 37 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
38 }; 38 };
39 39
40 void ff_vp56_init_range_decoder(VP56RangeCoder *c, const uint8_t *buf, int buf_s ize) 40 void ff_vp56_init_range_decoder(VP56RangeCoder *c, const uint8_t *buf, int buf_s ize)
41 { 41 {
42 c->high = 255; 42 c->high = 255;
43 c->bits = -8; 43 c->bits = -16;
44 c->buffer = buf; 44 c->buffer = buf;
45 c->end = buf + buf_size; 45 c->end = buf + buf_size;
46 c->code_word = bytestream_get_be16(&c->buffer); 46 c->code_word = bytestream_get_be24(&c->buffer);
47 } 47 }
OLDNEW
« no previous file with comments | « source/patched-ffmpeg-mt/libavcodec/vp56dsp.c ('k') | source/patched-ffmpeg-mt/libavcodec/vp6.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698