summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* dcadec: Use int32_to_float_fmul_array8Ben Avison2013-07-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* fmtconvert: Add a new method, int32_to_float_fmul_array8Ben Avison2013-07-22
| | | | | | | | | | This is similar to int32_to_float_fmul_scalar, but loads a new scalar multiplier every 8 input samples. This enables the use of much larger input arrays, which is important for pipelining on some CPUs (such as ARMv6). Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of int32_to_float_fmul_scalarBen Avison2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 1175.0 4.4 366.2 18.3 +220.8% Overall 19285.5 292.0 18420.5 489.1 +4.7% Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of synth_filter_floatBen Avison2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 9295.0 114.9 4853.2 83.5 +91.5% Overall 23699.8 397.6 19285.5 292.0 +22.9% Signed-off-by: Martin Storsjö <martin@martin.st>
* libspeexdec: fix detection of final terminator codeJustin Ruggles2013-07-21
|
* configure: generate full msvc debug symbols when linking in debug modeHendrik Leppkes2013-07-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libx264: Define X264_API_IMPORTS on MSVC/ICLDerek Buitenhuis2013-07-21
| | | | | | | | | | | | | | libx264 has a few data exports which require X264_API_IMPORTS to be defined if we link to libx264 dynamically on Windows. In a similar fashion to how we handle our compat snprintf implementation, if we define it all the time, the compiler will first try and link to __imp_x264_symbol_name, and failing that, as in the case of a static libx264, will attempt to link to the non-prefixed symbol, which has already been pulled in by other x264 functions' object files. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* dsicinav: Clip the source size to the expected maximumLuca Barbato2013-07-19
| | | | | | | A packet larger than cin->bitmap_size does not make sense. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dsicinav: Bound-check the source buffer when neededLuca Barbato2013-07-19
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dsicinav: K&R formatting cosmeticsLuca Barbato2013-07-19
|
* lavfi: filtfmts: use newer avfilter APIsVittorio Giovara2013-07-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Support multicast source filters (RFC 4570)Ed Torbett2013-07-19
| | | | | | | | | | This supports inclusion of one single IP address for now, at the media level. Specifying the filter at the session level (instead of at the media level), multiple source addresses, exclusion, or using FQDNs instead of plain IP addresses is not supported (yet at least). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpproto: Check the source IP if one single source has been specifiedMartin Storsjö2013-07-19
| | | | | | | | | | | | | | If another peer is sending unicast packets to the same port that we are listening on, those packets can end up being received despite using source specific multicast. For those cases, manually check the source address of received packets against the intended source address. This only handles the case when the source list is one single IP address for now, which probably is the most common case. Based on a patch by Ed Torbett. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpproto: Support IGMPv3 source specific multicast inclusionEd Torbett2013-07-19
| | | | | | | | | Blocking/exclusion is not supported yet. The rtp protocol parameter takes the same form as the existing sources parameter for the udp protocol. Signed-off-by: Martin Storsjö <martin@martin.st>
* compat: Add missing license boilerplatesDiego Biurrun2013-07-18
|
* Employ consistent LIBAV_COMPAT_ multiple inclusion guards in compat/Diego Biurrun2013-07-18
| | | | Also fix a comment and an #endif comment.
* avserver: Remove unused loadable module supportMartin Storsjö2013-07-18
| | | | | | | | | | There is no record of this ever being used at all, anywhere, since the feature was added in 2effd274466. This gets rid of extra linker tricks just to support a feature that isn't used, simplifying portability to other platforms. Signed-off-by: Martin Storsjö <martin@martin.st>
* Consistently use "cpu_flags" as variable/parameter name for CPU flagsDiego Biurrun2013-07-18
|
* fmtconvert: Explicitly use int32_t instead of intChristophe Gisquet2013-07-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* pthread: Rename thread_init to avoid symbol collisionSean McGovern2013-07-17
| | | | | | The AIX threads library exposes a function with the same name. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: Make sure avg_frame_rate can be calculated without integer overflowMartin Storsjö2013-07-15
| | | | | | | | | If either of the deltas is too large for the multiplications to succeed, don't use this for setting the avg frame rate. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: Do not allow updating the time scale after it has been setMartin Storsjö2013-07-15
| | | | | | | | | | | | The time scale is set in mdhd, and later validated in the enclosing trak atom once all of its children have been parsed. A loose mdhd atom outside of a trak atom could update the time scale of the last stream without any validation. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: Seek back if overreading an individual atomMartin Storsjö2013-07-15
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* ac3dec: Don't consume more data than the actual input packet sizeMartin Storsjö2013-07-15
| | | | | | | | | | | | | | | This was handled properly in the normal return case at the end of the function, but not in this special case. Returning a value larger than the input packet size can cause problems for certain library users. Returning the actual input buffer size unconditionally, since it is not guaranteed that frame_size is set to a sensible value at this point. Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo: Reject impossible FRAMETYPE_NULLLuca Barbato2013-07-15
| | | | | | | | A frame marked FRAMETYPE_NULL cannot be scalable and requires a previous frame successfully decoded. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: Do not reference mismatched tilesLuca Barbato2013-07-15
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: Sanitize ff_ivi_init_planes fail pathsLuca Barbato2013-07-15
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo5: return proper error codesLuca Barbato2013-07-15
|
* indeo: Bound-check before applying motion compensationLuca Barbato2013-07-15
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* rtsp: Include an User-Agent header field in all requestsMartin Storsjö2013-07-14
| | | | | | | | Some rtsp servers like the IP Cam IcyBox IB-CAM2002 need it. Based on a patch by Carl Eugen Hoyos. Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo: Bound-check before applying transformLuca Barbato2013-07-13
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo4: Validate scantable dimensionLuca Barbato2013-07-13
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo4: Check the quantization matrix indexLuca Barbato2013-07-13
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo4: Do not access missing reference MVLuca Barbato2013-07-13
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* ac3dec: Consistently use AC3_BLOCK_SIZE and sizeofMartin Storsjö2013-07-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ac3dec: Increment channel pointers only once per channelMartin Storsjö2013-07-13
| | | | | | | | If the channel mapping map multiple output channels to one input channel, we should only increment the actual pointer once. Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* jpeg2000: Remove unused passes array in Jpeg200Cblk structureNicolas Bertrand2013-07-13
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Initialize only once mqc arraysNicolas Bertrand2013-07-13
| | | | | | Improves decoding speed. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_interlace: better handling of odd video sizeMichael Niedermayer2013-07-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: use current syntax for the scale filterSean McGovern2013-07-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dca: Respect the current limits in the downmixing capabilitiesLuca Barbato2013-07-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dca: Error out on missing DSYNCLuca Barbato2013-07-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pcm: always use codec->id instead of codec_idLuca Barbato2013-07-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vdpau: use the correct namespace for the unionLuca Barbato2013-07-12
| | | | | | Vdp is used by libvdpau, use AVVDPAU as used for the rest. Reported-by: Alexis Ballier <aballier@gentoo.org>
* mlpdec: Do not set invalid context in read_restart_headerLuca Barbato2013-07-12
| | | | | | | | The faulty values rippled further down the codepath causing a hard-to-track segfault in the assembly code. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mlpdsp: x86: Respect cpuflagsLuca Barbato2013-07-12
|
* pcx: Do not overread source buffer in pcx_rle_decodeLuca Barbato2013-07-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pcx: K&R formatting cosmeticsLuca Barbato2013-07-12
|
* configure: Check for support for labels in the inline assemblyMartin Storsjö2013-07-11
| | | | | | | Use this for enabling the ppc timer.h implementation only on assemblers that support labels in the inline assembly. Signed-off-by: Martin Storsjö <martin@martin.st>
* wmavoice: conceal clearly corrupted blocksLuca Barbato2013-07-10
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org