- 13 Jul, 2016 5 commits
-
-
Vittorio Giovara authored
-
Vittorio Giovara authored
-
Janne Grunau authored
The stack used by checkasm_checked_call_vfp was a multiple of 4 when the checked function is called. AAPCS requires a double word (8 byte) aligned stack public interfaces. Since both calls are public interfaces the stack is misaligned when the checked is called. Might fix the SIGBUS error in the armv7-linux-clang-3.7 fate config.
-
Janne Grunau authored
Fixes "Use of uninitialised value" valgrind warnings in checkasm.
-
Janne Grunau authored
Fixes a regression in ca2f19b9 with some mov/mp4 files. The files have several NAL units in the supposed single NAL unit after the size field. Annex B start code prefixes are used to separate them. The first NAL unit is correctly parsed but the buffer does not point to the next size field. Instead semi random data (it seems to be the rbsp_stop_one_bit and the start code prefix) is then parsed as length and will exceed the remaining length of the buffer. Patch based on the code in h264's decode_nal_units() and a similar patch by Hendrik Leppkes in FFmpeg (a9bb4cf8). Bug-Id: ffmpeg/trac5529 Reported-By: Vittorio Giovara
-
- 11 Jul, 2016 2 commits
-
-
Anton Khirnov authored
Currently, SPS.mb_height is actually what the spec calls PicHeightInMapUnits, which is half the frame height when interlacing is allowed. Calling this 'mb_height' is quite confusing, and there are at least two associated bugs where this field is treated as the actual frame height - in the h264 parser and in the code computing maximum reordering buffer size for a given level. Fix those issues (and avoid possible future ones) by exporting the real frame height in this field.
-
Steve Lhomme authored
also fixes a deadlock found by Денис Кулаков <kudesnik33ra@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 10 Jul, 2016 5 commits
-
-
Martin Storsjö authored
This comment isn't true, the height can be different from the width for these functions (which is why the height is passed as a parameter to them). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Janne Grunau authored
Should fix the SIGBUS in the armv7-linux-clang-3.7 fate target.
-
Janne Grunau authored
-
Janne Grunau authored
GNU as evaluates true as '-1' while Apple's variant and llvm's internal assembler evaluate it as '1'. The best way to avoid this madness is to eliminate boolean expressions instead of trying to fix it with preprocessor directives. Use a direct formula to calculate the required temporary space on the stack in ff_put_vp8_{epel,bilin}{4,8,16}_h[246]v[246]_armv6(). Fixes a checkasm segfault in vp8dsp.mc when using llvm's internal assembler for a non-Apple target.
-
Janne Grunau authored
Unescaped literal left braces are deprecated and a warning was added in Perl 5.22.
-
- 09 Jul, 2016 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 08 Jul, 2016 2 commits
-
-
Martin Storsjö authored
When writing a fragmented file, we by default write an index pointing to all the fragments at the end of the file. This causes constantly increasing memory usage during the muxing. For live streams, the index might not be useful at all. A similar fragment index is written (but at the start of the file) if the global_sidx flag is set. If ism_lookahead is set, we need to keep data about the last ism_lookahead+1 fragments. If no fragment index is to be written, we don't need to store information about all fragments, avoiding increasing the memory consumption linearly with the muxing runtime. This fixes out of memory situations with long live mp4 streams. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The tests are inspired by similar tests for vp9 by Ronald Bultje. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 06 Jul, 2016 2 commits
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Index 0 is w=16, 1 is wd=8, 2 is wd=4. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 03 Jul, 2016 6 commits
-
-
Anton Khirnov authored
The allocated frame size may be larger than the coded dimensions.
-
Anton Khirnov authored
-
Anton Khirnov authored
Stop duplicating this information.
-
Anton Khirnov authored
Stop hardcoding NV12. Also, move this function to the shared code, it will be used by the encoder as well.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 02 Jul, 2016 8 commits
-
-
Mark Thompson authored
-
Mark Thompson authored
No longer leaks memory when used with a driver with the "render does not destroy param buffers" quirk (i.e. Intel i965).
-
Mark Thompson authored
The driver being used is detected inside av_hwdevice_ctx_init() and the quirks field then set from a table of known device. If this behaviour is unwanted, the user can also set the quirks field manually. Also adds the Intel i965 driver quirk (it does not destroy parameter buffers used in a call to vaRenderPicture()) and detects that driver to set it.
-
Anton Khirnov authored
-
Hendrik Leppkes authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Hendrik Leppkes authored
P010 is the 10-bit variant of NV12 (planar luma, packed chroma), using two bytes per component to store 10-bit data plus 6-bit zeroes in the LSBs. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
This preserves all the information in the codec parameters. The wavpack ref changes are caused by the fact that now the sample format is set, so matroskaenc can use it to set the bit depth. Bug-Id: 945, along with the previous commit
-
Anton Khirnov authored
Bug-Id: 945, along with the following commit
-
- 29 Jun, 2016 9 commits
-
-
Vittorio Giovara authored
Avoid freeing an unallocated array in mov_read_close() in case of a malloc failure. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
This converts a misleading error about an option not found to a more meaningful one.
-
Vittorio Giovara authored
-
Vittorio Giovara authored
In case of bogus input, fail early at codec initialization, rather than at the encode function.
-
Vittorio Giovara authored
-
Diego Biurrun authored
-
Diego Biurrun authored
The MP2 muxer uses none of the code of the MP3 muxer.
-
Martin Storsjö authored
This avoids listing the same feature multiple times in the test output. Previously the output contained something like this: SSE2: - hevc_mc.qpel [OK] - hevc_mc.epel [OK] - hevc_mc.unweighted_pred [OK] - hevc_mc.qpel [OK] - hevc_mc.epel [OK] - hevc_mc.unweighted_pred [OK] Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
It is also used by the Dirac parsing code.
-