summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* vdpau: add mapping for H.264 Constrained Baseline profile and fallbackRémi Denis-Courmont2014-12-14
| | | | | | | Old VDPAU drivers do not support this newly defined profile, so falling back to Main profile is necessary for backward binary compatibility. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: add mapping for H.264 Extended profileRémi Denis-Courmont2014-12-14
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: revector macro to reduce line spanRémi Denis-Courmont2014-12-14
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libfdk-aacdec: Fix a boundary checkMartin Storsjö2014-12-10
| | | | | | | | | This avoids potential out of bounds writes, with potential future versions of the library. Bug-Id: CID 1254945 CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: mlpdsp: handle pic offset calculation in a macroJanne Grunau2014-12-09
| | | | | Makes the code easier to read since it hides different offset calculations for arm and thumb mode.
* arm: make ff_mlp_filter_channel_arm and ff_mlp_rematrix_channel_arm position ↵Janne Grunau2014-12-09
| | | | | | independent No significant difference in used cpu cycles on a cortex-a9.
* aarch64: Use .data.rel.ro for const data with relocationsMartin Storsjö2014-12-09
| | | | | | | This reverts commit c00365b46d464ce47716315c1801818d811bdb9a in addition to using a different section. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Use .data.rel.ro for const data with relocationsMartin Storsjö2014-12-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: increase MAX_SLICES to 32Vittorio Giovara2014-12-08
| | | | | | | | H264 streams from CounterPath Bria and some Cisco phones need an increased pool for correct decoding. Bug-Id: 645 Sample-Id: bria-h264.mka
* dpx: always write the image offsetZoltan Kovacs2014-12-08
| | | | | | | | | | | | | According to the DPX file format description found at http://www.fileformat.info/format/dpx/egff.htm the ImageElement part of the GenericImageHeader also contains an an offset to the real image data beside the same member that can be found in the GenericFileHeader. Libav keeps this member empty (=0) while some applications expects it to be filled properly. FATE test updated accordingly. Bug-Id: 742 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* arm: fft_vfp: Unify the behaviour in ff_fft_calc_vfp between arm/thumbMartin Storsjö2014-12-08
| | | | | | | | | | | | Don't include the function pointer table in the code segment in arm mode. This shouldn't have any significant performance effect. It does end up as a few more instructions than before, for ARM, but only at the entry to this function, not within the fft functions themselves. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: fft_vfp: Add a missing "endconst" when building in thumb modeMartin Storsjö2014-12-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* v210enc: Add SIMD optimised 8-bit and 10-bit encodersKieran Kunhya2014-12-05
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: mention that the parser callback never returns an errorVittorio Giovara2014-12-05
|
* mpegvideo: exit cleanly when ff_mpv_common_frame_size_change() failsMichael Niedermayer2014-12-03
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpegvideo: free_context_frame() cannot fail, make it return voidMichael Niedermayer2014-12-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mpegvideo: replace assert about interlaced EC with debug av_log()Michael Niedermayer2014-12-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mpeg12dec: Use more specific error codesMichael Niedermayer2014-12-03
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpeg12dec: Print error/warning messages on issues in mpeg1_decode_sequence()Michael Niedermayer2014-12-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* exr: Add a gamma flag to exr loader to avoid bandingGonzalo Garramuno2014-12-03
| | | | | | | | This is needed to avoid banding artifacts when gammaing the picture. Currently, if done with a video filter, the process is done on uints instead of full float. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264: proper cleanup in ff_h264_alloc_tables() if DPB alloc failsMichael Niedermayer2014-12-03
| | | | CC: libav-devel@libav.org
* h264: Fix memory leak on ff_h264_decode_init() failureDale Curtis2014-12-03
| | | | CC: libav-devel@libav.org
* options_table: fix colorspace minimum option valueJon Morley2014-12-02
| | | | | The min value for colorspace should be zero and not one since the first valid index into the frame colorspace array is AVCOL_SPC_RGB which is 0.
* aac: Simplify decode_mid_side_stereoLuca Barbato2014-12-02
| | | | | Might spare few cycles if the compiler is naive and makes the function more readable.
* opusdec: make sure all substreams have the same number of coded samplesAnton Khirnov2014-11-27
| | | | | | Fixes invalid writes with invalid multichannel streams. CC:libav-stable@libav.org
* vorbis_parser: Include stdint.h in the header, to make it work standaloneMartin Storsjö2014-11-25
| | | | | | This fixes "make checkheaders". Signed-off-by: Martin Storsjö <martin@martin.st>
* hnm4: change width/height to int to fix hypothetical integer overflowsMichael Niedermayer2014-11-25
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1135770 / CID 1135771
* hnm4: Use av_image_check_sizeLuca Barbato2014-11-25
| | | | | | | As done for all the other codecs not calling it indirectly. CC: libav-stable@libav.org Bug-Id: CID 1135770 / CID 1135771
* vc1: Use the correct shift amountMichael Niedermayer2014-11-25
| | | | | | | | | `is_intra` is a 6bits bitfield. CC: libav-stable@libav.org Bug-Id: CID 1194380 / CID 1194381 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vc1: Set the is_intra bitfield to all 1 when neededLuca Barbato2014-11-25
| | | | | | | Keep the code as similar as possible across the codepaths to ease spotting it for factorization. Based on a patch from Michael Niedermayer <michaelni@gmx.at>.
* vc1: Simplify a little setting the intra variablesLuca Barbato2014-11-25
| | | | | | | | The code currently set the information in at least 4 places, spare some pointless loops. Make the code in the loop a little uniform to make easier factorize it out later.
* vorbis_parser: Move vp check to avoid a null pointer dereferenceMichael Niedermayer2014-11-25
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1251347
* lpc: remove unneeded {}Michael Niedermayer2014-11-25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vc1pred: remove logically dead codeVittorio Giovara2014-11-25
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1245699 / CID 1245700
* aacsbr: always initialize max_qmf_subbandsVittorio Giovara2014-11-24
| | | | Fixes a wordly warning from clang -Wsometimes-uninitialized.
* roqaudio: Always use the frame buffer on flushMichael Niedermayer2014-11-24
| | | | | | | | Prevent NULL dereference. CC: libav-stable@libav.org Bug-Id: CID 703669 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* tiffenc: initialize return valueVittorio Giovara2014-11-24
| | | | | | | | | 'ret' can only be used without initialization if s->height <= 0, which can only happen if avctx->height <= 0, which is validated elsewhere. Doesn't hurt to still initialize it though. CC: libav-stable@libav.org Bug-Id: CID 732296
* cook: Make sure there is enough extradataLuca Barbato2014-11-24
| | | | | | | At least 8 bytes are needed (Mono audio). Bug-Id: CID 741418 CC: libav-stable@libav.org
* aacdec: avoid an out-of-bounds writeVittorio Giovara2014-11-24
| | | | | | | Also move the check in the case it is actually used. CC: libav-stable@libav.org Bug-Id: CID 1087090
* lavu: move internal define to the only places where it is usedVittorio Giovara2014-11-24
|
* motion_est: convert stride to ptrdiff_tVittorio Giovara2014-11-24
| | | | | CC: libav-stable@libav.org Bug-Id: CID 700556 / CID 700557 / CID 700558
* hevc: Spin the mv_mpv_mode calls in a stand alone functionLuca Barbato2014-11-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* qdm2: avoid integer overflowVittorio Giovara2014-11-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 700555
* vp9: Use the correct upper bound for seg_idLuca Barbato2014-11-21
| | | | | | And use a macro to make apparent why the value. Bug-Id: CID 1108595
* dvdsubdec: Do not leak on failure pathLuca Barbato2014-11-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1198262
* libtwolame: prevent a NULL pointer dereferenceVittorio Giovara2014-11-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1250330 / CID 1250335
* lavc: Move the libtwolame encoder registration to the list for external ↵Martin Storsjö2014-11-21
| | | | | | | | | | | | | libraries This makes sure the default behaviour of using the internal encoder stays the same regardless if libtwolame is enabled or not (as for any external library). This fixes fate-lavf-mpg if libav is built with libtwolame enabled. CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: fix bitshifts amount bigger than the typeVittorio Giovara2014-11-18
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1194387 / CID 1194389 / CID 1194393 / CID 1206638
* libvpxenc: clean memory on errorVittorio Giovara2014-11-18
| | | | | CC: libav-stable@libav.org Bug-Id: CID 733795
* hevc: remove superfluous assignments and checksAnton Khirnov2014-11-17
|