mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
libtheora: Update to 1.2.0
This commit is contained in:
parent
d59994688c
commit
ff429e0e64
72 changed files with 253 additions and 264 deletions
6
thirdparty/libtheora/mathops.h
vendored
6
thirdparty/libtheora/mathops.h
vendored
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue