summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* h264: move context reinit lower down in update_thread_context()Anton Khirnov2015-04-29
| | | | | It uses some fields from the SPS, which is not yet set where the reinit is called currently.
* h264: move the DPB init/uninit to init_context()/free_context()Anton Khirnov2015-04-29
| | | | | | | | | | Currently, the DPB is initialized in alloc_tables() and uninitialized in free_tables(), but those functions manage frame size-dependent variables, so DPB management does not logically belong in there. Since we want the init/uninit to happen exactly once per the context lifetime, init_context()/free_context() are the proper place for this code.
* h264: drop H264Context.ouputed_pocAnton Khirnov2015-04-29
| | | | It is only set, but never used for anything.
* h264: drop needs_reallocAnton Khirnov2015-04-29
| | | | It is not needed anymore since switching to refcounted frames.
* h263: Convert function to macroVittorio Giovara2015-04-28
|
* h263: Drop commented-out code and a related otherwise unused functionVittorio Giovara2015-04-28
|
* jpeglsenc: Mark codec as init-thread-safe and init-cleanupVittorio Giovara2015-04-28
| | | | Fixes a memory leak on init failure.
* jpeglsenc: Check memory allocationsVittorio Giovara2015-04-28
| | | | | Convert exisiting free functions to av_freep() to avoid accidental double frees, and always intialize all buffers to NULL.
* flacenc: Move a scratch buffer to struct used by the functionVittorio Giovara2015-04-28
| | | | | This avoids allocating/freeing memory at every function call, checking its return value, and carrying the error around.
* vaapi: Fix -Wimplicit-function-declaration for ff_dlog() usageRico Tzschichholz2015-04-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dss_sp: use lowercase codec name without whitespaceAndreas Cadhalpun2015-04-24
| | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* libxvid: Make codec use the init-cleanup flag and mark it as init-thread-safeVittorio Giovara2015-04-24
| | | | This takes care of memory leaks on init error.
* libx264: Make codec use the init-cleanup flag and mark it as init-thread-safeVittorio Giovara2015-04-24
| | | | This takes care of memory leaks on init error.
* lclenc: Mark codec as init-thread-safe and init-cleanupVittorio Giovara2015-04-24
|
* hqx: Mark codec as init-thread-safe and init-cleanupVittorio Giovara2015-04-24
|
* huffyuvenc: Mark codec as init-thread-safe and init-cleanupVittorio Giovara2015-04-24
|
* asvenc: Mark codec as init-thread-safe and init-cleanupVittorio Giovara2015-04-24
|
* hq_hqa: Fix table data for profile 17Vittorio Giovara2015-04-24
| | | | | | The table had a wrong table height and was missing the first line of bytes. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* internal: Make dlog/tlog a no-op when disabledVittorio Giovara2015-04-24
| | | | Improves Coverity analysis, avoiding "double semicolon" CIDs.
* prores: Set the bits_per_coded_sample for alpha pix_fmtLuca Barbato2015-04-22
| | | | Improve the compatibility with other software.
* hq_hqa: Validate get_vlc2 return valueLuca Barbato2015-04-22
| | | | | The `hq_ac_vlc.table` is incomplete, so unaccounted symbol return -1 as value.
* avcodec: Free the default avoptions on init failureLuca Barbato2015-04-22
|
* avcodec: Unref the dummy buffer on the fail pathLuca Barbato2015-04-22
|
* hq_hqa: Fix reading hqa quantization matrix indexVittorio Giovara2015-04-20
| | | | Value is stored as a byte.
* hqxdsp.h: #include "stddef.h"Vittorio Giovara2015-04-20
| | | | It is required by ptrdiff_t, fixes make checkheaders.
* h264_ps: Return meaningful error codes and address a memory leakVittorio Giovara2015-04-20
| | | | Bug-Id: CID 1026763
* ffv1: Pass correct pointers to av_free()Diego Biurrun2015-04-20
| | | | Bug-Id: CID 1295124
* flac: fix realloc loop with invalid flac filesThomas Guillem2015-04-20
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* g2meet: Support G2M5 codec variantEric Zimmerman2015-04-19
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* aacdec: consistently use avctx for logging in decode_eld_specific_configAndreas Cadhalpun2015-04-19
| | | | | | ac may be NULL and then accessing ac->avctx results in a segmentation fault. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* mpegvideo_enc: Simplify picture allocationVittorio Giovara2015-04-19
|
* motion_est: Fix warning from zero_cmp() assignmentVittorio Giovara2015-04-19
| | | | | | | | warning: incompatible pointer types assigning to 'me_cmp_func' (aka 'int (*)(struct MpegEncContext *, uint8_t *, uint8_t *, ptrdiff_t, int)') from 'int (MpegEncContext *, uint8_t *, uint8_t *, int, int)' [-Wincompatible-pointer-types]
* vc1_pred: Always initialize px and py in ff_vc1_pred_mv_intfr()Vittorio Giovara2015-04-19
| | | | Fix a rather lengthy initialization warning from clang.
* Canopus HQ/HQA decoderVittorio Giovara2015-04-19
| | | | | | Based on work by Kostya Shishkov <kostya.shishkov@gmail.com>. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Implement shared parsing of INFO tag in Canopus familyVittorio Giovara2015-04-19
| | | | | Add some bounds checking to CLLC; reduce HQX variable scoping, add an error message.
* hqx: Implement slice-threaded decodingVittorio Giovara2015-04-19
| | | | | | Inspired by a patch from Ferdinand Oeinck <ferdo@demon.nl>. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hqx: Store shareable data in main decoder contextVittorio Giovara2015-04-19
| | | | In preparation for multithreaded decoding.
* hqx: Move DSP related code to a separate fileVittorio Giovara2015-04-19
|
* hqx: Merge invalid format check within switch blockVittorio Giovara2015-04-19
|
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* x265: Map color parametersLuca Barbato2015-04-15
|
* x264: Map color parametersLuca Barbato2015-04-15
|
* mpeg4videodec: Remove useless messageswm42015-04-14
| | | | | | | They seem to sometimes trigger with old AVI files. They are just confusing, do not help anyone, and use sloppy language. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mmal: Reference MMAL VC lib explicitlywm42015-04-14
| | | | | | | | | | This is optional, but ensures that linking with -Wl,--as-needed does not drop the library containing the MMAL VC driver. The driver normally "registers" itself in the library constructor, but since no symbols are explicitly referenced, the linker could remove it with --as-needed enabled. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mmal: Move system headers before local headerswm42015-04-14
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ffv1: Check memory allocationsVittorio Giovara2015-04-13
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* libx265: print supported presets and tunes on errorJames Almer2015-04-11
| | | | | | | Based on code from libavcodec/libx264.c Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* hqx: Fix clipping error in idct put functionFerdinand Oeinck2015-04-09
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dnxhd: Log the selected profile idVittorio Giovara2015-04-09
|
* v210: Fix typo in header guardsVittorio Giovara2015-04-09
|