103 Commits (5ddab49d48343385eadb3a435a5491c476b66ecc)

Author SHA1 Message Date
Andreas Rheinhardt 2b541b8c1d avcodec/golomb: Factor writing golomb codes out 3 years ago
Andreas Rheinhardt 2d5407d390 avcodec/golomb: Document return value of get_ue_golomb_31 on error 4 years ago
Andreas Rheinhardt 69636b443c avcodec/golomb: Prevent shift by negative number 4 years ago
Andreas Rheinhardt 39c4b78829 avcodec/golomb: Don't emit error message in get_ue_golomb 4 years ago
Michael Niedermayer 79d5d79f38 avcodec: Replace show_bits_long() by show_bits() where possible 5 years ago
Michael Niedermayer 1bb3b3f11c avcodec/golomb: Correct the doxy about get_ue_golomb() and errors 5 years ago
Michael Niedermayer 6b4c9854da avcodec/golomb: Speed up long ur_golomb codes 6 years ago
James Almer 9305bdc68f avcodec/get_bits: actually make cached reader correctly disabled 6 years ago
Paul B Mahol ca079b0954 avcodec/get_bits: add cached bitstream reader 6 years ago
Jun Zhao e61abe2d73 lavc/golobm: Add set_ue_golomb_long to support up to 2^32 -2. 8 years ago
Jun Zhao ea1d07aed9 lavc/golomb: add value range comment for set_ue_golomb(). 8 years ago
Michael Niedermayer db93fd74e4 avcodec/golomb: Assert that the input is not too large in set_ue_golomb() 8 years ago
Michael Niedermayer 2752410c47 avcodec/golomb: Fix runtime error: left shift of 1 by 31 places cannot be represented in type 'int' 8 years ago
Michael Niedermayer 0884b1c5ff avcodec/golomb: Assert that k is valid in get_ur_golomb_jpegls() 8 years ago
Luca Barbato 19c5fa9eea golomb: Simplify get_ur_golomb_jpegls 8 years ago
Diego Biurrun d4c2103bd3 golomb: Convert to the new bitstream reader 8 years ago
Michael Niedermayer 3ab1311aba avcodec/golomb: Consume invalid data in get_ur_golomb_jpegls() 8 years ago
Diego Biurrun f7407f56cb golomb: Replace __PRETTY_FUNCTION__ with __func__ for tracing 8 years ago
Diego Biurrun 83b92a855e golomb: Drop disabled cruft 8 years ago
Diego Biurrun 4024b566d6 golomb: Give svq3_get_se_golomb()/svq3_get_ue_golomb() better names 9 years ago
Diego Biurrun 52567e8198 get_bits: Drop some TRACE-level debug code 9 years ago
Mark Harris c51c08e0e7 avcodec: Use get_ue_golomb_long() when needed 9 years ago
Andreas Cadhalpun 22e960ad47 golomb: always check for invalid UE golomb codes in get_ue_golomb 9 years ago
Michael Niedermayer d0ac2f59aa avcodec/golomb: Remove disabled and broken code 10 years ago
Michael Niedermayer 14c4b25158 avcodec/golomb: fix reading huge signed rice golomb values 10 years ago
Michael Niedermayer c720b9ce98 avcodec/golomb: get_ur_golomb_jpegls: Fix reading huge k values 10 years ago
James Almer ba625dd8a1 avcodec: use av_mod_uintp2() where useful 10 years ago
Michael Niedermayer 8617bc6ffa avcodec/golomb: Fix undefined shifts in unsigned rice decoding code 10 years ago
Zeng Zhaoxiu 02fc168c93 avcodec/golomb: cleanup 10 years ago
zhaoxiu.zeng b11a187575 avcodec/golomb: simplify sign conversion 10 years ago
Michael Niedermayer b0ae362a21 avcodec/golomb: use NULL for pointers instead of 0 10 years ago
Diego Biurrun 91d305790e get_bits: Rename HAVE_BITS_REMAINING --> BITS_AVAILABLE 10 years ago
Martin Storsjö 508a84e672 golomb: Fix the implementation of get_se_golomb_long 11 years ago
Luca Barbato 5eacbb5328 golomb: Add a get_se_golomb_long 11 years ago
Vittorio Giovara fb13fe8342 golomb: reduce scope of a few variables 11 years ago
Vittorio Giovara 2c993e8b5e golomb: K&R formatting cosmetics 11 years ago
Michael Niedermayer a92816c4eb get_se_golomb: fix decoding of very large values 12 years ago
Michael Niedermayer fd165ace7b golomb: check log validity before shifting 12 years ago
Janne Grunau 9a2e79116d golomb: use unsigned arithmetics in svq3_get_ue_golomb() 12 years ago
Diego Biurrun 6f6b0311a3 avcodec: Drop some silly commented-out av_log() invocations 12 years ago
Diego Biurrun 80412997c8 golomb: const correctness for get_ue()/get_se() function arguments 12 years ago
Justin Ruggles 4795362660 golomb: check remaining bits during unary decoding in get_ur_golomb_jpegls() 13 years ago
Michael Niedermayer 28e4f906fa golomb: use av_assert 13 years ago
Ronald S. Bultje 46b3fbc30b golomb: use HAVE_BITS_REMAINING() macro to prevent infloop on EOF. 13 years ago
Ronald S. Bultje 52e4018be4 flac: fix infinite loops on all-zero input or end-of-stream. 13 years ago
Ronald S. Bultje c6643fddba golomb: avoid infinite loop on all-zero input (or end of buffer). 13 years ago
Michael Niedermayer 964506bb97 golomb: Fix infinite loop in svq3_get_ue_golomb() 13 years ago
Michael Niedermayer fc739b79ad golomb: fix end of bitstream check 13 years ago
Nir Ben David 083d9ba448 golomb: Fix overread in get_ur_golomb_jpegls() 13 years ago
Mans Rullgard fdba370f8a h264: fix HRD parameters parsing 13 years ago