- 10 Jul, 2012 11 commits
-
-
Tomas Härdin authored
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>
-
Tomas Härdin authored
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>
-
Tomas Härdin authored
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>
-
Philip de Nier authored
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>
-
Philip de Nier authored
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>
-
Philip de Nier authored
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>
-
Ronald S. Bultje authored
Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Ronald S. Bultje authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Ronald S. Bultje authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Ronald S. Bultje authored
Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This makes the behaviour consistent between debug and release mode. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 09 Jul, 2012 13 commits
-
-
Kostya Shishkov authored
-
Kostya Shishkov authored
-
Anton Khirnov authored
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>
-
Jordi Ortiz authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
A compile-only test could succeed with an implicit function declaration. Also move the check to the x86 section; rdtsc is x86-only.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Make sure that an output frame has really been produced before returning 0.
-
Anton Khirnov authored
Make sure that an output frame has really been produced before returning 0.
-
JULIAN GARDNER authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
- 08 Jul, 2012 4 commits
-
-
Justin Ruggles authored
Based partially on implementation by Michael Niedermayer <michaelni@gmx.at> in libswresample in FFmpeg. See commits: 7f1ae79d 24ab1abf
-
Justin Ruggles authored
-
Justin Ruggles authored
Also make this the default value.
-
Justin Ruggles authored
-
- 07 Jul, 2012 6 commits
-
-
Ronald S. Bultje authored
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.
-
Ronald S. Bultje authored
-
Anton Khirnov authored
-
Anton Khirnov authored
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.
-
Anton Khirnov authored
This way we don't end with an invalid stream if parsing the picture fails.
-
Ronald S. Bultje authored
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.
-
- 06 Jul, 2012 6 commits
-
-
Martin Storsjö authored
The SPLATB_REG macro already adds the 'd' suffix internally. This fixes building on Win64, which has been broken since 878e6690. 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>
-
Mans Rullgard authored
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>
-
Anton Khirnov authored
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().
-
Anton Khirnov authored
0 should only be returned when there was at least one output frame.
-
Anton Khirnov authored
-
Anton Khirnov authored
-