libtheora: Update to 1.2.0

This commit is contained in:
Rémi Verschelde 2025-06-06 01:36:51 +02:00
parent d59994688c
commit ff429e0e64
No known key found for this signature in database
GPG key ID: C3336907360768E1
72 changed files with 253 additions and 264 deletions

View file

@ -67,7 +67,7 @@ int oc_ilog64(ogg_int64_t _v);
* This is the number of bits that would be required to represent _v in two's
* complement notation with all of the leading zeros stripped.
*/
# define OC_ILOG_32(_v) (OC_ILOGNZ_32(_v)&-!!(_v))
# define OC_ILOG_32(_v) ((_v)?OC_ILOGNZ_32(_v):0)
# else
# define OC_ILOGNZ_32(_v) (oc_ilog32(_v))
# define OC_ILOG_32(_v) (oc_ilog32(_v))
@ -90,7 +90,7 @@ int oc_ilog64(ogg_int64_t _v);
* This is the number of bits that would be required to represent _v in two's
* complement notation with all of the leading zeros stripped.
*/
# define OC_ILOG_64(_v) (OC_ILOGNZ_64(_v)&-!!(_v))
# define OC_ILOG_64(_v) ((_v)?OC_ILOGNZ_64(_v):0)
# else
# define OC_ILOGNZ_64(_v) (oc_ilog64(_v))
# define OC_ILOG_64(_v) (oc_ilog64(_v))
@ -131,7 +131,7 @@ int oc_ilog64(ogg_int64_t _v);
*/
# define OC_STATIC_ILOG_64(_v) (OC_STATIC_ILOG6((ogg_int64_t)(_v)))
#define OC_Q57(_v) ((ogg_int64_t)(_v)<<57)
#define OC_Q57(_v) ((_v)*((ogg_int64_t)1<<57))
#define OC_Q10(_v) ((_v)<<10)
ogg_int64_t oc_bexp64(ogg_int64_t _z);