summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* avcodec/metasound_data: comment out unused variableGanesh Ajjanagadde2015-08-20
| | | | | | | | Fixes -Wunused-const-variable from http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1 Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/aacsbr_fixed: remove unused variableGanesh Ajjanagadde2015-08-20
| | | | | | | | | Fixes -Wunused-const-variable from http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1 Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* */version.h: Add note/recommandition about bumping majorMichael Niedermayer2015-08-19
| | | | | Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavcodec/qsvdec.c: the ff_get_format() missed at refactoring has been restoredIvan Uskov2015-08-19
| | | | | Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vaapi: drop unused include.Gwenole Beauchesne2015-08-19
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* vaapi: fix usage of invalid buffer ids.Gwenole Beauchesne2015-08-19
| | | | | | | | | | | | | 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-19
| | | | | | | | | | | | 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-19
| | | | | | | | | | 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-19
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libx264: Add option to force IDR framesDerek Buitenhuis2015-08-18
| | | | | | | | | 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>
* lavc: move vdpau decoders under FF_API_VDPAU.wm42015-08-18
| | | | 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-18
|
* Prepare for removal of obsolete FF_IDCT_* members.Ronald S. Bultje2015-08-18
|
* mpeg4video: use ff_dlog instead of av_log under debug&FF_DEBUG_PTS.Ronald S. Bultje2015-08-18
| | | | This fixes compilation with FF_API_UNUSED_MEMBERS=0.
* lavc: fix compilation with FF_API_XVMC.Ronald S. Bultje2015-08-18
|
* libvpxenc: make flags i64 instead of dbl.Ronald S. Bultje2015-08-18
|
* FF_OPT_TYPE_* -> AV_OPT_TYPE_*.Ronald S. Bultje2015-08-18
|
* Replace av_dlog with ff_dlog.Ronald S. Bultje2015-08-18
| | | | | ff_dlog checks compilability, and is non-public. av_dlog is deprecated and no longer exists if FF_API_DLOG=0.
* Move ff_dlog from lavc to lavu.Ronald S. Bultje2015-08-18
|
* Merge commit '7bf9647264308d2df74b2b50669f2d02a7ecc90b'Hendrik Leppkes2015-08-18
|\ | | | | | | | | | | | | | | | | * 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-16
| | | | | | | | CC: libav-stable@libav.org
* | Merge commit 'f34b152eb7b7e8d2aee57c710a072cf74173fbe1'Hendrik Leppkes2015-08-18
|\| | | | | | | | | | | | | * 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-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>
* | Merge commit '1b90433f79de857550d4d8c35c89fbe954920594'Hendrik Leppkes2015-08-18
|\| | | | | | | | | | | | | | | | | | | * 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-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>
* | Merge commit '87de6ddb7b7674e329d5c96677bd8685bc7f7855'Hendrik Leppkes2015-08-18
|\| | | | | | | | | | | | | * commit '87de6ddb7b7674e329d5c96677bd8685bc7f7855': libfdk-aacdec: Bump the max number of channels to 8 Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * 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>
| * 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: 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>
| * x86: dcadsp: Avoid SSE2 instructions in SSE functionsHenrik Gramner2015-08-11
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | lavc/mjpegdec: Detect more CMYK images.Carl Eugen Hoyos2015-08-17
| | | | | | | | Fixes ticket #4772.
* | avcodec/rv30: fix switching back to the original resolutionMichael Niedermayer2015-08-17
| | | | | | | | | | | | Fixes part of Ticket1388 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | ffmpeg_vdpau: Ignore decoder's max supported levelPhilip Langdale2015-08-16
| | | | | | | | | | | | The h264 decoder reports 4.1 as its maximum level, but it will decode 5.1 4K video just fine. In practice, the published level limits in vdpau do not communicate anything that's actually useful.
* | avcodec/flashsvenc: Correct max dimension in error messageMichael Niedermayer2015-08-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/svq1enc: Check dimensionsMichael Niedermayer2015-08-15
| | | | | | | | | | | | Fixes assertion failure Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | movtextdec: Add support for automatic text wrappingNiklesh2015-08-14
| | | | | | | | | | | | | | | | | | | | | | The value of wrap_flag in the Text Wrap Box specifies if the text is to be wrapped or not. Uses 'end of line wrap' amongst the wrap styles supported by ASS if the text is to be wrapped, i.e; fill as much text in a line as possible, then break to next line. The 3GPP spec has no provision for smart wrapping. Signed-off-by: Niklesh <niklesh.lalwani@iitb.ac.in>
* | avcodec/qsvenc: Set MaxKpbs to rc_max_rate for CBR and VBR (bitrate is equal ↵Sven Dueking2015-08-14
| | | | | | | | | | | | to rc_max_rate for CBR) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/faxcompr: negate uncompressed runsMichael Niedermayer2015-08-14
| | | | | | | | | | | | | | Fixes remaining part of Ticket700 Found-by: ami_stuff Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/faxcompr: Factor decode_uncompressed() outMichael Niedermayer2015-08-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/tiff: Support uncompressed G3 CCITT faxMichael Niedermayer2015-08-13
| | | | | | | | | | | | Fixes part of Ticket700 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/faxcompr: Support uncompressed escapes in decode_group3_1d_line()Michael Niedermayer2015-08-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/tiff: Support uncompressed G4 CCITT faxMichael Niedermayer2015-08-13
| | | | | | | | | | | | Fixes part of ticket700 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/faxcompr: Support cmode == 9 && xxx == 7Michael Niedermayer2015-08-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/faxcompr: Print the unsupported mode numberMichael Niedermayer2015-08-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dvbsubdec: Print field lens in case they are too lergeMichael Niedermayer2015-08-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | movtextdec: Use default style information from movtext headerNiklesh2015-08-12
| | | | | | | | | | | | | | | | As suggested, posting the combined patch with the fate changes. The patch sets the default style in ASS from the default style information present in the movtext header. Signed-off-by: Niklesh <niklesh.lalwani@iitb.ac.in>
* | avcodec/mpeg12dec: Check chroma_formatMichael Niedermayer2015-08-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/tableprint_vlc.h: include lavu/reverse.c for ff_reverse.Alexis Ballier2015-08-12
| | | | | | | | Fixes the build with --enable-hardcoded-tables since ff_reverse has moved to lavu.
* | avcodec/gsm_parser: Replace codec_id check by assertMichael Niedermayer2015-08-12
| | | | | | | | | | | | | | A parser should never be called with a mismatching codec Found-by: Ganesh Ajjanagadde <gajjanag@mit.edu> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil: add ff_reverse as av_reverse replacementAndreas Cadhalpun2015-08-12
| | | | | | | | | | | | | | The table is used in libavutil/eval.c. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>