Age | Commit message (Collapse) | Author |
|
This was only used in hevc muxing code so far.
This makes the return values match what get_se_golomb returns for
the same bitstream reader instances.
The logic for producing a signed golomb code out of an unsigned one
was based on the corresponding code in get_se_golomb, which operated
directly on the bitstream reader buffer - not on the equivalent
return value from get_ue_golomb.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 508a84e6726ab94a740c160b30fd8162265d1fef)
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
Useful in libavformat mostly.
(cherry picked from commit 5eacbb53289570834f9a1acb15fd406ea224eef6)
|
|
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
This prevents undefined behaviour of signed left shift if the coded
value is larger than 2^31. Large values are most likely invalid and
caused errors or by feeding random.
Validate every use of svq3_get_ue_golomb() and changed the place there
the return value was compared with negative numbers. dirac.c was clean,
fixed rv30 and svq3.
|
|
|
|
|
|
Fixes infinite loop in FLAC decoding in case of a truncated bitstream due to
the safe bitstream reader returning 0's at the end.
Fixes Bug 310.
CC:libav-stable@libav.org
|
|
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
|
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
|
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
|
The bit_rate_value_minus1 and cpb_size_value_minus1 elements
allow a wider range than get_ue_golomb() supports. This
adds a get_ue_golomb_long() function supporting up to 31
leading zeros, which is the maximum for these syntax
elements, and uses it in decode_hrd_parameters().
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Patch by Lars Täuber: firstname taeuber gmx net
Originally committed as revision 19821 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
put_bits.h.
Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
If k==0, log==0 can indicate that the coded value uses more than
MIN_CACHE_BITS bits. With MIN_CACHE_BITS==32, the fast branch is
incorrectly taken in this case unless explicitly forbidden.
Originally committed as revision 17550 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 17429 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 16298 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
in r15334.
Originally committed as revision 15338 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
case is used.
Fix issue245.
Originally committed as revision 15334 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
throughout libavcodec.
Originally committed as revision 14204 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 10119 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 6754 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
encoder
Originally committed as revision 5514 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
brain dead using it with more than 16bits, but..)
Originally committed as revision 4635 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 3984 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 3849 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 3848 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 3451 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 3444 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
to be able to read 25bit at a time
Originally committed as revision 3237 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
fix data types of residual&decoded
fix twos complement bitfields
fix utf8 (no, utf8 is not the same as the simple and compact uvlc used in nut)
add truncated bitstream support, both ogg and flac demuxers in mplayer cvs provide incomplete frames, and furthermore it isnt possible to find frameboundaries in flac without decoding it completly
add escape-less golomb rice decoder (=flac style golomb rice) (ultra efficient, the longest vlc code is just 2^32-1 bits)
printf->av_log
fix bps for non independant channels
fix a few +-1 bugs
fix sample order for independant channels
fix data_size
Originally committed as revision 2791 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 2041 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
jpegls style golomb rice coder
Originally committed as revision 2040 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
use gradients instead of prediction errors as context model
store independant quantization tables for each point
merge contexts with opposit sign
Originally committed as revision 1957 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 1867 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 1845 to svn://svn.ffmpeg.org/ffmpeg/trunk
|