1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:42:17 +00:00
mpv/common
wm4 7510ed6f68 common: add mp_log2()
To be used in the next commit.

According to compiler explorer, __builtin_clz is very widely available,
and it barely makes sense to provide a fallback. clang also eats this
(and identifies at least as GCC 4). Actually, there's doubt that a fast
log2 implementation is needed at all (I guess UTF-8 parsing needs it,
but something UTF-8-specific would probably make it faster than using
log2). So the fallback is just something naive.
2019-10-31 13:16:58 +01:00
..
av_common.c demux: use no overlapping packets for lossless audio 2019-09-19 20:37:04 +02:00
av_common.h demux: use no overlapping packets for lossless audio 2019-09-19 20:37:04 +02:00
av_log.c player: accept compatible later FFmpeg library runtime versions 2019-10-11 21:28:04 +02:00
av_log.h
codecs.c codecs: remove unused family field 2018-02-01 10:21:55 +01:00
codecs.h codecs: remove unused family field 2018-02-01 10:21:55 +01:00
common.c common: add mp_log2() 2019-10-31 13:16:58 +01:00
common.h common: add mp_log2() 2019-10-31 13:16:58 +01:00
encode_lavc.c Replace uses of FFMIN/MAX with MPMIN/MAX 2019-10-31 11:24:20 +01:00
encode_lavc.h encode: get rid of the output packet queue 2018-05-03 01:08:44 +03:00
encode.h encode: get rid of the output packet queue 2018-05-03 01:08:44 +03:00
global.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
msg_control.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
msg.c msg: always use terminal control codes for status line 2019-10-24 13:52:09 +02:00
msg.h vo_gpu: vulkan: use libplacebo instead 2019-04-21 23:55:22 +03:00
playlist.c demux: get rid of free_demuxer[_and_stream]() 2018-05-24 19:56:35 +02:00
playlist.h command: make loadlist command async and abortable 2018-05-24 19:56:35 +02:00
recorder.c recorder: don't use a magic index for mp_recorder_get_sink() 2019-09-29 01:41:19 +02:00
recorder.h recorder: don't use a magic index for mp_recorder_get_sink() 2019-09-29 01:41:19 +02:00
tags.c demux: support for some kinds of timed metadata 2018-04-18 01:17:42 +03:00
tags.h demux: support for some kinds of timed metadata 2018-04-18 01:17:42 +03:00
version.c build: move copyright statement to a shared location 2018-01-01 21:05:09 +00:00