- 10 8月, 2012 18 次提交
-
-
由 Mans Rullgard 提交于
In 16-bit arithmetic, x * 0xffffc is simply x * -4 with extra overflows, (and the constant was probably meant to be 0xfffc). Combined with the shift, this simplifies to -x >> 1. Finally, clearing the low two bits with a 32-bit mask and switching to a 32-bit type allows more efficient code on 32-bit machines. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
(x << 2) - x is just an optimisation of 3 * x the compiler is perfectly capable of doing on its own. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Samuel Pitoiset 提交于
Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
由 Samuel Pitoiset 提交于
Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
由 Samuel Pitoiset 提交于
Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
由 Mans Rullgard 提交于
Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
The condition is trivially true, but keeping the assert() is sensible to avoid FFM_HEADER_SIZE ever getting out of sync with the actual code. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
The only compiler I have that does not define the standard offsetof() macro is "Bruce's C Compiler", a simple compiler for producing 8/16-bit 8086 code, usually for use in early stages of PC booting. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
This list is incomplete (we also use UINT16_MAX), so there does not appear to be any system we care about that needs these. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Michael Niedermayer 提交于
This fixes build failures on debian/kfreebsd, which has the sctp.h header, but it is currently broken (a cpp test succeeds, but a compile test fails), see http://bugs.debian.org/684330 for details. Also remove the checked item from HAVE_LIST, since the corresponding HAVE_* define isn't used by the source code. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
-
由 Kostya Shishkov 提交于
-
- 09 8月, 2012 22 次提交
-
-
由 Mans Rullgard 提交于
This function is only ever called through a function pointer, so marking it inline makes no sense. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
At both places this function is called, mb_[xy] == s->mb_[xy] making the call together with following code equivalent to simply assigning zeros. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Hendrik Leppkes 提交于
About 2x speedup going from 1 to 2 threads. 1.7s to 0.85s on foreman CIF. Signed-off-by: NJanne Grunau <janne-libav@jannau.net>
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
Even though HOSTOBJS are not referenced directly in subdirectory Makefile snippets right now, robustness requires resetting the variable contents.
-
由 Mans Rullgard 提交于
The main benefit of inlining this function is from constant propagation for the 'field_based' argument. Instead of inlining all calls, create two versions of the function for field_based values of 0 and 1. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
This file defines a single, huge function, MPV_motion(), which although being declared inline is not actually inlined by the compiler (for good reason). There is thus no sense in defining this function in a header file, resulting in multiple copies of it in the final library. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
This adds a hidden config variable for the mpegvideo.o dependency and selects from the codecs which require it. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
This macro is only used in two places, both in libavcodec, so this is a more sensible place for it. Two small tweaks to the macro are made: - removing the trailing semicolon - dropping unnecessary 'volatile' from the x86 asm Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
These x86-specific macros do not belong in generic code. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
This puts x86-specific things in the x86/ subdirectory where they belong. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Alex Converse 提交于
Fixes MP4 files where the first frame is broken.
-
由 Samuel Pitoiset 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
This is basically the same way as mpegts packets are parsed in rtpdec.c. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
EvoStream Media Server can serve data in this format, and VLC/live555 already supports it. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
It is now possible to use lavfi sources.
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
The new name is shorter and more accurate, since this variable is no longer used only for checking recording time constraint.
-