aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge commit '799f57ac96f9891d1a0f7d6c4b218ed536e8aca5'Michael Niedermayer2013-06-111-15/+9
|\| | | | | | | | | | | | | * commit '799f57ac96f9891d1a0f7d6c4b218ed536e8aca5': lavc: use AVFrame API properly in pad_last_frame(). Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: use AVFrame API properly in pad_last_frame().Anton Khirnov2013-06-101-15/+8
| | | | | | | | This also simplifies the code.
* | avcodec/utils: Fix encoder allocation sizeMichael Niedermayer2013-06-111-1/+1
| | | | | | | | | | | | Fixes Ticket2645 Found-by: Darrell Walisser Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | audio frame multi-threaded decodingPaul B Mahol2013-06-051-3/+7
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '2d66a58ccde05e764594bd7e5f0f9244634d0b2c'Michael Niedermayer2013-06-031-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '2d66a58ccde05e764594bd7e5f0f9244634d0b2c': Go2Webinar decoder Conflicts: Changelog configure libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/version.h libavformat/riff.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | add YUVJ411PMichael Niedermayer2013-05-211-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec_align_dimensions2: add missing yuva formatsMichael Niedermayer2013-05-181-0/+12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-181-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Escape 130 (RPL) decoder Conflicts: libavcodec/Makefile libavcodec/allcodecs.c libavcodec/codec_desc.c libavcodec/escape130.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '30e256430eb88c6d4c382581b89bca171d79fbc0'Michael Niedermayer2013-05-171-1/+1
|\| | | | | | | | | | | | | | | | | | | * commit '30e256430eb88c6d4c382581b89bca171d79fbc0': lavc/pthread: remove obsolete checks Conflicts: libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc/pthread: remove obsolete checksAnton Khirnov2013-05-171-1/+1
| | | | | | | | | | | | Those were useful when avcodec_thread_init() was a public functions. It was deprecated and removed some time ago, so those checks are not needed anymore.
* | replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*Michael Niedermayer2013-05-151-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-151-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* Conflicts: doc/APIchanges libavcodec/avpicture.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/imgconvert.c libavcodec/tiffenc.c libavfilter/vf_pixdesctest.c libavfilter/vf_scale.c libavutil/imgutils.c libavutil/pixdesc.c libavutil/version.h libswscale/swscale_internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-151-2/+2
| |
* | Merge commit '252c0bfdc014c1fb6ad4fe06242c7beca58a6b41'Michael Niedermayer2013-05-151-0/+1
|\| | | | | | | | | | | | | * commit '252c0bfdc014c1fb6ad4fe06242c7beca58a6b41': lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors) Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors)Matt Wolenetz2013-05-141-0/+1
| | | | | | | | | | | | This fixes https://bugzilla.libav.org/show_bug.cgi?id=514. Signed-off-by: Martin Storsjö <martin@martin.st>
* | ADPCM IMA Radical decoderJames Almer2013-05-101-0/+2
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | ADPCM DTK decoderJames Almer2013-05-101-0/+2
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | lavu: add FF_CEIL_RSHIFT and use it in various places.Clément Bœsch2013-05-091-6/+7
| |
* | libswscale: GBRAP input & output and GBRAP16 input supportPaul B Mahol2013-05-081-0/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit 'e55e8b2c362a60bad66929d83d8c83b0d7f5ffc9'Michael Niedermayer2013-05-081-10/+9
|\| | | | | | | | | | | | | | | | | | | * commit 'e55e8b2c362a60bad66929d83d8c83b0d7f5ffc9': lavc: do not leak frames in avcodec_decode_audio4 Conflicts: libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: do not leak frames in avcodec_decode_audio4Luca Barbato2013-05-071-3/+1
| | | | | | | | | | | | | | Notwithstanding the return value the frame should be freed if is not going to be used. Reported-by: Matthew Wolenetz <wolenetz@chromium.org>
* | avcodec/utils: Fix leak by dereferencing audio frame when side data causes ↵Matt Wolenetz2013-05-071-0/+2
| | | | | | | | | | | | whole frame skip Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec: Set frame.width/height on all exit pathes of ff_get_buffer()Michael Niedermayer2013-05-051-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6fee1b90ce3bf4fbdfde7016e0890057c9000487'Michael Niedermayer2013-05-051-2/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6fee1b90ce3bf4fbdfde7016e0890057c9000487': avcodec: Add av_cold attributes to init functions missing them Conflicts: libavcodec/aacpsy.c libavcodec/atrac3.c libavcodec/dvdsubdec.c libavcodec/ffv1.c libavcodec/ffv1enc.c libavcodec/h261enc.c libavcodec/h264_parser.c libavcodec/h264dsp.c libavcodec/h264pred.c libavcodec/libschroedingerenc.c libavcodec/libxvid_rc.c libavcodec/mpeg12.c libavcodec/mpeg12enc.c libavcodec/proresdsp.c libavcodec/rangecoder.c libavcodec/videodsp.c libavcodec/x86/proresdsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-041-2/+3
| |
* | avcodec: move lowres down with the next ABI bump and add accessorsMichael Niedermayer2013-05-031-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '088f38a4f9f54bb923405c67c9e72d96d90aa284'Michael Niedermayer2013-05-011-16/+16
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '088f38a4f9f54bb923405c67c9e72d96d90aa284': avcodec: Drop unnecessary ff_ name prefixes from static functions Conflicts: libavcodec/ass.c libavcodec/h264_parser.c libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun2013-04-301-20/+20
| |
* | Merge commit 'e036bb7899d0faca9159206be9bf5552e76e7633'Michael Niedermayer2013-05-011-0/+4
|\| | | | | | | | | | | | | | | * commit 'e036bb7899d0faca9159206be9bf5552e76e7633': lavc: clear AVBuffers on decoded frames if refcounted_frames is not set FATE: add an additional indeo3 test Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: clear AVBuffers on decoded frames if refcounted_frames is not setAnton Khirnov2013-04-301-0/+4
| | | | | | | | | | Otherwise some code might mistakenly think it is allowed to unref those buffers, which would lead to double unref.
* | avcodec_string: Print the used codec if it differs from the codec_id name.Michael Niedermayer2013-04-271-0/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec_string: remove the "(hq)" listingMichael Niedermayer2013-04-271-2/+2
| | | | | | | | | | | | | | printing "hq" depending on a single video encoding parameter makes little sense Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: check decoded subtitles encoding.Nicolas George2013-04-241-1/+30
| | | | | | | | Address trac ticket #2431.
* | avcodec: Fix lowres handling in buffer allocationMichael Niedermayer2013-04-191-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'a7f46586bf47174b5fa00a905b767b1781ec8b72'Michael Niedermayer2013-04-191-5/+13
|\| | | | | | | | | | | | | * commit 'a7f46586bf47174b5fa00a905b767b1781ec8b72': ff_get_buffer(): allocate the frame for max(coded,display) dimensions Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ff_get_buffer(): allocate the frame for max(coded,display) dimensionsAnton Khirnov2013-04-191-5/+13
| | | | | | | | Needed e.g. for h264 cropping to work properly.
| * lavc: don't overwrite display dimensions with coded dimensions.Anton Khirnov2013-04-101-1/+1
| |
| * dsputil: Make dsputil selectableRonald S. Bultje2013-04-101-1/+2
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | lavc/utils: merge side data after video encode.Clément Bœsch2013-04-191-0/+2
| | | | | | | | This allows encoders to communicate side data to the muxers.
* | lavc: avcodec_open2(): pass context to av_log()Paul B Mahol2013-04-161-2/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Add thread-safe wrapper for get_format().Reimar Döffinger2013-04-151-0/+5
| | | | | | | | | | | | | | Just like get_buffer, get_format should not be called from a different thread if thread_safe_callbacks is not set. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lavc: fix recoded subtitles end.Nicolas George2013-04-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | Text subtitles packets are not 0-terminated (and if they are, it is handled by the recoding process since 0 is a valid Unicode code point). The terminating 0 would overwrite the last payload octet. OTOH, packets must be 0-padded. Fix a problem reported in trac ticket #2431.
* | lavc: use packet duration for subtitles if necessary.Nicolas George2013-04-041-0/+8
| | | | | | | | Fix trac ticket #2397.
* | lavc: do not init frame with guessed layout.Nicolas George2013-04-031-2/+0
| | | | | | | | It is breaking support from files with unknown layout.
* | Merge commit 'c24469e812501903a46a06eff9722a82e136e841'Michael Niedermayer2013-03-271-1/+3
|\| | | | | | | | | | | | | | | | | | | | | * commit 'c24469e812501903a46a06eff9722a82e136e841': utils: add workaround for AVHWAccel in ff_get_buffer compat code configure: Remove a stray msmpeg4v1 encoder declaration Conflicts: libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * utils: add workaround for AVHWAccel in ff_get_buffer compat codeJanne Grunau2013-03-261-0/+4
| | | | | | | | | | | | | | Since c977039e585bfff28ecc037ef827c6c3d1ed88aa plane count for PIX_FMT_HWACCEL pixel formats is 0 instead of 1. The created dummy AVBuffers are still bogus since AVFrame does not hold frame data when AVHWAccels are used.
* | Merge commit 'f1e9398621af0bc9d166014e4ce6996bb4f141d0'Michael Niedermayer2013-03-261-4/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f1e9398621af0bc9d166014e4ce6996bb4f141d0': lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo Conflicts: libavcodec/h264_parser.c libavcodec/internal.h libavcodec/mpeg12.c libavcodec/utils.c libavformat/mpegtsenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideoMartin Storsjö2013-03-261-4/+3
| | | | | | | | | | | | | | Also move the declaration to internal.h, and add restrict qualifiers to the declaration (as in the implementation). Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '75644335b907919057960716508477239c26fed4'Michael Niedermayer2013-03-261-0/+34
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '75644335b907919057960716508477239c26fed4': lavc: Move start code finding to utils.c Conflicts: configure libavcodec/mpegvideo.c libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: Move start code finding to utils.cMartin Storsjö2013-03-261-0/+34
| | | | | | | | | | | | | | | | | | | | This allows dropping the mpegvideo dependency from a number of components. This also fixes standalone building of the h264 parser, which was broken in 64e438697. Signed-off-by: Martin Storsjö <martin@martin.st>