1. 22 Apr, 2012 15 commits
  2. 21 Apr, 2012 16 commits
  3. 20 Apr, 2012 9 commits
    • Andrew Wason's avatar
      fix swr_convert buffering of packed audio · e9b1d5ae
      Andrew Wason authored
      swr_convert is not properly buffering packed input audio when the
      output is not large enough, and when resampling is not actually needed
      (same samplerate and no SWR_FLAG_RESAMPLE).
      
      buf_set() is only handling the first channel and leaving the others as-is.
      
      Sample program to reproduce the problem is here https://gist.github.com/2431768Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      e9b1d5ae
    • Jan Ekström's avatar
      utvideo: general cosmetics · b5c3f0b9
      Jan Ekström authored
      General cosmetics, such as keeping lines under 80 characters,
      fixing a couple of typos (predition -> prediction) and a
      general style fix that was pointed out by Derek when I was having
      my sliced multithreading patch in review by him.
      Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
      b5c3f0b9
    • Roland Scheidegger's avatar
      h264: assembly version of get_cabac for x86_64 with PIC (v4) · a812b599
      Roland Scheidegger authored
      This adds a hand-optimized assembly version for get_cabac much like the
      existing one, but it works if the table offsets are RIP-relative.
      Compared to the non-RIP-relative version this adds 2 lea instructions
      and it needs one extra register.
      There is a surprisingly large performance improvement over the c version (more
      so than the generated assembly seems to suggest) just in get_cabac, I measured
      roughly 40% faster for get_cabac on a K8. However, overall the difference is
      not that big, I measured roughly 5% on a test clip on a K8 and a Core2.
      Hopefully it still compiles on x86 32bit...
      v2: incorporated feedback from Loren Merritt to avoid rip-relative movs
      for every table, and got rid of unnecessary @GOTPCREL.
      v3: apply similar fixes to the the decode_significance functions, and use
      same macro arguments for non-pic case.
      v4: prettify inline asm arguments, add a non-fast-cmov version (as I expect
      the c code to be faster otherwise since both cmov and sbb suck hard on a
      Prescott, even can't construct the mask with a 64bit shift as that's just as
      terrible - it's quite difficult to find usable instructions on that chip...).
      This is tested to work but not on a P4, in theory it _should_ be fast there.
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      a812b599
    • Alex Converse's avatar
      7eacd70f
    • Alex Converse's avatar
      movenc: Support high sample rates in isomedia formats by setting the sample... · dc878b96
      Alex Converse authored
      movenc: Support high sample rates in isomedia formats by setting the sample rate field in stsd to 0.
      
      Libisomediafile appears to always set this field to zero.
      dc878b96
    • Michael Niedermayer's avatar
      Merge remote-tracking branch 'qatar/master' · 3194ab78
      Michael Niedermayer authored
      * qatar/master:
        avcodec: add a cook parser to get subpacket duration
        FATE: allow lavf tests to alter input parameters
        FATE: replace the acodec-pcm_s24daud test with an enc_dec_pcm checksum test
        FATE: replace the acodec-g726 test with 4 new encode/decode tests
        FATE: replace current g722 encoding tests with an encode/decode test
        FATE: add a pattern rule for generating asynth wav files
        FATE: optionally write a WAVE header in audiogen
        avutil: add audio fifo buffer
      
      Conflicts:
      	doc/APIchanges
      	libavcodec/version.h
      	libavutil/avutil.h
      	tests/Makefile
      	tests/codec-regression.sh
      	tests/fate/voice.mak
      	tests/lavf-regression.sh
      	tests/ref/acodec/g722
      	tests/ref/acodec/g726
      	tests/ref/acodec/pcm_s24daud
      	tests/ref/lavf/dv_fmt
      	tests/ref/lavf/gxf
      	tests/ref/lavf/mxf
      	tests/ref/lavf/mxf_d10
      	tests/ref/seek/lavf_dv
      Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      3194ab78
    • Reimar Döffinger's avatar
      Fix compilation with NASM. · 9b1f776d
      Reimar Döffinger authored
      Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
      9b1f776d
    • Diego Biurrun's avatar
      xxan: Remove write-only variable in xan_decode_frame_type0(). · f973a85d
      Diego Biurrun authored
      libavcodec/xxan.c:293:13: warning: variable ‘corr_end’ set but not used
      f973a85d
    • Diego Biurrun's avatar
      ivi_common: Initialize a variable at declaration in ff_ivi_decode_blocks(). · b1563d0c
      Diego Biurrun authored
      This simplifies the code a bit and avoids an uninitialized variable warning.
      b1563d0c