summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavr: mix: validate internal sample format in ff_audio_mix_init()Justin Ruggles2012-07-08
|
* cmutils: include shellapi.h on Win32 (for CommandLineToArgvW).Ronald S. Bultje2012-07-07
| | | | | | | | | | This is required for CommandLineToArgvW. Normally, shellapi.h is included implicitly by windows.h, but if we define WIN32_LEAN_AND_MEAN (or some of the other earlier headers have included windows.h with that option), windows.h doesn't include this one. Thus explicitly include the headers we really need, for clarity and compatibility.
* x86/timer: implement an intrinsic-based version for rdtsc (AV_READ_TIME).Ronald S. Bultje2012-07-07
|
* id3v2: add a mimetype for bmp pictures.Anton Khirnov2012-07-07
|
* flacdec: be less strict when parsing attached pictures.Anton Khirnov2012-07-07
| | | | | | Only return an error if memory allocation fails or error recognition is set to explode. Otherwise just print an error message and continue reading the file.
* flacdec: don't create an attached picture stream until we have all information.Anton Khirnov2012-07-07
| | | | | This way we don't end with an invalid stream if parsing the picture fails.
* mxfdec: replace x>>av_log2(sizeof(..)) by x/sizeof(..).Ronald S. Bultje2012-07-07
| | | | | | Also replace x>>av_log2(sizeof(..)) + 1 by x/sizeof(..). The +1 is probably meant to emulate av_log2_ceil(sizeof(..)) in cases where ".." is not a power of two.
* x86: h264_intrapred: Don't add the 'd' suffix to the SPLATB_REG macroMartin Storsjö2012-07-06
| | | | | | | | | | | | | The SPLATB_REG macro already adds the 'd' suffix internally. This fixes building on Win64, which has been broken since 878e66902. This worked for unix, where r2 happened to be rdx in this case, which with the first suffix rdxd was mapped to eax, and eaxd is defined back to eax. On win64 however, r2 happened to be R8 in this case, and R8d mapps to R8D just fine, but there's no mapping for R8Dd to anything. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: add functions for testing code fragmentsMans Rullgard2012-07-06
| | | | | | | | This simplifies testing arbitrary code fragments within a function body. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* af_amix: avoid spurious EAGAIN.Anton Khirnov2012-07-06
| | | | | | | | | | Input on/off state can change in request_samples(), which can result in a state where only the first input is active. get_available_samples() will then return 0, and request_frame() will fail with EAGAIN even though there is data on the single active input. Take this into account and check the number of active inputs again after calling request_samples().
* af_amix: return AVERROR(EAGAIN) when request_frame didn't produce output.Anton Khirnov2012-07-06
| | | | 0 should only be returned when there was at least one output frame.
* af_amix: only consider negative return codes as errors.Anton Khirnov2012-07-06
|
* avconv: use only meaningful timestamps in start time check.Anton Khirnov2012-07-06
|
* avconv: fix the check for -ss as an output option.Anton Khirnov2012-07-06
| | | | | start time is already substracted from the frame timestamp, so it needs to be checked against 0, not start time.
* mss3: add forgotten 'static' qualifier for private tableKostya Shishkov2012-07-06
|
* lavc: options: add planar names for request_sample_fmtMans Rullgard2012-07-05
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* flacdec: add planar output supportMans Rullgard2012-07-05
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* flvdec: Treat all nellymoser versions as the same codecMartin Storsjö2012-07-05
| | | | | | | | This avoids creating new AVStreams for them when switching between different variants of them, since we can handle changes between different sample rates of nellymoser within the same stream. Signed-off-by: Martin Storsjö <martin@martin.st>
* qdm2: remove broken and disabled dump_context() debug functionDiego Biurrun2012-07-05
|
* x86: h264_intrapred: use newly introduced SPLAT* and PSHUFLW macrosDiego Biurrun2012-07-05
|
* x86inc: add SPLATB_LOAD, SPLATB_REG, PSHUFLW macrosLoren Merritt2012-07-05
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86inc: modify ALIGN to not generate long nops on i586Loren Merritt2012-07-05
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: h264_intrapred: port to cpuflag macrosDiego Biurrun2012-07-05
|
* avplay: update input filter pointer when the filtergraph is reset.Anton Khirnov2012-07-05
| | | | Fixes an invalid read on size change.
* avconv: fix parsing of -force_key_frames option.Reimar Döffinger2012-07-05
| | | | | | | Currently it always exits with an error when more than one position is specified. CC: libav-stable@libav.org
* h264: use templates to avoid excessive inliningMans Rullgard2012-07-05
| | | | | | | | | | | | | Instead of inlining everything into ff_h264_hl_decode_mb(), use explicit templating to create versions of the called functions with constant parameters filled in. This greatly speeds up compilation of h264.c and reduces the code size without any measurable impact on performance. Compilation time for h264.c on an i7 goes from 30s to 5.5s. Code size is reduced by 430kB. Signed-off-by: Mans Rullgard <mans@mansr.com>
* xtea: Make the count parameter match the documentationSamuel Pitoiset2012-07-05
| | | | | | | | Previously it was interpreted as number of bytes, while the documentation stated that it was the number of 8 byte blocks. This makes it behave similarly to the existing AES code. Signed-off-by: Martin Storsjö <martin@martin.st>
* blowfish: Make the count parameter match the documentationSamuel Pitoiset2012-07-05
| | | | | | | | Previously it was interpreted as number of bytes, while the documentation stated that it was the number of 8 byte blocks. This makes it behave similarly to the existing AES code. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: Don't use ff_mspel_motion() for vc1Michael Niedermayer2012-07-05
| | | | | | | | | | Using ff_mspel_motion assumes that s (a MpegEncContext poiinter) really is a Wmv2Context. This fixes crashes in error resilience on vc1/wmv3 videos. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* xtea: invert branch and loop precedenceLuca Barbato2012-07-05
| | | | Should slightly improve performance depending on the compiler used.
* blowfish: invert branch and loop precedenceLuca Barbato2012-07-05
| | | | Should slightly improve performance depending on the compiler used.
* flvdec: optionally trust the metadataLuca Barbato2012-07-05
| | | | | In certain conditions video or audio frames might appear way later in the stream.
* avconv: Set audio filter time base to the sample rateMartin Storsjö2012-07-05
| | | | | | | | | | | | | | | | | If the output frame size is smaller than the input sample rate, and the input stream time base corresponds exactly to the input frame size (getting input packet timestamps like 0, 1, 2, 3, 4 etc), the output timestamps from the filter will be like 0, 1, 2, 3, 4, 4, 5 ..., leadning to non-monotone timestamps later. A concrete example is input mp3 data having frame sizes of 1152 samples, transcoded to aac with 1024 sample frames. By setting the audio filter time base to the sample rate, we will get sensible timestamps for all output packets, regardless of the ratio between the input and output frame sizes. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp8: Add ifdef guards around the sse2 loopfilter in the sse2slow branch tooMartin Storsjö2012-07-05
| | | | | | This was missed in the the previous commit in 70a1c800. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavfi: reclassify showfiltfmts as a TESTPROGMans Rullgard2012-07-04
| | | | | | | | This tool uses lavfi internal symbols not accessible in shared libraries. TESTPROGS are linked statically to allow them use of library internals not normally exported. Signed-off-by: Mans Rullgard <mans@mansr.com>
* graph2dot: fix printf format specifierDiego Biurrun2012-07-04
| | | | tools/graph2dot.c:85: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘int’
* swscale: yuv2planeX 8bit >=sse2 functions need aligned stack on x86-32.Martin Storsjö2012-07-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp8: loopfilter >=sse2 functions need aligned stack on x86-32.Martin Storsjö2012-07-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* amr: remove shift out of the AMR_BIT() macro.Ronald S. Bultje2012-07-04
| | | | | | MSVC doesn't like the offsetof(..) >> 1 construct, it interprets it as a non-literal, thus causing use of this in static tables to fail compilation.
* dsputilenc: group yasm and inline asm function pointer assignment.Ronald S. Bultje2012-07-04
|
* mov: use forward declaration of a function instead of a table.Ronald S. Bultje2012-07-04
| | | | | MSVC gives a compile error on the tentative definition of mov_default_parse_table[].
* Clarify Doxygen comment for FF_API_* #defines.Diego Biurrun2012-07-04
|
* configure: simplify get_version()Diego Biurrun2012-07-04
| | | | All libs have version headers now, which allows hardcoding the path.
* Create version.h headers for libraries that lack themDiego Biurrun2012-07-04
|
* gitignore: Use full path instead of relative path to specify patternsDiego Biurrun2012-07-04
| | | | | This avoids confusion from patterns meant to only match at the top level matching files in subdirectories.
* mpegvideo: remove VLAsRonald S. Bultje2012-07-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Add XTEA encryption support in libavutilSamuel Pitoiset2012-07-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Add Blowfish encryption support in libavutilSamuel Pitoiset2012-07-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* eval: Add the isinf() function and tests for itMartin Storsjö2012-07-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* flacdec: move lpc filter to flacdspMans Rullgard2012-07-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>