- 09 Oct, 2013 4 commits
-
-
Luca Barbato authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Henrik Gramner authored
The Mach-O bug was fixed in yasm 0.8.0 and we don't support versions that old anymore. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Derek Buitenhuis authored
This is in preparation for removing a .rodata kludge which was only required for older YASM versions. The movbe instruction was introduced in 0.8.0, which already had AVX, which was introduced in 0.7.0, and NASM introduced movbe in 2.0.3, which is the same version which introduced AVX support. Also, make the failure message more accurate. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Luca Barbato authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
- 07 Oct, 2013 11 commits
-
-
Diego Biurrun authored
-
Henrik Gramner authored
Prevents a crash if the misaligned exception mask bit is cleared for some reason. Misaligned SSE functions are only used on AMD Phenom CPUs and the benefit is miniscule. They also require modifying the MXCSR control register and by removing those functions we can get rid of that complexity altogether. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Jason Garrett-Glaser authored
Small backports that sneaked into other asm commits in x264. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Derek Buitenhuis authored
This is also a valid value for WIN64. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Henrik Gramner authored
Store XMM6 and XMM7 in the shadow space in functions that clobbers them. This way we don't have to adjust the stack pointer as often, reducing the number of instructions as well as code size. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Loren Merritt authored
For when we want to mix simd sizes within one function. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Loren Merritt authored
SWAP with >=3 named (rather than numbered) args PERMUTE followed by SWAP with 2 named args used to produce the wrong permutation Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Henrik Gramner authored
Reduces code size because movaps/movups is one byte shorter than movdqa/movdqu. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Henrik Gramner authored
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Loren Merritt authored
The implementation of 25cb0c1a involves lots of spurious labels. The effect of keeping those labels around is making debugging harder. Those labels are meaningless, and complicate the disassembly. Also, gdb can't tell the difference between them and function entry points. This new strip command is irrelevant to any usage of Libav that would have used the old fully stripped version, because the old one was for non-debug use. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Loren Merritt authored
Now RET checks whether it immediately follows a branch, so the programmer dosen't have to keep track of that condition. REP_RET is still needed manually when it's a branch target, but that's much rarer. The implementation involves lots of spurious labels, but that's OK because we strip them. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 06 Oct, 2013 2 commits
-
-
Diego Biurrun authored
This avoids building mmxext and sse2 code when disabled by configure.
-
Diego Biurrun authored
-
- 05 Oct, 2013 6 commits
-
-
Vittorio Giovara authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Diego Biurrun authored
The function does not depend on MMX and compilation without MMX enabled fails if the function is compiled conditional on MMX availability.
-
Vittorio Giovara authored
Lanczos for general case, sinc for upscaling, Gaussian for downscaling. According to current literature these scalers should be the best quality-wise algorithms for each case. Inspired from a patch by wm4 <nfxjfg@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Diego Biurrun authored
-
Diego Biurrun authored
This avoids building mmxext and sse2 code when disabled by configure.
-
Luca Barbato authored
Provide some information for every function and add a group.
-
- 04 Oct, 2013 11 commits
-
-
Martin Storsjö authored
This reduces the risk for overflow in pathlogical cases. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
If the input file contains other tracks (non video/audio) that aren't included in ismindex, the global file duration as returned by libavformat might not be equal to the maximum of the duration of the actual included tracks. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The stream duration is used for calculating the duration of the last fragment easily without manually parsing anything else than the mfra/tfra atoms. When the global file duration was used previously, the duration of the last fragment could end up wrong if the streams weren't equally long. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
fdct is only initialized if encoders are enabled.
-
Martin Storsjö authored
This wasn't an issue prior to 58404738, when the whole RTMP packet was copied at once and the length of the individual embedded flv packets only were validated by the flv demuxer. Prior to this patch, this could lead to reads and writes out of bound. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
If the embedded flv packets were incomplete and we aborted the copying loop early, make sure the flv buffer is trimmed to only contain full packets. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
update_offset is also called from handle_metadata, where the packet header sizes is already included in the size. Previously this lead to flv_data/flv_size including 15 uninitialized bytes at the end after each call to handle_metadata, making the flv demuxer lose sync with the stream. Also remove leftover copying in handle_metadata. This is a leftover from the refactoring in 58404738. (Previously this final mempcy was the one that copied all the packets at once, while this is done within the loop right now.) After making sure flv_size is set to the right size, this write was out of bounds. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This was overlooked in d872fb0f since I assumed all the realloc issues in the rtmp code was fixed already. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The current magic numbers passed are values in seconds, while the parameter itself should be passed over the wire in milliseconds. This makes (some/all?) live streams from Red5 work correctly, that previously returned StreamNotFound even with "-rtmp_live live". After this commit, the default 'any' also works on these streams. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
On (certain streams/setups at least on) Red5, the description string actually is present, but empty. Therefore, first try loading the description, but if not found or empty, load the code string instead. The code string is quite understandable in most cases anyway (like "NetStream.Play.StreamNotFound"). Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 03 Oct, 2013 6 commits
-
-
Diego Biurrun authored
-
Vittorio Giovara authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Maxim Poliakovski authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Maxim Poliakovski authored
Move it to the ATRAC common code, to reuse in the upcoming ATRAC3+ decoder. Signed-off-by: Diego Biurrun <diego@biurrun.de>
-