aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/hap: set bits_per_coded_sampleTom Butterworth2015-10-231-0/+3
| | | | | | fixes issue where alpha is ignored in some players Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/libzvbi-teletextdec: Add variable to fix buildMichael Niedermayer2015-10-221-0/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '3ee2c60cc296eee3f63d7b5fee9b4332eeeac9fa'Hendrik Leppkes2015-10-221-9/+10
|\ | | | | | | | | | | | | * commit '3ee2c60cc296eee3f63d7b5fee9b4332eeeac9fa': utils: Use data buffers directly instead of an AVPicture Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * utils: Use data buffers directly instead of an AVPictureVittorio Giovara2015-10-221-9/+10
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avcodec/libzvbi: Update for AVSubtitleRect changesHendrik Leppkes2015-10-221-14/+23
| |
* | Merge commit 'a17a7661906ba295d67afd80ac0770422e1b02b3'Hendrik Leppkes2015-10-2210-86/+179
|\| | | | | | | | | | | | | * commit 'a17a7661906ba295d67afd80ac0770422e1b02b3': lavc: Add data and linesize to AVSubtitleRect Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * lavc: Add data and linesize to AVSubtitleRectVittorio Giovara2015-10-2110-70/+157
| | | | | | | | | | | | | | | | | | | | | | | | Use the new fields directly instead of the ones from AVPicture. This removes a layer of indirection which serves no pratical purpose whatsoever, and will help in removing AVPicture structure completely later. Every subtitle encoder/decoder seamlessly points to the new arrays, so it is possible to deprecate AVSubtitleRect.pict. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avcodec/nuv: Fix 'libavcodec/nuv.c:83:19: warning: passing argument 3 of ↵Michael Niedermayer2015-10-221-1/+1
| | | | | | | | | | | | av_image_copy from incompatible pointer type' Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/x86/vc1dsp: Remove unused macroMichael Niedermayer2015-10-221-7/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'f890677d05bc4e8b494a73373ab4cc19791bf884'Hendrik Leppkes2015-10-224-7/+14
|\| | | | | | | | | | | | | * commit 'f890677d05bc4e8b494a73373ab4cc19791bf884': Replace any remaining avpicture function with imgutils Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * Replace any remaining avpicture function with imgutilsVittorio Giovara2015-10-215-10/+19
| | | | | | | | | | | | avpicture_get_size() -> av_image_get_buffer_size() Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '13bddab7de10aebf6efb98aa6d7ff0c51bb0e364'Hendrik Leppkes2015-10-221-3/+6
|\| | | | | | | | | | | | | * commit '13bddab7de10aebf6efb98aa6d7ff0c51bb0e364': nuv: Replace avpicture functions with imgutils Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * nuv: Replace avpicture functions with imgutilsVittorio Giovara2015-10-211-3/+6
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '48c06386831604921bdaf4fb77ea02766cd615f4'Hendrik Leppkes2015-10-221-9/+11
|\| | | | | | | | | | | | | * commit '48c06386831604921bdaf4fb77ea02766cd615f4': dpx: Replace avpicture functions with imgutils Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * dpx: Replace avpicture functions with imgutilsVittorio Giovara2015-10-211-6/+9
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | roqvideodec: use av_frame_copyHendrik Leppkes2015-10-221-5/+5
| |
* | Merge commit 'f0a106578d759de6183eea3c75f8373b6d3153c1'Hendrik Leppkes2015-10-221-2/+5
|\| | | | | | | | | | | | | * commit 'f0a106578d759de6183eea3c75f8373b6d3153c1': roqvideodec: Replace avpicture functions with imgutils Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * roqvideodec: Replace avpicture functions with imgutilsVittorio Giovara2015-10-211-2/+5
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'ef3a3519c10620c4206738595bf03fc0bed71802'Hendrik Leppkes2015-10-221-17/+17
|\| | | | | | | | | | | | | * commit 'ef3a3519c10620c4206738595bf03fc0bed71802': rawdec: Replace avpicture functions with imgutils Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * rawdec: Replace avpicture functions with imgutilsLuca Barbato2015-10-211-12/+14
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'fcc1280acb6e6f682b34c2101b075b82f83d71ba'Hendrik Leppkes2015-10-221-3/+7
|\| | | | | | | | | | | | | * commit 'fcc1280acb6e6f682b34c2101b075b82f83d71ba': rawenc: Replace avpicture functions with imgutils Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * rawenc: Replace avpicture functions with imgutilsLuca Barbato2015-10-211-3/+7
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '3496cec43304ac040d6d05f9d500a6f93cc049e7'Hendrik Leppkes2015-10-226-9/+9
|\| | | | | | | | | | | | | * commit '3496cec43304ac040d6d05f9d500a6f93cc049e7': msrle: Use AVFrame instead of AVPicture Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * msrle: Use AVFrame instead of AVPictureVittorio Giovara2015-10-216-8/+8
| | | | | | | | | | | | | | Callers always use a frame and cast it to AVPicture, change ff_msrle_decode() to accept an AVFrame directly instead. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | qsvdec: fix get_format and hwaccel_context handlingHendrik Leppkes2015-10-221-16/+17
| | | | | | | | This enables the qsv transcoder to actually get activated
* | Merge commit 'dc923bc23b3efd949d0bf67ff1abdb95059e5843'Hendrik Leppkes2015-10-223-8/+109
|\| | | | | | | | | | | | | * commit 'dc923bc23b3efd949d0bf67ff1abdb95059e5843': qsvenc: add an API for allocating opaque surfaces Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * qsvenc: add an API for allocating opaque surfacesAnton Khirnov2015-10-163-5/+108
| |
* | Merge commit '2ec96b6bd5bf7b22978711bcf2cee702bee89c6f'Hendrik Leppkes2015-10-221-34/+34
|\| | | | | | | | | | | | | * commit '2ec96b6bd5bf7b22978711bcf2cee702bee89c6f': qsvenc: cosmetics, reindent Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * qsvenc: cosmetics, reindentAnton Khirnov2015-10-161-33/+33
| |
* | Merge commit 'f6f32fc93d39caf329869c1bff8ad024ccab1d42'Hendrik Leppkes2015-10-221-5/+4
|\| | | | | | | | | | | | | * commit 'f6f32fc93d39caf329869c1bff8ad024ccab1d42': qsvenc: set the timestamp for PIX_FMT_QSV frames as well Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * qsvenc: set the timestamp for PIX_FMT_QSV frames as wellAnton Khirnov2015-10-161-5/+4
| |
* | Merge commit '772c87c5a658f36d7c0612f5da583fc2bfa54f79'Hendrik Leppkes2015-10-222-6/+36
|\| | | | | | | | | | | | | * commit '772c87c5a658f36d7c0612f5da583fc2bfa54f79': qsvenc: support passing arbitrary external buffers to the encoder Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * qsvenc: support passing arbitrary external buffers to the encoderAnton Khirnov2015-10-162-5/+34
| |
* | lavc/x86/vc1dsp_init: Fix compilation with --disable-yasm.Carl Eugen Hoyos2015-10-221-2/+2
| |
* | mmaldec: Add mpeg2 decoding supportJulian Scheel2015-10-223-24/+50
| | | | | | | | | | | | | | | | | | | | Register mmaldec as mpeg2 decoder. Supporting mpeg2 in mmaldec is just a matter of setting the correct MMAL_ENCODING on the input port. To ease the addition of further supported mmal codecs a macro is introduced to generate the decoder and decoder class structs. Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: wm4 <nfxjfg@googlemail.com>
* | x86/Makefile: move decoder/encoder objects out of the subsystems sectionJames Almer2015-10-221-9/+8
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | vc1dsp: Port ff_vc1_put_ver_16b_shift2_mmx to yasmTimothy Gu2015-10-212-53/+95
| | | | | | | | | | | | This function is only used within other inline asm functions, hence the HAVE_MMX_INLINE guard. Per recent discussions, we should not worry about the performance of inline asm-only builds.
* | avcodec: rename avpriv_color_frame to ff_color_frameAndreas Cadhalpun2015-10-223-3/+3
| | | | | | | | | | | | | | It is only used inside libavcodec. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | avcodec: drop 2 suffix from avpriv_ac3_parse_header2Andreas Cadhalpun2015-10-223-4/+4
| | | | | | | | | | | | | | avpriv_ac3_parse_header was removed in commit 3dfb643. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | huffyuvencdsp: Cherry pick changes left out in the last commitTimothy Gu2015-10-211-3/+3
| | | | | | | | Oops.
* | huffyuvencdsp: Add ff_diff_bytes_{sse2,avx2}Timothy Gu2015-10-213-21/+107
| | | | | | | | | | SSE2 version 4%-35% faster than MMX depending on the width. AVX2 version 1%-13% faster than SSE2 depending on the width.
* | mmaldec: Fix avpriv_atomic_get usageJulian Scheel2015-10-211-1/+1
| | | | | | | | | | | | | | | | | | There is no avpriv_atomic_get, instead avpriv_atomic_int_get is to be used for integers. This fixes building mmaldec. Signed-off-by: Julian Scheel <julian@jusst.de> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | aacdec: fix strict prototype warningHendrik Leppkes2015-10-211-1/+1
| | | | | | | | | | Function protoypes without arguments require a void argument in C, instead of an empty list.
* | lavc: add AV_CODEC_ID_DAALA to the list of codec IDs and bump minorRostislav Pehlivanov2015-10-213-1/+9
| | | | | | | | | | | | | | | | | | | | | | This commit shall introduce the first step of adding support for the Daala next generation video codec to FFmpeg. Although still in development, the codec is showing good progress and exchanging work through IETF drafts. The companies behind Daala are also participating in the Alliance for Open Media, so it's likely that whatever the result any of these collaborations produce it's probable that elements from Daala could be used in them, or perhaps this codec itself could be the result.
* | libvpxenc: remove some unused ctrl id mappingsJames Zern2015-10-201-8/+0
| | | | | | | | | | | | | | | | VP8E_UPD_ENTROPY, VP8E_UPD_REFERENCE, VP8E_USE_REFERENCE were removed from libvpx and the remaining values were never used here Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Zern <jzern@google.com>
* | huffyuvencdsp: Convert ff_diff_bytes_mmx to yasmTimothy Gu2015-10-203-30/+81
| | | | | | | | | | | | | | Heavily based upon ff_add_bytes by Christophe Gisquet. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Timothy Gu <timothygu99@gmail.com>
* | avcodec: remove unused avpriv_ac3_parse_headerAndreas Cadhalpun2015-10-212-11/+0
| | | | | | | | | | | | | | It was replaced by avpriv_ac3_parse_header2. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | dnxhdenc: Optimize get_pixels_8x4_sym for 10-bitTimothy Gu2015-10-201-16/+8
| | | | | | | | | | | | | | | | | | | | | | This reverts commit 628e6d0164febc8e69b0f10dfa487e8a2dd1a28a and uses a better fix. Before: 4483 decicycles in get_pixels_8x4_sym, 131032 runs, 40 skips After: 2569 decicycles in get_pixels_8x4_sym, 131054 runs, 18 skips
* | dca_parser: don't overwrite the sample rate, it may not be correctHendrik Leppkes2015-10-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | The parser only reads the dca core sample rate, which is limited to a maximum of 48000 Hz, while X96 and HD extensions can increase the sample rate up to 192000 Hz. This change prevents the parser and decoder fighting over the sample rate, potentially confusing user applications. This also fixes sample rate display of >48000Hz files with ffmpeg/ffprobe when using libdcadec. Fixes ticket #4397
* | huffyuvencdsp: Use intptr_t for widthTimothy Gu2015-10-193-6/+7
| | | | | | | | It is done this way in huffyuvdsp as well.