summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* lavc: fix compilation with FF_API_XVMC.Ronald S. Bultje2015-08-183-12/+0
|
* libvpxenc: make flags i64 instead of dbl.Ronald S. Bultje2015-08-181-2/+2
|
* FF_OPT_TYPE_* -> AV_OPT_TYPE_*.Ronald S. Bultje2015-08-187-17/+17
|
* Replace av_dlog with ff_dlog.Ronald S. Bultje2015-08-183-13/+16
| | | | | 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-181-6/+0
|
* 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>
| * libfdk-aacdec: Bump the max number of channels to 8Martin Storsjö2015-08-161-1/+1
| | | | | | | | | | | | | | | | | | 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-1114-14/+14
| | | | | | | | | | | | | | 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-111-2/+2
| | | | | | | | | | | | | | | | 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-111-1/+1
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | lavc/mjpegdec: Detect more CMYK images.Carl Eugen Hoyos2015-08-171-0/+6
| | | | | | | | Fixes ticket #4772.
* | avcodec/rv30: fix switching back to the original resolutionMichael Niedermayer2015-08-172-0/+8
| | | | | | | | | | | | Fixes part of Ticket1388 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | ffmpeg_vdpau: Ignore decoder's max supported levelPhilip Langdale2015-08-161-0/+3
| | | | | | | | | | | | 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-151-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/svq1enc: Check dimensionsMichael Niedermayer2015-08-151-0/+5
| | | | | | | | | | | | Fixes assertion failure Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | movtextdec: Add support for automatic text wrappingNiklesh2015-08-141-1/+24
| | | | | | | | | | | | | | | | | | | | | | 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-141-1/+1
| | | | | | | | | | | | to rc_max_rate for CBR) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/faxcompr: negate uncompressed runsMichael Niedermayer2015-08-141-1/+1
| | | | | | | | | | | | | | 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-141-127/+85
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/tiff: Support uncompressed G3 CCITT faxMichael Niedermayer2015-08-131-5/+1
| | | | | | | | | | | | 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-131-2/+71
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/tiff: Support uncompressed G4 CCITT faxMichael Niedermayer2015-08-131-1/+1
| | | | | | | | | | | | Fixes part of ticket700 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/faxcompr: Support cmode == 9 && xxx == 7Michael Niedermayer2015-08-131-2/+72
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/faxcompr: Print the unsupported mode numberMichael Niedermayer2015-08-131-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dvbsubdec: Print field lens in case they are too lergeMichael Niedermayer2015-08-131-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | movtextdec: Use default style information from movtext headerNiklesh2015-08-121-4/+78
| | | | | | | | | | | | | | | | 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-121-0/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/tableprint_vlc.h: include lavu/reverse.c for ff_reverse.Alexis Ballier2015-08-121-0/+1
| | | | | | | | 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-121-4/+2
| | | | | | | | | | | | | | 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-124-21/+2
| | | | | | | | | | | | | | The table is used in libavutil/eval.c. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | avcodec/g729_parser: Replace codec_id check by assertMichael Niedermayer2015-08-111-12/+5
| | | | | | | | | | | | A parser should never be called with a mismatching codec Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/g729: add g729_parserGanesh Ajjanagadde2015-08-114-0/+95
| | | | | | | | | | | | | | Add trivial g729 parser; fixes Ticket4753 Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc: Remove newline from avpriv_request_sample() calls.Carl Eugen Hoyos2015-08-116-10/+10
| |
* | libavcodec/qsvdec.c: Extended error messages for MFXVideoDECODE_Init() resultIvan Uskov2015-08-111-1/+7
| | | | | | | | | | Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | mmaldec: fix problems with flush logicwm42015-08-111-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | Don't try to do a blocking wait for MMAL output if we haven't even sent a single real packet, but only flush packets. Obviously we can't expect to get anything back. Additionally, don't send a flush packet to MMAL in the same case. It appears the MMAL decoder will sometimes hang in mmal_vc_port_disable() (called from ffmmal_close_decoder()), waiting for a reply from the GPU which never arrives. Either MMAL disallows sending flush packets without preceding real data, or it's a MMAL bug.
* | mmaldec: do not mutate user's AVCodecContext extradata fieldwm42015-08-111-5/+3
| |
* | mmaldec: hack against buffering problems on broken inputwm42015-08-111-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I can't come up with a nice way to handle this. It's hard to keep the lock-stepped input/output in this case. You can't predict whether the MMAL decoder will output a picture (because it's asynchronous), so you have to assume in general that any packet could produce 0 or 1 frames. You can't continue to write input packets to the decoder, because then you might get too many output frames, which you can't get rid of because the lavc decoding API does not allow the decoder to return an output frame without consuming an input frame (except when flushing). The ideal fix is a M:N decoding API (preferably asynchronous), which would make this code potentially much cleaner. For now, this hack will do.
* | aacenc: Move small misc. functions to a separate fileRostislav Pehlivanov2015-08-113-86/+145
| | | | | | | | | | | | | | | | | | | | | | As well as tables littered everywhere, functions were spread out all across the encoder's files. This moves them to a single place where they can be used by either the encoder's main files or additional encoder files. Additionally, it changes the type of some to 'inline' to enable us to simply put them in a header file and possibly gain some speed due to compiler optimizations. Signed-off-by: Claudio Freire <klaussfreire@gmail.com>
* | avcodec/mjpegenc_common: do not ignore the color_range fieldMichael Niedermayer2015-08-101-3/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '1542ec96389f32e5081c6c607e4b6f5e257ccdf2'Hendrik Leppkes2015-08-101-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '1542ec96389f32e5081c6c607e4b6f5e257ccdf2': cosmetics: Drop spurious spaces from if clauses Conflicts: libavcodec/vc1_block.c Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * cosmetics: Drop spurious spaces from if clausesPaolo Bizzarri2015-08-081-4/+4
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '0f562f5b833d603e04123d198c59f8b2b5eb43e4'Hendrik Leppkes2015-08-101-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '0f562f5b833d603e04123d198c59f8b2b5eb43e4': h264: Do not print an error when the buffer has to be refilled Conflicts: libavcodec/h264.c Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * h264: Do not print an error when the buffer has to be refilledLuca Barbato2015-08-061-5/+2
| | | | | | | | Partially amends 9469370fb32679352e66826daf77bdd2e6f067b5
* | Revert "movtextdec: Use default style information from movtext header"Michael Niedermayer2015-08-101-78/+4
| | | | | | | | | | | | | | | | The commit broke sub-movtext and sub-subripenc fate output differs between mips ad x86 so updating fate ref is not possible This reverts commit d670848d4c2757068ff43a68c05d01b28c809fb4.
OpenPOWER on IntegriCloud