summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* nvenc: Properly free the fifosLuca Barbato2015-08-25
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hlsenc: Support outputting specific versionsLuca Barbato2015-08-25
| | | | | | Right now only version 2 and version 3 are supported. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dnxhddata: Add tables for missing DNx100 profilesVittorio Giovara2015-08-24
| | | | | | 1440x1080@8 progressive (1259) and interlaced (1260). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dnxhddata: Merge a few duplicated RUN tablesVittorio Giovara2015-08-24
|
* dnxhddata: Group together RUN-related tablesVittorio Giovara2015-08-24
| | | | This helps in finding duplicates.
* dnxhddata: Merge a few duplicated DC tablesVittorio Giovara2015-08-24
|
* dnxhddata: Group together DC-related tablesVittorio Giovara2015-08-24
| | | | This helps in finding duplicates.
* dnxhddata: List the reused tables in a commentVittorio Giovara2015-08-24
|
* dnxhddata: Keep a single CID in the table namesVittorio Giovara2015-08-24
| | | | | | Use a comment to list the reused tables, since it's more flexible than a table name to keep information like this. The list will expand in later commits.
* channel_layout: Add a 16channel default layoutLuca Barbato2015-08-23
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aac: Make sure to set err on the failure pathLuca Barbato2015-08-23
| | | | Bug-Id: CID 1308153
* xavs: Do not try to set the bitrate tolerance without a bitrateLuca Barbato2015-08-23
| | | | | | Avoid a division by zero. Bug-Id: CID 1257655
* h264: Fix faulty call to avpriv_request_sampleLuca Barbato2015-08-22
| | | | Broken in f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068
* h264: Discard currently unsupported registered seiJohn Högberg2015-08-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* imgutils: Fix a typo in avcodec_get_pix_fmt_lossLuca Barbato2015-08-21
| | | | | | | If the candidate does not have alpha and the source does have alpha report the loss of alpha. CC: libav-stable@libav.org
* hevcdsp: fix a function nameAnton Khirnov2015-08-21
| | | | | put_weighted_pred_avg should be put_unweighted_pred_avg, there is no weighting there.
* hevc: avoid invalid shifts of negative valuesAnton Khirnov2015-08-21
|
* checkasm: Explicitly declare function prototypesHenrik Gramner2015-08-20
| | | | | | | | | | | | Now we no longer have to rely on function pointers intentionally declared without specified argument types. This makes it easier to support functions with floating point parameters or return values as well as functions returning 64-bit values on 32-bit architectures. It also avoids having to explicitly cast strides to ptrdiff_t for example. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* checkasm: x86: properly save rdx/edx in checked_call()Henrik Gramner2015-08-20
| | | | | | | | | | | If the return value doesn't fit in a single register rdx/edx can in some cases be used in addition to rax/eax. Doesn't affect any of the existing checkasm tests but might be useful later. Also comment the relevant code a bit better. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fate: test only demuxing in asf-repldataJanne Grunau2015-08-20
|
* asfdec: prevent the memory leak in the asf_read_metada_objAlexandra Hájková2015-08-16
| | | | | | | also do not return the error code but just break reading metadata object in the case of the aspect ratio reading failure Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* fate: Make sure a corner-case for ASF is coveredAlexandra Hájková2015-08-16
| | | | | | | | | Test the demuxer for the case when the replicated data length in a sample is 0. Sample-ID: https://samples.libav.org/mplayer-bugs/bug821/bug821-2.asf Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hlsenc: Use AV_TIME_BASE units for all the computationsLuca Barbato2015-08-16
| | | | | | | | Do not risk mixing different timebases. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vp7: bound checking in vp7_decode_frame_headerFederico Tomassetti2015-08-16
| | | | CC: libav-stable@libav.org
* libfdk-aacdec: Clean up properly if the init failsMartin Storsjö2015-08-16
| | | | | | | | | Previously most of the error paths leaked. Also add FF_CODEC_CAP_INIT_THREADSAFE while adding caps_internal; this decoder wrapper doesn't have any static data that is initialized. Signed-off-by: Martin Storsjö <martin@martin.st>
* libfdk-aacdec: Always decode into an intermediate bufferMartin Storsjö2015-08-16
| | | | | | | | | | | | | | | | | | | | For ADTS streams, the output format (number of channels, frame size) can change at any point (with the latest version of fdk-aac, the decoder seems to change format after a handful of frames, not outputting the right format immediately, for cases that worked fine with the earlier version of the lib). Previously, the decoder decoded straight into the output frame once the number of channels and frame size was known. This obviously does not work if the number of channels or frame size changes. The alternative would be to allocate the AVFrame with the maximum number of channels and frame size, and change them afterward decoding into it, but that may cause confusion to users e.g. of the get_buffer callback. This solution should be more robust. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* libfdk-aacdec: Bump the max number of channels to 8Martin Storsjö2015-08-16
| | | | | | | | | In the latest version of fdk-aac, the decoder can output up to 8 channels; take this into account when preallocating buffers that need to fit the output from any packet. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: arm: Assume softfp ABI on darwinMartin Storsjö2015-08-16
| | | | | | | | | | | | | | Don't try to detect the float ABI by checking at the toolchain name or by trying to assemble and link files with eabi_attributes. This fixes the float ABI detection when building using clang with -fembed-bitcode, where the current eabi_attributes check accidentally passes. This issue was pointed out by James Howe <james.howe@hp.com>. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* x86inc: Various minor backports from x264Henrik Gramner2015-08-13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* movenc: Add a new flag for writing global sidx indexes for dashMartin Storsjö2015-08-12
| | | | | | | | | | | | | | | | | | | | The double meaning of the faststart flag (moving a moov atom to the start of files, making them streamable, for non-fragmented files, vs inserting a global sidx index at the start of files for fragmented files) is confusing - see 40ed1cbf1 for explanation of its origins. Since the second meaning of the flag hasn't been part of any libav release yet, just rename it to get rid of the confusion without any extra deprecation (which wouldn't get rid of the potential confusion, of users adding -movflags faststart even for fragmented files, where it isn't needed for making them "streamable"). This gets back the old behaviour, where -movflags faststart doesn't have any effect for fragmented files. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86inc: Drop SECTION_TEXT macroHenrik Gramner2015-08-11
| | | | | | | The .text section is already 16-byte aligned by default on all supported platforms so `SECTION_TEXT` isn't any different from `SECTION .text`. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Disable vpbroadcastq workaround in newer yasm versionsHenrik Gramner2015-08-11
| | | | | | The bug was fixed in 1.3.0, so only perform the workaround in earlier versions. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Fix instantiation of YMM registersChristophe Gisquet2015-08-11
| | | | | Signed-off-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: warn when instructions incompatible with current cpuflags are usedAnton Mitrofanov2015-08-11
| | | | | Signed-off-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Support arbitrary stack alignmentsHenrik Gramner2015-08-11
| | | | | | | | Change ALLOC_STACK to always align the stack before allocating stack space for consistency. Previously alignment would occur either before or after allocating stack space depending on whether manual alignment was required or not. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: warn if XOP integer FMA instruction emulation is impossibleAnton Mitrofanov2015-08-11
| | | | | | | | | | | Emulation requires a temporary register if arguments 1 and 4 are the same; this doesn't obey the semantics of the original instruction, so we can't emulate that in x86inc. Also add pmacsdql emulation. Signed-off-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* checkasm: Remove unnecessary includeHenrik Gramner2015-08-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86: dcadsp: Avoid SSE2 instructions in SSE functionsHenrik Gramner2015-08-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* movenc: Place the sidx index after the initial moov/mdat pairMartin Storsjö2015-08-10
| | | | | | | | | | For fragmented files with non-empty moov, with a fragment index (sidx), place the index after the initial moov/mdat pair. Previously, for this pathological case, the index was written at the start of the file. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Rename reserved_moov_pos to reserved_header_posMartin Storsjö2015-08-10
| | | | | | | The same field is also used for writing the sidx index header, for fragmented files, when the faststart flag is used. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Check that frag_info entries exist in mov_write_sidx_tagMartin Storsjö2015-08-10
| | | | | | | | | | | | | This fixes crashes with pathological cases when trying to write a sidx index (via the -movflags faststart option, in combination with fragmenting options), when no fragments actually have been written. (This is possible if the empty_moov flag isn't used, so that all actual packet data is written in the moov/mdat pair, and no moof/mdat pairs have been written.) In these pathological cases, no sidx should be written at all. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Drop spurious spaces from if clausesPaolo Bizzarri2015-08-08
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264: Do not print an error when the buffer has to be refilledLuca Barbato2015-08-06
| | | | Partially amends 9469370fb32679352e66826daf77bdd2e6f067b5
* h264: Use AVERROR return codes instead of -1Jake Sebastian-Jones2015-08-05
| | | | | | And report why it fails. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* asf: Use time_t where neededLuca Barbato2015-08-04
| | | | gmtime takes a time_t not an uint64_t.
* asfdec: read values properlyAlexandra Hájková2015-08-04
| | | | | | | The length of BOOL values is 16 bits in the Metadata Object but 32 bits in the Extended Content Description Object. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Silence error messages when probing compilerShiz2015-08-04
| | | | | | | | | | | On Xcode's clang on OS X, $cc --version will output a 'Configured with:' line to stderr, which clobbers the configure script output. As this line serves no further purpose, it should be silenced. The same applies to apple-gcc 4.2.1, which complains that it can not understand the kernel version it is running on. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* drawtext: Move the strftime expansion in a separate functionLuca Barbato2015-08-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* drawtext: Drop stray guardsLuca Barbato2015-08-02
| | | | | | There is a fallback for localtime_r and it is in use already. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* png: Be more informative regarding signature errorsLuca Barbato2015-08-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>