Paul B Mahol
f06269dda5
cosmetics: align more codecs declarations
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
bef8dfa056
escape130: replace can_safely_read() by get_bits_left()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f7da12350e
escape130: give all av_log() a context
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
40d6296095
escape130: The minimum read in and after decode_skip_count() is 4 bits.
...
Thus we can check for 4 being available.
If the next block is skiped we need 4 bits to encode the skip. If the
next block is not skiped then we need 1 bit for the skip code and
at least 3 bits for the block.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
59d3656f6e
escape130: Check dimensions to be a multiple of the block size.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
8ac6469575
Silence a warning when compiling Escape 130 decoder.
...
Fixes:
libavcodec/escape130.c:177:17: warning: ISO C90 forbids mixed declarations and code
Reviewed-by: Paul B Mahol
13 years ago
Michael Niedermayer
31c55c572a
escape130: 10l for myself for not initializing y_base.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
06798c6e3b
escape130: Fix y_base handling, this fixes some artifacts, vissible in most videos.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8ff3d1ccec
escape130: make sure cliping is done on signed values.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
7bd8b70f19
escape130: fix colors
13 years ago
Paul B Mahol
1e8f77324e
escape130: remove trailing whitespace
13 years ago
Paul B Mahol
06029fbb7f
escape130: minimal effort to make it compile without warnings
13 years ago
Eli Friedman
7d64391441
Escape 130 (RPL) decoder
13 years ago