1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
Go to file
Mans Rullgard 4aca716a53 g723.1: optimise scale_vector()
Firstly, nothing in this function can overflow 32 bits so the use
of a 64-bit type is completely unnecessary.  Secondly, the scale
is either a power of two or 0x7fff.  Doing separate loops for these
cases avoids using multiplications.  Finally, since only the number
of bits, not the actual value, of the maximum value is needed, the
bitwise or of all the values serves the purpose while being faster.

It is worth noting that even if overflow could happen, it was not
handled correctly anyway.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-13 01:03:25 +01:00
compat dct/fft-test: use a replacement getopt() if the system has none present. 2012-07-11 21:24:37 +02:00
doc lavc: fix mixing CODEC_ID/AV_CODEC_ID in C++ code. 2012-08-10 18:48:40 +02:00
libavcodec g723.1: optimise scale_vector() 2012-08-13 01:03:25 +01:00
libavdevice Replace all CODEC_ID_* with AV_CODEC_ID_* 2012-08-07 16:00:24 +02:00
libavfilter doxygen: Fix function parameter names to match the code 2012-08-09 20:05:55 +02:00
libavformat lavf: Detect discontinuities in timestamps for framerate/analyzeduration calculation 2012-08-12 12:39:49 +03:00
libavresample avresample: De-doxygenize some comments where Doxygen is not appropriate 2012-08-11 20:22:01 +02:00
libavutil libavutil: add saturating addition functions 2012-08-13 01:03:10 +01:00
libswscale x86: rename libavutil/x86_cpu.h to libavutil/x86/asm.h 2012-08-09 00:58:20 +01:00
presets presets: spelling error in libvpx 1080p50_60 2011-10-22 00:28:56 +02:00
tests fate: Only test enabled filters 2012-08-11 20:26:31 +02:00
tools Replace all CODEC_ID_* with AV_CODEC_ID_* 2012-08-07 16:00:24 +02:00
.gitignore build: change checkheaders to use regular build rules 2012-08-07 21:36:51 +01:00
arch.mak build: Consistently handle conditional compilation for all optimization OBJS. 2012-04-12 09:00:49 +02:00
avconv_filter.c avconv: split configuring filter configuration to a separate file. 2012-08-08 11:11:52 +02:00
avconv_opt.c avconv: split option parsing into a separate file. 2012-08-08 11:10:06 +02:00
avconv.c avconv: allow no input files. 2012-08-08 21:56:26 +02:00
avconv.h avconv: rename OutputStream.is_past_recording_time to finished. 2012-08-08 21:55:45 +02:00
avplay.c avplay: fix build with lavfi disabled. 2012-08-08 11:14:10 +02:00
avprobe.c Replace all CODEC_ID_* with AV_CODEC_ID_* 2012-08-07 16:00:24 +02:00
avserver.c Replace all CODEC_ID_* with AV_CODEC_ID_* 2012-08-07 16:00:24 +02:00
Changelog Canopus Lossless decoder 2012-08-01 22:06:16 -04:00
cmdutils_common_opts.h avtools: add -v as alias for -loglevel 2011-10-09 16:53:06 +01:00
cmdutils.c Replace all CODEC_ID_* with AV_CODEC_ID_* 2012-08-07 16:00:24 +02:00
cmdutils.h Replace all CODEC_ID_* with AV_CODEC_ID_* 2012-08-07 16:00:24 +02:00
common.mak build: change checkheaders to use regular build rules 2012-08-07 21:36:51 +01:00
configure configure: Rename check_asm() to more fitting check_inline_asm() 2012-08-11 20:26:31 +02:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1 cosmetics: Delete empty lines at end of file. 2012-02-09 12:26:45 +01:00
COPYING.LGPLv3
CREDITS
Doxyfile x86: build: replace mmx2 by mmxext 2012-08-03 22:51:05 +02:00
INSTALL doc: clarify configure features 2011-04-07 02:54:12 +02:00
library.mak build: Remove all installed headers and header directories on uninstall 2012-08-07 22:54:43 +02:00
LICENSE doc: Clarify licensing issues arising from external libraries 2012-08-12 13:28:58 +02:00
Makefile build: add HOSTOBJS to SUBDIR_VARS list 2012-08-09 03:49:19 +02:00
README
RELEASE Prepare for 0.8 Release 2012-01-21 14:54:31 +01:00
version.sh Drop git- prefix from version labels 2011-06-19 19:41:23 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.