aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mxfdec: Add intra_only flag to MXFTrackTomas Härdin2012-07-101-0/+23
| | | | | | | This allows future assumptions to be made without affecting non-intra files. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: fix Avid AirSpeed files being misinterpreted as OP1aTomas Härdin2012-07-101-5/+9
| | | | | | | | | The "ECs != 1 -> OP1a" assumption was wrong. Luckily, the file that triggered that behavior had two ECs, not zero. Hence distinguishing between them is simple in this case. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: truncate packets that extend past the next edit unitTomas Härdin2012-07-101-15/+50
| | | | | | | | This fixes rare cases where OPAtom may be treated as OP1a, causing all essence to be read into RAM. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: set pixel format for cdci picture formatsPhilip de Nier2012-07-103-1/+37
| | | | | | | | | | | | | | | | | | The properties of the CDCI Descriptor are insufficient to specify the pixel format for uncompressed picture data. SMPTE 377-1 and RP224v10 have defined a set of picture coding labels to indicate what formatting was used. This patch uses 2 labels to detect UYVY422 or YUYV422 pixel formats. It defaults to UYVY422 for 8-bit 4:2:2 pictures to support files that were created before the coding labels were introduced ~2008 The codec pix_fmt default was changed from 0 (PIX_FMT_YUV420P) to -1 (PIX_FMT_NONE) Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mxfdec: detect uncomp pictures using essence container ulPhilip de Nier2012-07-101-0/+1
| | | | | | | | | | This supports detection of uncompressed picture in files that didn't include a Picture Coding Label. The lables weren't available until SMPTE 377-1 and RP224v10 Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: set track edit rate num/den in expected orderPhilip de Nier2012-07-101-2/+2
| | | | | | | | This matches the order used for the index table edit rate. Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86/cpu: implement get/set_eflags using intrinsicsRonald S. Bultje2012-07-102-0/+16
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Martin Storsjö <martin@martin.st>
* x86/cpu: implement support for cpuid through intrinsicsRonald S. Bultje2012-07-102-0/+16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86/cpu: implement support for xgetbv through intrinsicsRonald S. Bultje2012-07-102-0/+13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavu: use intrinsics for emms on systems lacking inline asm supportRonald S. Bultje2012-07-102-2/+8
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Martin Storsjö <martin@martin.st>
* mem: Don't abort on av_malloc(0) in debug modeMartin Storsjö2012-07-101-2/+0
| | | | | | This makes the behaviour consistent between debug and release mode. Signed-off-by: Martin Storsjö <martin@martin.st>
* mss3: use standard zigzag tableKostya Shishkov2012-07-091-12/+2
|
* mss3: split DSP functions that are used in MTS2(MSS4) into separate fileKostya Shishkov2012-07-094-92/+163
|
* motion-test: do not use getopt()Anton Khirnov2012-07-091-9/+3
| | | | | | | It is not available on all systems and using argc/argv directly actually makes the code simpler. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* tcp: add initial timeout limit for incoming connectionsJordi Ortiz2012-07-091-1/+10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Change the rdtsc check to a linker checkDiego Biurrun2012-07-091-2/+2
| | | | | A compile-only test could succeed with an implicit function declaration. Also move the check to the x86 section; rdtsc is x86-only.
* avconv: propagate fatal errors from lavfi.Anton Khirnov2012-07-091-1/+3
|
* lavfi: add error handling to filter_samples().Anton Khirnov2012-07-0915-69/+136
|
* fate-run: make avconv() properly deal with multiple inputs.Anton Khirnov2012-07-091-1/+7
|
* asplit: don't leak the input buffer.Anton Khirnov2012-07-091-0/+1
|
* af_resample: fix request_frame() behavior.Anton Khirnov2012-07-091-2/+12
| | | | | Make sure that an output frame has really been produced before returning 0.
* af_asyncts: fix request_frame() behavior.Anton Khirnov2012-07-091-1/+9
| | | | | Make sure that an output frame has really been produced before returning 0.
* libx264: support aspect ratio switchingJULIAN GARDNER2012-07-091-0/+6
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskadec: honor error_recognition when encountering unknown elements.Anton Khirnov2012-07-091-1/+4
|
* lavr: resampling: add support for s32p, fltp, and dblp internal sample formatsJustin Ruggles2012-07-083-88/+199
| | | | | | | Based partially on implementation by Michael Niedermayer <michaelni@gmx.at> in libswresample in FFmpeg. See commits: 7f1ae79d38c4edba9dbd31d7bf797e525298ac55 24ab1abfb6d55bf330022df4b10d7aec80b3f116
* lavr: resampling: add filter type and Kaiser window beta to AVOptionsJustin Ruggles2012-07-084-13/+28
|
* lavr: Use AV_SAMPLE_FMT_NONE to auto-select the internal sample formatJustin Ruggles2012-07-084-20/+17
| | | | Also make this the default value.
* lavr: mix: validate internal sample format in ff_audio_mix_init()Justin Ruggles2012-07-081-0/+8
|
* cmutils: include shellapi.h on Win32 (for CommandLineToArgvW).Ronald S. Bultje2012-07-071-0/+1
| | | | | | | | | | 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-072-0/+11
|
* id3v2: add a mimetype for bmp pictures.Anton Khirnov2012-07-071-0/+1
|
* flacdec: be less strict when parsing attached pictures.Anton Khirnov2012-07-071-7/+18
| | | | | | 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-071-4/+6
| | | | | 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-071-4/+4
| | | | | | 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-061-1/+1
| | | | | | | | | | | | | 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-061-21/+18
| | | | | | | | 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-061-0/+2
| | | | | | | | | | 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-061-2/+2
| | | | 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-061-2/+2
|
* avconv: use only meaningful timestamps in start time check.Anton Khirnov2012-07-061-4/+5
|
* avconv: fix the check for -ss as an output option.Anton Khirnov2012-07-061-1/+1
| | | | | 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-061-1/+1
|
* lavc: options: add planar names for request_sample_fmtMans Rullgard2012-07-051-0/+5
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* flacdec: add planar output supportMans Rullgard2012-07-054-27/+91
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* flvdec: Treat all nellymoser versions as the same codecMartin Storsjö2012-07-051-4/+0
| | | | | | | | 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-051-48/+0
|
* x86: h264_intrapred: use newly introduced SPLAT* and PSHUFLW macrosDiego Biurrun2012-07-051-107/+22
|
* x86inc: add SPLATB_LOAD, SPLATB_REG, PSHUFLW macrosLoren Merritt2012-07-052-25/+37
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86inc: modify ALIGN to not generate long nops on i586Loren Merritt2012-07-051-0/+4
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: h264_intrapred: port to cpuflag macrosDiego Biurrun2012-07-052-146/+168
|