summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* mpeg12: Ignore slice threading if hwaccel is activeRémi Denis-Courmont2013-07-25
| | | | | | | Slice threading does not work with hardware acceleration, as decoding is per-picture. This fixes Bugzilla #542. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vdpau: Fix VC-1 interlaced modeRainer Hochecker2013-07-25
| | | | | | | | VDPAU expects the bitstream value (0, 2 or 3). libavcodec uses an enum (0, 1 or 2). Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Add '0' to float constants ending in '.'.Diego Biurrun2013-07-25
|
* twinvq: K&R formatting cosmeticsDiego Biurrun2013-07-25
|
* arm: Comment out unused labels in simple_idct_armMartin Storsjö2013-07-24
| | | | | | | | | | | | | | | | | When building for iOS in thumb mode, gas-preprocessor.pl doesn't mark unused labels as thumb functions (as it does for other local labels, where it can figure out that they are functions due to being referenced in branch instructions). This leads to linker warnings for some of those local labels, such as: ld: warning: ARM function not 4-byte aligned: __a_evaluation from libavcodec/libavcodec.a(simple_idct_arm.o) Therefore, comment them out since they don't have any function. They do still have a value in documenting key points in the assembly source though. Signed-off-by: Martin Storsjö <martin@martin.st>
* 8bps: Make the bound-checks consistentLuca Barbato2013-07-23
|
* 8bps: Bound-check the input bufferLuca Barbato2013-07-23
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* 4xm: Reject not a multiple of 16 dimensionLuca Barbato2013-07-23
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* alsdec: Clean up error pathsLuca Barbato2013-07-23
| | | | | | Fix at least a memory leak. CC: libav-stable@libav.org
* alsdec: Fix the clipping rangeLuca Barbato2013-07-23
| | | | | | | mcc_weightings is only 32 elements. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* arm: Mangle external symbols properly in new vfp assembly filesMartin Storsjö2013-07-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of qmf_32_subbandsBen Avison2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 1323.0 98.0 746.2 60.6 +77.3% Overall 15400.0 336.4 14147.5 288.4 +8.9% Signed-off-by: Martin Storsjö <martin@martin.st>
* dcadsp: Add a new method, qmf_32_subbandsBen Avison2013-07-22
| | | | | | | This does most of the work formerly carried out by the static function qmf_32_subbands() in dcadec.c. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of fft16Martin Storsjö2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 1389.3 4.2 967.8 35.1 +43.6% Overall 15577.5 83.2 15400.0 336.4 +1.2% Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of dca_lfe_firMartin Storsjö2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 868.2 33.5 436.0 27.0 +99.1% Overall 15973.0 223.2 15577.5 83.2 +2.5% Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of imdct_halfMartin Storsjö2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 2653.0 28.5 1108.8 51.4 +139.3% Overall 17049.5 408.2 15973.0 223.2 +6.7% Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add VFP-accelerated version of int32_to_float_fmul_array8Ben Avison2013-07-22
| | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 366.2 18.3 277.8 13.7 +31.9% Overall 18420.5 489.1 17049.5 408.2 +8.0% Signed-off-by: Martin Storsjö <martin@martin.st>
* 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