summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* | Merge commit '5d3addb937946eca5391e40b5e6308e74ac6f77b'Michael Niedermayer2015-07-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5d3addb937946eca5391e40b5e6308e74ac6f77b': Add a quality factor packet side data Conflicts: doc/APIchanges ffmpeg.c libavcodec/avcodec.h libavcodec/mpegvideo_enc.c libavcodec/version.h Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * Add a quality factor packet side dataVittorio Giovara2015-07-20
| | | | | | | | | | | | | | | | This is necessary to preserve the quality information currently exported with coded_frame. Add the new side data to every encoder that needs it, and use it in avconv. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'd6604b29ef544793479d7fb4e05ef6622bb3e534'Michael Niedermayer2015-07-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd6604b29ef544793479d7fb4e05ef6622bb3e534': Gather all coded_frame allocations and free functions to a single place Conflicts: libavcodec/a64multienc.c libavcodec/asvenc.c libavcodec/cljrenc.c libavcodec/dpxenc.c libavcodec/dvenc.c libavcodec/gif.c libavcodec/huffyuvenc.c libavcodec/jpeglsenc.c libavcodec/libopenjpegenc.c libavcodec/libtheoraenc.c libavcodec/libvpxenc.c libavcodec/mpegvideo_enc.c libavcodec/nvenc.c libavcodec/pngenc.c libavcodec/proresenc_kostya.c libavcodec/sunrastenc.c libavcodec/tiffenc.c libavcodec/utils.c libavcodec/utvideoenc.c libavcodec/v210enc.c libavcodec/v410enc.c libavcodec/xbmenc.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * Gather all coded_frame allocations and free functions to a single placeVittorio Giovara2015-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allocating coded_frame is what most encoders do anyway, so it makes sense to always allocate and free it in a single place. Moreover a lot of encoders freed the frame with av_freep() instead of the correct API av_frame_free(). This bring uniformity to encoder behaviour and prevents applications from erroneusly accessing this field when not allocated. Additionally this helps isolating encoders that export information with coded_frame, and heavily simplifies its deprecation. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '91f9b6579ac684c4b51c4cd0dbaed0a4f8295edf'Michael Niedermayer2015-07-20
|\| | | | | | | | | | | | | * commit '91f9b6579ac684c4b51c4cd0dbaed0a4f8295edf': flashsvenc: Keep coded_frame.key_frame a write-only variable Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * flashsvenc: Keep coded_frame.key_frame a write-only variableVittorio Giovara2015-07-20
| |
| * ffv1enc: Use input frame to set SAR and interlacingVittorio Giovara2015-07-20
| |
* | Merge commit '10a9149de242c7bbc4e130d3d7c593b89e20f80e'Michael Niedermayer2015-07-20
|\| | | | | | | | | | | | | | | | | | | | | * commit '10a9149de242c7bbc4e130d3d7c593b89e20f80e': ffv1enc: Keep coded_frame.key_frame a write-only variable Conflicts: libavcodec/ffv1.h libavcodec/ffv1enc.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * ffv1enc: Keep coded_frame.key_frame a write-only variableVittorio Giovara2015-07-20
| |
* | Merge commit 'efc618aff9d68d2ddc323a5c5f892ac71951f162'Michael Niedermayer2015-07-20
|\| | | | | | | | | | | | | | | | | | | * commit 'efc618aff9d68d2ddc323a5c5f892ac71951f162': qtrleenc: Keep coded_frame.key_frame a write-only variable Conflicts: libavcodec/qtrleenc.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * qtrleenc: Keep coded_frame.key_frame a write-only variableVittorio Giovara2015-07-20
| |
* | Merge commit 'f3b4a92241a33d444f7f6018ebc12e2e3a2d335f'Michael Niedermayer2015-07-20
|\| | | | | | | | | | | | | * commit 'f3b4a92241a33d444f7f6018ebc12e2e3a2d335f': libtheoraenc: Keep coded_frame.key_frame a write-only variable Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * libtheoraenc: Keep coded_frame.key_frame a write-only variableVittorio Giovara2015-07-20
| |
* | Merge commit 'd6006dd9f0d4d01023359230212f1f9fa4800e5b'Michael Niedermayer2015-07-20
|\| | | | | | | | | | | | | | | | | | | * commit 'd6006dd9f0d4d01023359230212f1f9fa4800e5b': libvpxenc: Do not entangle coded_frame Conflicts: libavcodec/libvpxenc.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * libvpxenc: Do not entangle coded_frameVittorio Giovara2015-07-20
| | | | | | | | Keep coded_frame.key_frame a write-only variable.
* | Merge commit '7fc8d8a1b3da1666176b3d92e989ee74f3ef014e'Michael Niedermayer2015-07-20
|\| | | | | | | | | | | | | * commit '7fc8d8a1b3da1666176b3d92e989ee74f3ef014e': libxvid: Do not entangle coded_frame Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * libxvid: Do not entangle coded_frameVittorio Giovara2015-07-20
| |
* | Merge commit '56672aeaee19216d2fd8eeb9964b1f71f0af2919'Michael Niedermayer2015-07-20
|\| | | | | | | | | | | | | | | | | | | * commit '56672aeaee19216d2fd8eeb9964b1f71f0af2919': svq1enc: Do not entangle coded_frame Conflicts: libavcodec/svq1enc.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * svq1enc: Do not entangle coded_frameVittorio Giovara2015-07-20
| |
* | Merge commit '05fb4c9aaf84b59f8ab1ce8d4c0f49dd12113024'Michael Niedermayer2015-07-20
|\| | | | | | | | | | | | | | | | | | | * commit '05fb4c9aaf84b59f8ab1ce8d4c0f49dd12113024': proresenc: Do not entangle coded_frame Conflicts: libavcodec/proresenc_kostya.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * proresenc: Do not entangle coded_frameVittorio Giovara2015-07-20
| |
* | Merge commit '91767360d86ac786571593ab11c7291010ab3829'Michael Niedermayer2015-07-20
|\| | | | | | | | | | | | | | | | | | | * commit '91767360d86ac786571593ab11c7291010ab3829': a64multienc: Do not entangle coded_frame Conflicts: libavcodec/a64multienc.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * a64multienc: Do not entangle coded_frameVittorio Giovara2015-07-20
| | | | | | | | | | | | | | | | | | | | | | This change (and the following ones of the same kind) is mainly to simplify wrapping this section with an #if FF_API block later on. No functional changes are applied, the fields of the context coded_frame fields are directly initialized, instead of keeping a reference to the coded_frame itself. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '95e2317ed85502dd8d96bcd9b12084dbfb8f9e8e'Michael Niedermayer2015-07-20
|\| | | | | | | | | | | | | | | | | | | * commit '95e2317ed85502dd8d96bcd9b12084dbfb8f9e8e': roqvideoenc: Drop unneeded initialization Conflicts: libavcodec/roqvideoenc.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * roqvideoenc: Drop unneeded initializationVittorio Giovara2015-07-20
| | | | | | | | Its fields are never initialized to begin with.
* | Merge commit '1f171de8cae9d0c527c5f0bae2a597dbd65fd3a4'Michael Niedermayer2015-07-20
|\| | | | | | | | | | | | | * commit '1f171de8cae9d0c527c5f0bae2a597dbd65fd3a4': mpegvideo_enc: Drop unnneded initialization Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * mpegvideo_enc: Drop unnneded initializationVittorio Giovara2015-07-20
| | | | | | | | coded_frame is already initialized where needed.
* | libavcodec/qsvdec.c: missed MFXVideoDECODE_Close() callIvan Uskov2015-07-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: Implementation of AAC_fixed_decoder (SBR-module)Djordje Pesut2015-07-20
| | | | | | | | | | | | | | Add fixed poind code. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: Table creation for AAC_fixed_decoder (SBR-module)Jovan Zelincevic2015-07-20
| | | | | | | | | | | | | | Create tables for fixed point code. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: Template creation for AAC decoder (SBR-module)Djordje Pesut2015-07-20
| | | | | | | | | | | | | | Move the existing code to a new template file. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | movtextdec.c: Correct the highlight tagsNiklesh2015-07-20
| | | | | | | | Signed-off-by: Niklesh <niklesh.lalwani@iitb.ac.in>
* | avcodec/apngdec: Fix typos in decoder causing incorrect resultsDonny Yang2015-07-20
| | | | | | | | Signed-off-by: Donny Yang <work@kota.moe>
* | avcodec: loongson relocate constants of idctdsp and h264pred周晓勇2015-07-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: loongson constants redefined with macros周晓勇2015-07-20
| | | | | | | | | | Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/ffv1enc: fix assertion failure with unset bits per raw sampleMichael Niedermayer2015-07-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc/jpeg2000: Signal lossless / bit-exact video stream.Carl Eugen Hoyos2015-07-20
| |
* | lavc: Improve documentation for rc_max_rate and bit_rate.Carl Eugen Hoyos2015-07-20
| | | | | | | | Both may be set by user (libavformat) on decoding.
* | avcodec/dds: Flip more R<->B casesMichael Niedermayer2015-07-20
| | | | | | | | | | | | Fixes Ticket4665 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dds: fix paletted filesMichael Niedermayer2015-07-19
| | | | | | | | | | | | | | | | | | Fixes Ticket4664 The changed fate tests lack red/blue shades and thus look correct either way Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/utils: Check that channel count is valid in avcodec_open2();Michael Niedermayer2015-07-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '69b92f1b99f3f210be19ee6ec06f6c0de1733031'Michael Niedermayer2015-07-19
|\| | | | | | | | | | | | | | | | | | | * commit '69b92f1b99f3f210be19ee6ec06f6c0de1733031': qsvenc: properly handle asynchronous encoding Conflicts: libavcodec/qsvenc.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * qsvenc: properly handle asynchronous encodingAnton Khirnov2015-07-19
| | | | | | | | Wait for async_depth frames before syncing.
* | Merge commit 'f5c4d38c78347b09478e21a661befff4b2d44643'Michael Niedermayer2015-07-19
|\| | | | | | | | | | | | | | | | | | | * commit 'f5c4d38c78347b09478e21a661befff4b2d44643': qsvdec: properly handle asynchronous decoding Conflicts: libavcodec/qsvdec.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * qsvdec: properly handle asynchronous decodingAnton Khirnov2015-07-19
| | | | | | | | Wait for async_depth frames before syncing.
* | avcodec/hevc_parser: Treat extradata parsing differently, as it should not ↵Michael Niedermayer2015-07-19
| | | | | | | | | | | | | | | | contain an AU Fixes ticket4718 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/vp8: Check buffer size in vp8_decode_frame_header()Michael Niedermayer2015-07-18
| | | | | | | | | | | | | | | | avoids null pointer dereference Fixes: signal_sigsegv_d5de40_964_vp80-00-comprehensive-010.ivf with memlimit of 1048576 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/vp8: Fix null pointer dereference in ff_vp8_decode_free()Michael Niedermayer2015-07-18
| | | | | | | | | | | | | | Fixes: signal_sigsegv_d5de23_967_vp80_00_comprehensive_010.ivf with memlimit 524288 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/diracdec: Check for hpel_base allocation failureMichael Niedermayer2015-07-18
| | | | | | | | | | | | | | | | Fixes null pointer dereference Fixes: signal_sigsegv_b02a96_280_RL_420p_ffdirac.drc with memlimit of 67108864 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/rv34: Clear pointers in ff_rv34_decode_init_thread_copy()Michael Niedermayer2015-07-18
| | | | | | | | | | | | | | | | Avoids leaving stale pointers Fixes: signal_sigabrt_7ffff70eccc9_819_sabtriple.rm with memlimit 536870912 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>