summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* x86: hevc_mc: better register allocationChristophe Gisquet2014-05-28
| | | | | | | | | | | | | | | | | | | | | The xmm reg count was incorrect, and manual loading of the gprs furthermore allows to noticeable reduce the number needed. The modified functions are used in weighted prediction, so only a few samples like WP_* exhibit a change. For this one and Win64 (some widths removed because of too few occurrences): WP_A_Toshiba_3.bit, ff_hevc_put_hevc_uni_w 16 32 before: 2194 3872 after: 2119 3767 WP_B_Toshiba_3.bit, ff_hevc_put_hevc_bi_w 16 32 64 before: 2819 4960 9396 after: 2617 4788 9150 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mjpegdec: Support pix_fmt_id== 0x42111100Michael Niedermayer2014-05-28
| | | | | Fixes: 538782_300.jpg Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'b5aa48551300eed678aaea86ced7086758598a35'Michael Niedermayer2014-05-28
|\ | | | | | | | | | | | | * commit 'b5aa48551300eed678aaea86ced7086758598a35': ppc: Move vec_unaligned_load macro to util_altivec Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ppc: Move vec_unaligned_load macro to util_altivecDiego Biurrun2014-05-28
| | | | | | | | This allows reusing it from multiple files.
* | Merge commit '5fdaf312c5541b77b6364db8b49d6abb416a25c0'Michael Niedermayer2014-05-28
|\| | | | | | | | | | | | | * commit '5fdaf312c5541b77b6364db8b49d6abb416a25c0': flac: make avpriv_flac_parse_block_header() inline Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * flac: make avpriv_flac_parse_block_header() inlineAnton Khirnov2014-05-28
| | | | | | | | | | | | This avoids all the ABI troubles associated with avpriv_. Since this function is very small and does not depend on any tables, making it inline should have no adverse effects.
* | Merge commit 'f13ffb6636fdecb5e3e0ddcff48f096e7b3db362'Michael Niedermayer2014-05-28
|\| | | | | | | | | | | | | * commit 'f13ffb6636fdecb5e3e0ddcff48f096e7b3db362': flacdec: do not overwrite a channel layout set by the caller Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * flacdec: do not overwrite a channel layout set by the callerAnton Khirnov2014-05-28
| | | | | | | | | | The channel layout mask for non-standard layouts is typically stored at the container level (as a vorbiscomment tag) for FLAC.
* | Merge commit '512f3ffe9b4bb86767c2b1176554407c75fe1a5c'Michael Niedermayer2014-05-28
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '512f3ffe9b4bb86767c2b1176554407c75fe1a5c': dsputil: Split off HuffYUV encoding bits into their own context Conflicts: configure libavcodec/dsputil.c libavcodec/dsputil.h libavcodec/huffyuv.h libavcodec/huffyuvenc.c libavcodec/pngenc.c libavcodec/x86/dsputilenc_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Split off HuffYUV encoding bits into their own contextDiego Biurrun2014-05-27
| | | | | | | | Also shorten HuffYUV context member names to avoid clutter.
* | Merge commit '0d439fbede03854eac8a978cccf21a3425a3c82d'Michael Niedermayer2014-05-27
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0d439fbede03854eac8a978cccf21a3425a3c82d': dsputil: Split off HuffYUV decoding bits into their own context Conflicts: configure libavcodec/dsputil.c libavcodec/dsputil.h libavcodec/huffyuv.h libavcodec/huffyuvdec.c libavcodec/lagarith.c libavcodec/vble.c libavcodec/x86/Makefile libavcodec/x86/dsputil.asm libavcodec/x86/dsputil_init.c libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Split off HuffYUV decoding bits into their own contextDiego Biurrun2014-05-27
| | | | | | | | Also shorten HuffYUV context member names to avoid clutter.
* | Merge commit '888dcd86755d37e55fd74166f6d38ad66d41db58'Michael Niedermayer2014-05-27
|\| | | | | | | | | | | | | * commit '888dcd86755d37e55fd74166f6d38ad66d41db58': h264_picture: Remove pointless dsputil.h #include Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264_picture: Remove pointless dsputil.h #includeDiego Biurrun2014-05-27
| |
* | Merge commit 'f1df0a4c08b54e722e7a2c797d0d31c7f2c531d0'Michael Niedermayer2014-05-27
|\| | | | | | | | | | | | | * commit 'f1df0a4c08b54e722e7a2c797d0d31c7f2c531d0': on2avc: Remove pointless dsputil.h #include Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * on2avc: Remove pointless dsputil.h #includeDiego Biurrun2014-05-27
| |
* | avcodec/vp3: use av_mallocz_array()Michael Niedermayer2014-05-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/cavs: use av_mallocz_array()Michael Niedermayer2014-05-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/dsputilenc: use HADDD in ff_sse16_sse2James Almer2014-05-27
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/dsputilenc: implement SSE2 version of diff_pixelsJames Almer2014-05-27
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/x86/dsputilenc: set the count of SSE registers correctly for get_pixelsMichael Niedermayer2014-05-27
| | | | | | | | | | Found-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/g723_1: fix writing into input frame data and warningMichael Niedermayer2014-05-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: hpeldsp: propagate changes across codecsChristophe Gisquet2014-05-26
| | | | | | | | | | | | | | Some codecs still use mmx versions, so have them use the versions with newer instruction sets. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/sgirledec: fix () in RBG323_TO_BGR8() macroMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/rv34: Fix () in GET_PTS_DIFF() macroMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/psymodel: Fix () in AAC_CUTOFF() macroMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/proresenc_anatoliy: Fix () in macrosMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "x86: dsputilenc: convert ff_sse{8, 16}_mmx() to yasm"Michael Niedermayer2014-05-25
| | | | | | | | | | | | | | This reverts commit ad733089b024e4a3ff8f024d247a032f79a50ac8. breaks with --disable-yasm revert requested by: Christophe Gisquet <christophe.gisquet@gmail.com>
* | avcodec/msvideo1enc: Fix () in MKRGB555() macroMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/opus: Fix () in ROUND_MULL() macroMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/opus_celt: Fix () in CELT_PVQ_V macroMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/pngdec: fix () in OP_* macrosMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: dsputilenc: convert ff_sse{8, 16}_mmx() to yasmTimothy Gu2014-05-25
| | | | | | | | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/webvttenc: do not use EOVERFLOW.Clément Bœsch2014-05-25
| | | | | | | | | | According to doc/errno.txt EOVERFLOW is not available everywhere. The use of -1 is consistent with avcodec/srtenc.c.
* | avcodec/mss4: Fix () in MKVAL() macroMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mss34dsp: fix () in SOP* macrosMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mlpdec: fix () in MSB_MASK() macroMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ivi_dsp: add some missing () to macrosMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc: fix () in macrosMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/h264_slice: fix macro ()Michael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/h264: fix () in macrosMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/golomb-test: fix () in EXTEND() macroMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/aac: fix () in IS_CODEBOOK_UNSIGNED macroMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/webvttenc: add webvtt encoderAman Gupta2014-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Based off the srt encoder. The following features are unimplemented: - fonts, colors, sizes - alignment and positioning The rest works well. For example, use ffmpeg to convert subtitles into the .vtt format: ffmpeg -i input.srt output.vtt Signed-off-by: Aman Gupta <ffmpeg@tmm1.net> Signed-off-by: Clément Bœsch <u@pkh.me>
* | x86/dsputilenc: make the SUM_ABS_DCTELEM macro more readableJames Almer2014-05-25
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/opusdec: check alignment, misalignment could lead to crashes with avxMichael Niedermayer2014-05-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/dsputilenc: port sum_abs_dctelem functions to yasmJames Almer2014-05-24
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/asvenc: dont use a negative global_qualityMichael Niedermayer2014-05-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/aacenc: dont use global quality if its negativeMichael Niedermayer2014-05-24
| | | | | | | | | | | | Some applications used a negative value as default for "not set" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: hpeldsp: implement SSSE3 version of _xy2Christophe Gisquet2014-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | Loading pb_1 rather than pw_8192 was benchmarked to be more efficient. Loading of the 2 yields no advantage. Loading of one saves ~11 cycles. decicycles count: put8: 3223(mmx) -> 2387 avg8: 2863(mmxext) -> 2125 put16: 4356(sse2) -> 3553 avg16: 4481(sse2) -> 3513 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>