Commit 077ba7f8 authored by romansh's avatar romansh

     * DV decoder simplifications. Now it looks to be 6% faster. At least
       on my desktop.
     * Misc. DV cleanups and fixes.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2892 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 43136abb
......@@ -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