aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lavfi/drawtext: Fix microsecond display.Carl Eugen Hoyos2016-01-031-1/+1
| | | | Fixes ticket #4792.
* ffmdec: reset packet_end in case of failureAndreas Cadhalpun2016-01-031-3/+6
| | | | | | | | This fixes segmentation faults caused by passing a packet_ptr of NULL to memcpy. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* lavc: use get_bitsz to simplify the codeAndreas Cadhalpun2016-01-037-17/+13
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* get_bits: add get_bitsz for reading 0-25 bitsAndreas Cadhalpun2016-01-032-7/+8
| | | | | | | This can be used to simplify code in a couple of places. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avformat/ffmdec: Add {} to nested if/elseMichael Niedermayer2016-01-031-3/+4
| | | | | | | This preempts potential bugs if this is changed and the indention ends up different from C interpretation Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi/vf_decimate: do not compare the first frame to itself.Nicolas George2016-01-031-3/+6
| | | | | | This is a waste of computing power and will result to 0, making it always dropped. Use maximum difference values instead.
* x86/vf_stereo3d: remove a few unnecessary movasJames Almer2016-01-031-12/+12
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* configure: bump copyright year to 2016James Almer2016-01-021-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* ffmdec: change type of state and id to unsignedAndreas Cadhalpun2016-01-021-2/+3
| | | | | | | | This fixes ubsan runtime error: left shift by 8 places cannot be represented in type 'int' Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avcodec/put_bits: Always check buffer end before writingMichael Niedermayer2016-01-021-6/+14
| | | | | | This causes a overall slowdown of 0.1 % (tested with mpeg4 single thread encoding of matrixbench at QP=3) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/encoders: Fix application nameMichael Niedermayer2016-01-021-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/cpu: add missing entry for vfp_vm to av_parse_cpu_capsHendrik Leppkes2016-01-021-0/+1
|
* avcodec/dca: remove unused float quant tableHendrik Leppkes2016-01-022-9/+0
|
* dca: adjust decoding of the XBR extension for integer core decodingHendrik Leppkes2016-01-021-7/+8
|
* avfilter/avf_showspectrum: add 4th and 5th root scalerPaul B Mahol2016-01-022-1/+19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_showspectrum: make some helper functionsPaul B Mahol2016-01-021-51/+57
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_showspectrum: fix null pointer dereference if allocation failsPaul B Mahol2016-01-021-4/+8
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_showspectrum: add fiery color mapPaul B Mahol2016-01-022-1/+17
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add showspectrumpic filterPaul B Mahol2016-01-026-46/+370
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_showspectrum: store win_size in private context and calculate ↵Paul B Mahol2016-01-021-22/+17
| | | | | | it only once Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_zoompan: do not free frame we pushed to lavfiPaul B Mahol2016-01-021-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Merge commit '40d949677335a564f769823f4afdb7e7a3da8d6b'Hendrik Leppkes2016-01-024-18/+20
|\ | | | | | | | | | | | | * commit '40d949677335a564f769823f4afdb7e7a3da8d6b': dca: use defines for subband related constants Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * dca: use defines for subband related constantsAlexandra Hájková2015-12-314-18/+20
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* | Merge commit '8563f9887194b07c972c3475d6b51592d77f73f7'Hendrik Leppkes2016-01-021-1/+8
|\| | | | | | | | | | | | | * commit '8563f9887194b07c972c3475d6b51592d77f73f7': x86: use emms after ff_int32_to_float_fmul_scalar_sse Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * x86: use emms after ff_int32_to_float_fmul_scalar_sseJanne Grunau2015-12-301-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intel's Instruction Set Reference (as of September 2015) clearly states that cvtpi2ps switches to MMX state. Actual CPUs do not switch if the source is a memory location. The Instruction Set Reference from 1999 (Order Number 243191) describes this behaviour but all later versions I've seen have make no distinction whether MMX registers or memory is used as source. The documentation for the matching SSE2 instruction to convert to double (cvtpi2pd) was fixed (see the valgrind bug https://bugs.kde.org/show_bug.cgi?id=210264). It will take time to get a clarification and fixes in place. In the meantime it makes sense to change ff_int32_to_float_fmul_scalar_sse to be correct according to the documentation. The vast majority of users will have SSE2 so a change to the SSE version has little effect. Fixes fate-checkasm on x86 valgrind targets. Valgrind 'bug' reported as https://bugs.kde.org/show_bug.cgi?id=357059
* | Merge commit 'f0f54117c8f206e8045d301c2eb975b26e9f263d'Hendrik Leppkes2016-01-021-11/+9
|\| | | | | | | | | | | | | * commit 'f0f54117c8f206e8045d301c2eb975b26e9f263d': checkasm: x86: post commit review fixes Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: x86: post commit review fixesJanne Grunau2015-12-291-11/+9
| | | | | | | | | | | | | | Check the full FPU tag word instead of only the lower half and simplify the comparison. Use upper-case function base name as macro name to instantiate both checked_call variants.
* | Merge commit 'f4f27e4cf1013c55b2c7df359ce8d58ee922662c'Hendrik Leppkes2016-01-021-4/+1
|\| | | | | | | | | | | | | * commit 'f4f27e4cf1013c55b2c7df359ce8d58ee922662c': x86: zero extend the 32-bit length in int32_to_float_fmul_scalar implicitly Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * x86: zero extend the 32-bit length in int32_to_float_fmul_scalar implicitlyJanne Grunau2015-12-291-4/+1
| | | | | | | | This reverts commit 5dfe4edad63971d669ae456b0bc40ef9364cca80.
* | Merge commit '69a68593ce5684409c3c4dd9a901bfd8b16925b1'Hendrik Leppkes2016-01-024-6/+5
|\| | | | | | | | | | | | | * commit '69a68593ce5684409c3c4dd9a901bfd8b16925b1': Remove stray line breaks from avpriv_{report_missing_feature|request_samples} Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * Remove stray line breaks from avpriv_{report_missing_feature|request_samples}Diego Biurrun2015-12-264-6/+5
| |
* | Merge commit '5049f6b772891cdf4030a9d572362efc8f7ae97f'Hendrik Leppkes2016-01-021-6/+0
|\| | | | | | | | | | | | | * commit '5049f6b772891cdf4030a9d572362efc8f7ae97f': rtpdec_jpeg: Coalesce redundant error checks Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * rtpdec_jpeg: Coalesce redundant error checksDiego Biurrun2015-12-261-6/+0
| |
* | Merge commit '2008f76054906e9ff6bf744800af0e5a5bfe61be'Hendrik Leppkes2016-01-0212-294/+8
|\| | | | | | | | | | | | | * commit '2008f76054906e9ff6bf744800af0e5a5bfe61be': dca: remove unused decode_hf function and quant_d tables Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * dca: remove unused decode_hf function and quant_d tablesAlexandra Hájková2015-12-2412-304/+9
| | | | | | | | | | They were superseded with their integer equivalents. Rename integer decode_hf to decode_hf.
* | Merge commit 'aebf07075f4244caf591a3af71e5872fe314e87b'Hendrik Leppkes2016-01-027-59/+123
|\| | | | | | | | | | | | | * commit 'aebf07075f4244caf591a3af71e5872fe314e87b': dca: change the core to work with integer coefficients. Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * dca: change the core to work with integer coefficients.Alexandra Hájková2015-12-237-58/+122
| | | | | | | | | | | | | | | | | | | | | | | | The DCA core decoder converts integer coefficients read from the bitstream to floats just after reading them (along with dequantization). All the other steps of the audio reconstruction are done with floats which makes the output for the DTS lossless extension (XLL) actually lossy. This patch changes the DCA core to work with integer coefficients until QMF. At this point the integer coefficients are converted to floats. The coefficients for the LFE channel (lfe_data) are not touched. This is the first step for the really lossless XLL decoding.
* | Merge commit '85990140e7302d1e7fcc9fc0eea316178c19fe03'Hendrik Leppkes2016-01-021-0/+42
|\| | | | | | | | | | | | | * commit '85990140e7302d1e7fcc9fc0eea316178c19fe03': dca: Add math helpers. Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * dca: Add math helpers.Alexandra Hájková2015-12-231-0/+42
| | | | | | | | They will be used by the integer core decoder.
* | Merge commit '489e6add4478b0f5717dbf644234c6f3a3baf02c'Hendrik Leppkes2016-01-024-0/+110
|\| | | | | | | | | | | | | * commit '489e6add4478b0f5717dbf644234c6f3a3baf02c': checkasm: add fmtconvert tests Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add fmtconvert testsJanne Grunau2015-12-214-0/+110
| |
* | Merge commit '568a4323fbde03665b2b23a98068d02b39121812'Hendrik Leppkes2016-01-024-1/+124
|\| | | | | | | | | | | | | * commit '568a4323fbde03665b2b23a98068d02b39121812': checkasm: add synth_filter test Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add synth_filter testJanne Grunau2015-12-214-1/+124
| |
* | Merge commit 'e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d'Hendrik Leppkes2016-01-024-0/+142
|\| | | | | | | | | | | | | * commit 'e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d': checkasm: add tests for dcadsp Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add tests for dcadspJanne Grunau2015-12-214-0/+142
| |
* | Merge commit '9d218d573f8088c606d873e80df572582e6773ef'Hendrik Leppkes2016-01-022-0/+84
|\| | | | | | | | | | | | | * commit '9d218d573f8088c606d873e80df572582e6773ef': checkasm: add float comparison util functions Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * checkasm: add float comparison util functionsJanne Grunau2015-12-212-0/+84
| |
* | doc: make apidoc output independent of SRC_PATHAndreas Cadhalpun2016-01-022-8/+9
| | | | | | | | | | | | | | Previously it included the SRC_PATH in every title. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | oggparsedaala: reject too large gpshiftAndreas Cadhalpun2016-01-022-2/+7
| | | | | | | | | | | | | | | | | | | | | | Also use a unsigned constant for the shift calculation, as 1 << 31 is undefined for int32_t. This is also fixed oggparsetheora. This fixes ubsan runtime error: shift exponent is too large for 32-bit type 'int' Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | Merge commit '711781d7a1714ea4eb0217eb1ba04811978c43d1'Hendrik Leppkes2016-01-026-33/+85
|\| | | | | | | | | | | | | * commit '711781d7a1714ea4eb0217eb1ba04811978c43d1': x86: checkasm: check for or handle missing cleanup after MMX instructions Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>