Commit 380fd6b1 authored by Roman Shaposhnik's avatar Roman Shaposhnik

* DV decoder simplifications. Now it looks to be 6% faster. At least

       on my desktop.
     * Misc. DV cleanups and fixes.

Originally committed as revision 2892 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b51469a0
......@@ -919,6 +919,11 @@ static inline int get_bits_left(GetBitContext *s)
return s->size_in_bits - get_bits_count(s);
}
static inline int get_bits_size(GetBitContext *s)
{
return s->size_in_bits;
}
int check_marker(GetBitContext *s, const char *msg);
void align_get_bits(GetBitContext *s);
int init_vlc(VLC *vlc, int nb_bits, int nb_codes,
......
This diff is collapsed.
......@@ -218,7 +218,7 @@ static const uint8_t dv_vlc_run[409] = {
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,
127,
};
static const uint8_t dv_vlc_level[409] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment