summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* armv6: vp8: use explicit labels in motion compensation asmJanne Grunau2014-03-12
| | | | | The integrated arm assembler in clang-503.0.38 (Xcode-5.1) fails to assemble a branch to 'label + offset' in thumb mode.
* copy_block: K&R formatting cosmeticsVittorio Giovara2014-03-12
|
* golomb: Add a get_se_golomb_longLuca Barbato2014-03-10
| | | | Useful in libavformat mostly.
* hevc: make pps/sps ids unsigned where necessaryVittorio Giovara2014-03-09
| | | | | Fixes integer overflow and out of array accesses. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind
* hevc: Do not turn 32bit timebases into negative numbersMichael Niedermayer2014-03-09
| | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* hevc: use av_mallocz() for allocating tab_ipmMichael Niedermayer2014-03-09
| | | | | Fixes use of uninitialized memory and out of stack array read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* hevc: Use get_bits_long() in decode_vui()Michael Niedermayer2014-03-09
| | | | | Fix assertion failure. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* arm: get_cabac inline asmJanne Grunau2014-03-09
| | | | | | | | | | Based on the aarch64 asm. CPU cycle counts on cortex-a9 compared to gcc 4.8.2: before: 475 decicycles in get_cabac_noinline, 67106035 runs, 2829 skips after: 393 decicycles in get_cabac_noinline, 67106474 runs, 2390 skips Overall speedup is above 2%. Code generated by clang 3.4 is slower on the same hardware and the relative change is a little larger.
* aarch64: get_cabac inline asmJanne Grunau2014-03-09
| | | | | | | Based on the x86 branchless get_cabac asm. get_cabac_noinline() gets approximately 20% faster (no cycle counts available) compared to clang from Xcode 5.1 beta5. More than 6% faster overall. A part of the overall speedup might be explained by additional inlining of get_cabac().
* arm: vp3: remove incorrect const in ff_vp3_idct_dc_add_neon declarationJanne Grunau2014-03-09
| | | | | Was missed in aeaf268e52fc11c1f64914a319e0edddf1346d6a when integrating clear_blocks into the idct.
* arm: hpeldsp: fix put_pixels8_y2_{,no_rnd_}armv6Janne Grunau2014-03-08
| | | | | | | | The overread avoidance fix in cbddee1cca0ebd01e8c5aa694d31228eb4de4b41 broke the computation for the last row since it prevented the safe reading from the height+1-th row. CC: libav-stable@libav.org
* rv10: K&R formatting cosmeticsKeiji Costantini2014-03-08
| | | | | | Also sort #includes into canonical order. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* rv10: Forward error from rv10_decode_packetKeiji Costantini2014-03-08
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* g2meet: K&R formatting cosmeticsDiego Biurrun2014-03-08
|
* fic: Properly handle skip framesDerek Buitenhuis2014-03-07
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Support API version 9Derek Buitenhuis2014-03-06
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* dxva2: Increase maximum number of slices for mpeg2Rainer Hochecker2014-03-06
| | | | | | | | | Some content requires an higher number of slices in order to render properly. Rise the number to 1024 and warn if ever it exceeds. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* build: Let the SVQ3 decoder depend on the H.264 decoderDiego Biurrun2014-03-06
| | | | | | | The SVQ3 decoder reuses large parts of the H.264 decoder so it makes no sense to enable the former but not the latter. Also drop unnecessary h263.o object from SVQ3 decoder object list.
* x86: dcadsp: Fix linking with yasm and optimizations disabledDiego Biurrun2014-03-05
| | | | | Some optimized functions reference optimized symbols, so the functions must be explicitly disabled when those symbols are unavailable.
* arm: hpeldsp: prevent overreads in armv6 asmJanne Grunau2014-03-05
| | | | | | | Based on a patch by Russel King <rmk+libav@arm.linux.org.uk> Bug-Id: 646 CC: libav-stable@libav.org
* x86: cabac: Use correct #includes to make header compile standaloneDiego Biurrun2014-03-05
|
* av_vdpau_get_profile: mask out H.264 intra profile flagRĂ©mi Denis-Courmont2014-03-04
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* put_bits: Remove unused includesVittorio Giovara2014-03-04
| | | | | This requires adding includes to other files that relied on these being included implicitly.
* mathops: move macro to the only place it is usedVittorio Giovara2014-03-04
| | | | This helps in disentangling lavf and lavc too.
* ituh263: reject b-frame with pp_time = 0Keiji Costantini2014-03-01
| | | | | | | | | Avoid a division by 0 in ff_mpeg4_set_one_direct_mv. Sample-Id: 00000168-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* pthread_frame: flush all threads on flush, not just the first oneAnton Khirnov2014-02-28
| | | | | | | | | avcodec_flush_buffers() must release all internally held references according to its documentation, for which all the threads need to be flushed. CC:libav-stable@libav.org Bug-Id: vlc/9665
* build: Let the ffvhuff decoder/encoder depend on the huffyuv decoder/encoderDiego Biurrun2014-02-28
| | | | | Almost all of the code is shared so there is little point in enabling one decoder/encoder without the other.
* build: Let the iac decoder depend on the imc decoderDiego Biurrun2014-02-28
| | | | | Almost all of the code is shared so there is little point in enabling one decoder without the other.
* build: Let all MJPEG-related decoders depend on the MJPEG decoderDiego Biurrun2014-02-28
| | | | | | These codecs compile all of the MJPEG code anyway, so there is little point in not enabling the MJPEG decoder directly. This also simplifies the dependency declarations for the MJPEG codec family.
* build: Let AMV decoder depend on the SP5X decoderDiego Biurrun2014-02-28
| | | | | | This codec compiles all of the SP5X code anyway, so there is little point in not enabling the decoder directly. This also simplifies the dependency declaration for the AMV decoder.
* h264: fix clang warning about uninitialized variableVittorio Giovara2014-02-28
|
* h264: update flag name in ff_h264_decode_ref_pic_list_reordering()Vittorio Giovara2014-02-28
| | | | This is the name used in the specifications.
* h264: parse two additional constraint flagsVittorio Giovara2014-02-28
|
* h264: add MVCD to the list of High profiles in SPSVittorio Giovara2014-02-28
| | | | Also comment all previous profiles.
* latm: Always reconfigure if no extradata was set previouslyHendrik Leppkes2014-02-28
| | | | | | | | | | AAC LOAS can have new audio config objects in the stream itself. Make sure the decoder reconfigures itself when the first one arrives midstream. Bug-Id: 644 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* arm: dcadsp: implement decode_hf as external NEON asmJanne Grunau2014-02-28
|
* dcadec: simplify decoding of VQ high frequenciesChristophe Gisquet2014-02-28
| | | | | | | | | | | | | | | | | | | The vector dequantization has a test in a loop preventing effective SIMD implementation. By moving it out of the loop, this loop can be DSPized. Therefore, modify the current DSP implementation. In particular, the DSP implementation no longer has to handle null loop sizes. The decode_hf implementations have following timings: For x86 Arrandale: C SSE SSE2 SSE4 win32: 260 162 119 104 win64: 242 N/A 89 72 The arm NEON optimizations follow in a later patch as external asm. The now unused check for the y modifier in arm inline asm is removed from configure.
* dca: factorize scaling in inverse ADPCMJanne Grunau2014-02-28
| | | | | | | | | Based on a patch from Christophe Gisquet. Unrolling of the m == 0 case avoids a possible use of the uninitilized value sum when s->predictor_history is not set. I failed to find a sample for it. It also reduced the cycle count from 220 to 150 on sandy bridge, x86_64 linux, gcc 4.8.2 compared to his patch.
* x86: synth filter float: implement SSE2 versionChristophe Gisquet2014-02-28
| | | | | | | | | | | | | | Timings for Arrandale: C SSE win32: 2108 334 win64: 1152 322 Factorizing the inner loop with a call/jmp is a >15 cycles cost, even with the jmp destination being aligned. Unrolling for ARCH_X86_64 is a 20 cycles gain. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* dcadsp: scan coefficients linearly in dca_lfe_firChristophe Gisquet2014-02-28
| | | | | | This change is inspired by x86 asm where it frees a register. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* x86: dcadsp: implement SSE lfe_dirChristophe Gisquet2014-02-28
| | | | | | | | Results for Arrandale/Windows: 32: 1670 -> 316 64: 728 -> 298 Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* dcadec: remove scaling in lfe_interpolation_firChristophe Gisquet2014-02-28
| | | | | | | The scaling factor is constant so it is faster to scale the FIR coefficients in the tables during compilation. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* proresenc: Reuse proper dsputil infrastructure for FDCTDiego Biurrun2014-02-28
|
* prores: Drop DSP infrastructure for prores encoder bitsDiego Biurrun2014-02-28
| | | | None of the encoder bits are arch-optimized.
* proresenc: Drop unnecessary DCT permutation bitsDiego Biurrun2014-02-28
| | | | No permutation is necessary for the FDCT.
* prores: Use consistent names for DSP arch initialization functionsDiego Biurrun2014-02-28
|
* Give IDCT matrix transpose macro a more descriptive nameDiego Biurrun2014-02-27
| | | | This also avoids a macro name clash and related warning on ARM.
* build: Do not redundantly specifiy H.263-related object files for MSMPEG4v*Diego Biurrun2014-02-26
| | | | These are already covered through dependencies specified in configure.
* parser: cosmetics: Drop some unnecessary parenthesesDiego Biurrun2014-02-25
|
* parser: K&R formatting cosmeticsLuca Barbato2014-02-25
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>