summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Give all anonymously typedeffed structs in headers a nameDiego Biurrun2012-10-06
| | | | Anonymous structs cannot be forward declared and have no benefit.
* fate: Add parseutils testDiego Biurrun2012-10-06
|
* parseutils-test: Drop random colors from parsing testDiego Biurrun2012-10-06
| | | | This guarantees stable output for comparing test results.
* vf_pad/scale: use double precision for aspect ratios.Anton Khirnov2012-10-06
| | | | | | Fixes Bug 203. CC:libav-stable@libav.org
* build: error on variable-length arraysMans Rullgard2012-10-05
| | | | | | With all the VLAs gone, make sure they never come back. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ppc: swscale: rework yuv2planeX_altivec()Mans Rullgard2012-10-05
| | | | | | | | | This gets rid of the variable-length scratch buffer by filtering 16 pixels at a time and writing directly to the destination. The extra loads this requires to load the source values are compensated by not doing a round-trip to memory before shifting. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ppc: fmtconvert: kill VLA in float_to_int16_interleave_altivec()Mans Rullgard2012-10-05
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: dsputil: kill VLA in gmc_mmx()Mans Rullgard2012-10-05
| | | | | | | | Instead of using an evil VLA, fall back to C version when edge emulation is needed. MPEG4 GMC is a rarely used fringe feature so the speed loss is an acceptable cost for safer code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* libspeexenc: Updated commentary to reflect recent changesDmitry Samonenko2012-10-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libspeexenc: Add an option for enabling DTXDmitry Samonenko2012-10-05
| | | | | | | | Discontinuous transmission is an addition to VAD/VBR operation, that allows to greatly reduce bitrate for silent chunks or stationary noises. Signed-off-by: Martin Storsjö <martin@martin.st>
* doc/APIchanges: fill in missing dates and hashes.Anton Khirnov2012-10-05
|
* lavr: bump major to 1 and declare it stable.Anton Khirnov2012-10-05
|
* lavr: change the type of the data buffers to uint8_t**.Anton Khirnov2012-10-05
| | | | | | This is more consistent with what the rest of Libav does. This breaks API.
* lavc: deprecate the audio resampling API.Anton Khirnov2012-10-05
| | | | It has been superseded by lavr.
* h264: don't touch H264Context->ref_count[] during MB decodingRonald S. Bultje2012-10-05
| | | | | | | | | The variable is copied to subsequent threads at the same time, so this may cause wrong ref_count[] values to be copied to subsequent threads. This bug was found using TSAN. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86: get_cpu_flags: add necessary ifdefs around function bodyDiego Biurrun2012-10-04
| | | | | | | ff_get_cpu_flags_x86() requires cpuid(), which is conditionally defined elsewhere in the file. Surrounding the function body with ifdefs allows building even when cpuid is not defined. An empty cpuflags mask is returned in this case.
* x86: Drop CPU detection intrinsicsDiego Biurrun2012-10-04
| | | | | | Now that there is CPU detection in YASM, there will always be one of inline or external assembly enabled, which obviates the need to fall back on CPU detection through compiler intrinsics.
* x86: Add YASM implementations of cpuid and xgetbv from x264Diego Biurrun2012-10-04
| | | | | This allows detecting CPU features with builds that have neither gcc inline assembly nor the right compiler intrinsics enabled.
* configure: add --enable-lto optionMans Rullgard2012-10-04
| | | | | | | This works with gcc. Other compilers might need to have a flag mapping added. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: cpu: Break out test for cpuid capabilities into separate functionDiego Biurrun2012-10-04
|
* x86: ff_get_cpu_flags_x86(): Avoid a pointless variable indirectionDiego Biurrun2012-10-04
|
* build: Factor out mpegaudio dependencies to CONFIG_MPEGAUDIODiego Biurrun2012-10-04
| | | | | A new hidden config variable is added for the codecs that depend on the mpegaudio parts.
* segment: Add comments about calls that only are relevant for some muxersMartin Storsjö2012-10-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Add an option for omitting the first header and final trailerMartin Storsjö2012-10-04
| | | | | | | This allows writing totally bare segments, without any header/trailer included anywhere. Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Flush buffered data before finishing a segmentMartin Storsjö2012-10-04
| | | | | | | This makes sure any buffered data is written to the segment, for muxers that buffer up data internally (e.g. fragmented mp4). Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Set the resend_headers flag for each segmentMartin Storsjö2012-10-04
| | | | | | | | | This makes sure new inline headers are emitted when the next packet is written. This allows segmenting mpegts without calling write_header/write_trailer (nor freeing/reiniting the muxer) for each segment. Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Add an option for disabling writing of a header/trailer to each segmentMartin Storsjö2012-10-04
| | | | | | | | Some segmented formats (such as fragmented mp4) are "bare", as in, the segment files do not have the same headers/trailers as full normal files of that format have. Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Free and reinit the muxer before calling avformat_write_headerMartin Storsjö2012-10-04
| | | | | | | | | | | | This makes sure the muxers are set up in the way they expect with no data left around from the previous run (which could cause various issues including memory leaks, depending on the chaine muxer). This fixes memory leaks with the mpegts and flv muxers. It also makes the usage of chained muxers correct. Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Use the public av_write_header/av_write_trailer functionsMartin Storsjö2012-10-04
| | | | | | | | | With this change, the segmenter muxer doesn't rely on anything not available/supported to libavformat external users, making the segmenter muxer do things just like a normal segmenter application using libavformat would do. Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Properly create new AVStreams for the chained muxerMartin Storsjö2012-10-04
| | | | | | | | | Before, the chained muxer reused the AVStreams array from the outer muxer, which made it impossible to use the proper public functions (such as av_write_frame) when calling the chained muxer. Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Add a missing spaceMartin Storsjö2012-10-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vf_overlay: properly sync inputs.Anton Khirnov2012-10-04
| | | | | Right now it incorrectly assumes that the frames are sent in the proper order, which worked with old ffmpeg and avconv versions by accident.
* vf_overlay: get rid of pointless messing with timebase.Anton Khirnov2012-10-04
| | | | | Output frames correspond 1:1 to input frames on the main input. So use the main input timebase for output.
* samplefmt: make av_samples_alloc() initialize the data to silence.Anton Khirnov2012-10-04
| | | | Right now the buffer is zeroed, which does not represent silence for U8(P).
* libspeexdec: handle NULL return value from speex_packet_to_header()Justin Ruggles2012-10-03
| | | | This will happen when the extradata is not a valid Speex header.
* h264probe: Don't error out on bits that no longer are reservedMichael Niedermayer2012-10-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: set extended_data in ff_update_duplicate_context()Janne Grunau2012-10-03
| | | | | | AVFrame.extended_data has to reset to the AVFrame.data of the current thread context after copying the frame contents. Fixes crashes with frame-threading after 2bc0de38584.
* libspeexdec: properly handle DTX for multiple frames-per-packetJustin Ruggles2012-10-03
|
* libspeexdec: move the SpeexHeader from LibSpeexContext to where it is usedJustin Ruggles2012-10-03
|
* libspeexdec: simplify setting of frame_sizeJustin Ruggles2012-10-03
|
* libspeexdec: set channel_layoutJustin Ruggles2012-10-03
|
* libspeexdec: If the channel count is not valid, decode as stereo.Justin Ruggles2012-10-03
| | | | | When initialized as stereo, libspeex can decode either mono or stereo packets and will output stereo.
* libspeexdec: improve setting of Speex mode and sample rateJustin Ruggles2012-10-03
| | | | | If there is no extradata and the sample rate given by the user is not valid, decode as ultra-wideband.
* libspeex: Add a private option for enabling VADDmitry Samonenko2012-10-03
| | | | | | | Speex detects non-speech periods and encodes them with just enough bits to reproduce the background noise, aka ``comfort noise generation''. Signed-off-by: Martin Storsjö <martin@martin.st>
* xtea: Test inplace decryptionMichael Niedermayer2012-10-03
| | | | | | Based on test code by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* xtea: Fix CBC decryption when src==dstMichael Niedermayer2012-10-03
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* xtea: Factorize testing into a separate functionMartin Storsjö2012-10-03
| | | | | | Based on a patch by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Refactor HAVE_ options available on the command lineDiego Biurrun2012-10-03
|
* avconv/avprobe: Add missing 'void' to exit_program() definitionDiego Biurrun2012-10-03
|
* Allow use of strncpy()Mans Rullgard2012-10-03
| | | | | | | | There are cases where strncpy() does exactly what is required. A blanket ban forces more convoluted solutions to be used in those cases and has been a cause of bugs. Signed-off-by: Mans Rullgard <mans@mansr.com>