summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avfilter: add showfreqs filterPaul B Mahol2015-08-1911-1/+750
|
* checkasm: x86: properly save rdx/edx in checked_call()Henrik Gramner2015-08-191-0/+7
| | | | | | | | | 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.
* checkasm: Explicitly declare function prototypesHenrik Gramner2015-08-197-38/+54
| | | | | | | | | | 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.
* fate: rename -error option to -error_rate.Ronald S. Bultje2015-08-191-1/+1
| | | | This fixes fate when FF_API_ERROR_RATE=0.
* swscale: refactor vertical scalerPedro Arthur2015-08-196-42/+380
|
* libavcodec/qsvdec.c: the ff_get_format() missed at refactoring has been restoredIvan Uskov2015-08-191-1/+8
| | | | | Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vaapi: drop unused include.Gwenole Beauchesne2015-08-191-1/+0
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* vaapi: fix usage of invalid buffer ids.Gwenole Beauchesne2015-08-191-8/+13
| | | | | | | | | | | | | Invalid buffer ids are defined by VA_INVALID_ID. Use that through out vaapi_*.c support files now that we have private data initialized and managed by libavcodec. Previously, the only requirement for the public vaapi_context struct was to be zero-initialized. This fixes support for 3rdparty VA drivers that strictly conform to the API whereby an invalid buffer id is VA_INVALID_ID and the first valid buffer id can actually be zero. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* vaapi: streamline public context structure.Gwenole Beauchesne2015-08-199-26/+123
| | | | | | | | | | | | Move libavcodec managed objects from the public struct vaapi_context to a new privately owned FFVAContext. This is done so that to clean up and streamline the public structure, but also to prepare for new codec support, thus requiring new internal data to be added in there. The AVCodecContext.hwaccel_context, that holds the public vaapi_context, shall no longer be accessed from within vaapi_*.c codec support files. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* vaapi: define a unique pixel format for VA-API (AV_PIX_FMT_VAAPI).Gwenole Beauchesne2015-08-1912-11/+42
| | | | | | | | | | Deprecate older VA pixel formats (MOCO, IDCT) as it is now very unlikely to ever be useful in the future. Only keep plain AV_PIX_FMT_VAAPI format that is aliased to the older VLD variant. This is an API change. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* avcodec/qsvenc: Added PicTiming SEISven Dueking2015-08-193-0/+5
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavformat/matroskaenc.c: fix small memory leaks on errorNeil Birkbeck2015-08-191-23/+44
| | | | | | | | | Fixing small leaks that can occur when mkv_write_tracks fails in mkv_write_header (e.g., if video track has unknown codec). Also changing mkv_write_seekhead to take the MatroskaMuxContext to avoid having dangling pointers. Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_histogram: make it possible to pick color components for levels modePaul B Mahol2015-08-192-4/+19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: fix compilation with FF_API_OLD_FILTER_OPTS=0.Ronald S. Bultje2015-08-183-3/+4
|
* fate: Force simple idct for fate-asf-repldataMichael Niedermayer2015-08-192-15/+15
| | | | | | otherwise it can fail when a different idct is used on some platform Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/indevs: fix fbdev typosLou Logan2015-08-181-2/+2
| | | | | | | Fixes ticket #4784 as found by rodarmor. Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: Fixed typosPedro Arthur2015-08-181-2/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: fixed compiler warningsPedro Arthur2015-08-183-16/+25
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: add license headers and copyrightsPedro Arthur2015-08-182-0/+40
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libx264: Add option to force IDR framesDerek Buitenhuis2015-08-182-2/+5
| | | | | | | | | Currently, when forcing an I frame, via API, or via the ffmpeg cli, using -force_key_frames, we still let x264 decide what sort of keyframe to user. In some cases, it is useful to be able to force an IDR frame, e.g. for cutting streams. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavu: disable wrong value check in get_version() upon api bump.Ronald S. Bultje2015-08-181-0/+2
|
* lavc: move vdpau decoders under FF_API_VDPAU.wm42015-08-186-12/+22
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavc: put remaining bits of vdpau-in-decoder under FF_API_CAP_VDPAU.Ronald S. Bultje2015-08-1810-17/+78
|
* Prepare for removal of obsolete FF_IDCT_* members.Ronald S. Bultje2015-08-183-4/+2
|
* mpeg4video: use ff_dlog instead of av_log under debug&FF_DEBUG_PTS.Ronald S. Bultje2015-08-181-3/+2
| | | | This fixes compilation with FF_API_UNUSED_MEMBERS=0.
* configure: force -mconsole when linking SDL under MinGWStephen Hutchinson2015-08-181-0/+3
| | | | | | | | | | | | | | | | When building SDL with MinGW, it sets -mwindows with the assumption that the application is a GUI application. If this is linked without passing -mconsole to configure via --extra-ldflags, stdout will be silenced from cmd.exe while running FFmpeg. The -mwindows flag that causes this behavior is included in the sdl_libs variable, so append -mconsole there rather than create an sdl_ldflags case just to insert it (especially if -mconsole must come *after* -mwindows in order to be effective). Reviewed-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Undeprecate av_opt_set_defaults2().Ronald S. Bultje2015-08-182-7/+10
|
* lavc: fix compilation with FF_API_XVMC.Ronald S. Bultje2015-08-183-12/+0
|
* options: mark av_get_{int,double,q} as deprecated.Ronald S. Bultje2015-08-183-9/+15
| | | | Convert last users to av_opt_get_*() counterparts.
* libvpxenc: make flags i64 instead of dbl.Ronald S. Bultje2015-08-181-2/+2
|
* FF_OPT_TYPE_* -> AV_OPT_TYPE_*.Ronald S. Bultje2015-08-1810-22/+22
|
* Replace av_dlog with ff_dlog.Ronald S. Bultje2015-08-1819-47/+65
| | | | | ff_dlog checks compilability, and is non-public. av_dlog is deprecated and no longer exists if FF_API_DLOG=0.
* lavfi: add error message to help users convert to new lavfi syntax.Ronald S. Bultje2015-08-182-1/+15
|
* scale2ref: override request_frame() and correctly connect them to the ↵Michael Niedermayer2015-08-181-0/+12
| | | | | | corresponding inputs Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_scale: Set scale2ref ref output timebaseMichael Niedermayer2015-08-181-0/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Move ff_dlog from lavc to lavu.Ronald S. Bultje2015-08-182-6/+6
|
* configure: Use pkg-config for libkvazaar.Arttu Ylä-Outinen2015-08-181-1/+1
| | | | | | Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi> Liked-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '317cfaa5e09755ed0b34af512ec687963a67bdbf'Hendrik Leppkes2015-08-181-2/+4
|\ | | | | | | | | | | | | * commit '317cfaa5e09755ed0b34af512ec687963a67bdbf': asfdec: prevent the memory leak in the asf_read_metada_obj Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * asfdec: prevent the memory leak in the asf_read_metada_objAlexandra Hájková2015-08-161-2/+4
| | | | | | | | | | | | | | 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>
* | Merge commit '58c3720a3cc71142b5d48d8ccdc9213f9a66cd33'Hendrik Leppkes2015-08-182-0/+20
|\ \ | |/ | | | | | | | | | | | | | | * commit '58c3720a3cc71142b5d48d8ccdc9213f9a66cd33': fate: Make sure a corner-case for ASF is covered Adjusted fate ref to match the different timebase of the ffasf demuxer Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * fate: Make sure a corner-case for ASF is coveredAlexandra Hájková2015-08-162-0/+20
| | | | | | | | | | | | | | | | | | 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>
* | Merge commit '72839fce6457fdb5d51b4a5381ac52914ee66389'Hendrik Leppkes2015-08-180-0/+0
|\ \ | |/ | | | | | | | | | | | | | | * commit '72839fce6457fdb5d51b4a5381ac52914ee66389': hlsenc: Use AV_TIME_BASE units for all the computations Not merged, duration/time computation is handled quite differently in ffmpeg's hlsenc Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * hlsenc: Use AV_TIME_BASE units for all the computationsLuca Barbato2015-08-161-13/+15
| | | | | | | | | | | | | | | | Do not risk mixing different timebases. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '7bf9647264308d2df74b2b50669f2d02a7ecc90b'Hendrik Leppkes2015-08-181-0/+4
|\ \ | |/ | | | | | | | | | | | | | | * commit '7bf9647264308d2df74b2b50669f2d02a7ecc90b': vp7: bound checking in vp7_decode_frame_header Only partially merged, see 46f72ea507afee6adb0d2324848159063d0e7afc Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * vp7: bound checking in vp7_decode_frame_headerFederico Tomassetti2015-08-161-0/+8
| | | | | | | | CC: libav-stable@libav.org
* | Merge commit 'f34b152eb7b7e8d2aee57c710a072cf74173fbe1'Hendrik Leppkes2015-08-181-11/+6
|\ \ | |/ | | | | | | | | | | * commit 'f34b152eb7b7e8d2aee57c710a072cf74173fbe1': libfdk-aacdec: Clean up properly if the init fails Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * libfdk-aacdec: Clean up properly if the init failsMartin Storsjö2015-08-161-11/+6
| | | | | | | | | | | | | | | | | | 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>
* | Merge commit '1b90433f79de857550d4d8c35c89fbe954920594'Hendrik Leppkes2015-08-181-46/+17
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '1b90433f79de857550d4d8c35c89fbe954920594': libfdk-aacdec: Always decode into an intermediate buffer Conflicts: libavcodec/libfdk-aacdec.c Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * libfdk-aacdec: Always decode into an intermediate bufferMartin Storsjö2015-08-161-50/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge commit '87de6ddb7b7674e329d5c96677bd8685bc7f7855'Hendrik Leppkes2015-08-181-1/+1
|\ \ | |/ | | | | | | | | | | * commit '87de6ddb7b7674e329d5c96677bd8685bc7f7855': libfdk-aacdec: Bump the max number of channels to 8 Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
OpenPOWER on IntegriCloud