1. 04 12月, 2015 6 次提交
  2. 03 12月, 2015 26 次提交
  3. 02 12月, 2015 8 次提交
    • C
      lavf/rtpenc_jpeg: Less strict check for standard Huffman tables. · d208acf2
      Carl Eugen Hoyos 提交于
      There can be one or more Huffman table segments DHT.
      
      Reported-by: Andrey Utkin
      d208acf2
    • P
      avfilter/af_stereotools: remove floor usage · 6670527d
      Paul B Mahol 提交于
      Signed-off-by: NPaul B Mahol <onemda@gmail.com>
      6670527d
    • P
      avfilter: add audio pulsator filter · c4f7b8f0
      Paul B Mahol 提交于
      Signed-off-by: NPaul B Mahol <onemda@gmail.com>
      c4f7b8f0
    • C
      AAC encoder: improve SF range utilization · ca203e99
      Claudio Freire 提交于
      This patch does 4 things, all of which interact and thus it
      woudln't be possible to commit them separately without causing
      either quality regressions or assertion failures.
      
      Fate comparison targets don't all reflect improvements in
      quality, yet listening tests show substantially improved quality
      and stability.
      
      1. Increase SF range utilization.
      
      The spec requires SF delta values to be constrained within the
      range -60..60. The previous code was applying that range to
      the whole SF array and not only the deltas of consecutive values,
      because doing so requires smarter code: zeroing or otherwise
      skipping a band may invalidate lots of SF choices.
      
      This patch implements that logic to allow the coders to utilize
      the full dynamic range of scalefactors, increasing quality quite
      considerably, and fixing delta-SF-related assertion failures,
      since now the limitation is enforced rather than asserted.
      
      2. PNS tweaks
      
      The previous modification makes big improvements in twoloop's
      efficiency, and every time that happens PNS logic needs to be
      tweaked accordingly to avoid it from stepping all over twoloop's
      decisions. This patch includes modifications of the sort.
      
      3. Account for lowpass cutoff during PSY analysis
      
      The closer PSY's allocation is to final allocation the better
      the quality is, and given these modifications, twoloop is now
      very efficient at avoiding holes. Thus, to compute accurate
      thresholds, PSY needs to account for the lowpass applied
      implicitly during twoloop (by zeroing high bands).
      
      This patch makes twoloop set the cutoff in psymodel's context
      the first time it runs, and makes PSY account for it during
      threshold computation, making PE and threshold computations
      closer to the final allocation and thus achieving better
      subjective quality.
      
      4. Tweaks to RC lambda tracking loop in relation to PNS
      
      Without this tweak some corner cases cause quality regressions.
      Basically, lambda needs to react faster to overall bitrate
      efficiency changes since now PNS can be quite successful in
      enforcing maximum bitrates, when PSY allocates too many bits
      to the lower bands, suppressing the signals RC logic uses to
      lower lambda in those cases and causing aggressive PNS.
      
      This tweak makes PNS much less aggressive, though it can still
      use some further tweaks.
      
      Also update MIPS specializations and adjust fuzz
      
      Also in lavc/mips/aacpsy_mips.h: remove trailing whitespace
      ca203e99
    • A
      avformat/matroskadec: Fix sample_aspect_ratio for stereo matroska content · ec83efd4
      Aaron Colwell 提交于
      matroskaenc.c applies divisors to the display width/height when generating
      stereo content. This patch adds the corresponding multipliers to matroskadec.c
      so that the original sample aspect ratio can be recovered.
      Signed-off-by: Nwm4 <nfxjfg@googlemail.com>
      ec83efd4
    • C
      avformat/mp3dec: prefer "fast_seek" to TOC seek for CBR files. · 5e6ce28d
      Chris Cunningham 提交于
      "Fast seek" uses linear interpolation to find the position of the
      requested seek time. For CBR this is more direct than using the
      mp3 TOC and bypassing the TOC avoids problems with TOC precision.
      (see https://crbug.com/545914#c13)
      
      For VBR, fast seek is not precise, so continue to prefer the TOC
      when available (the lesser of two evils).
      
      Also, some re-ordering of the logic in mp3_seek to simplify and
      give usetoc=1 precedence over fastseek flag.
      Signed-off-by: Nwm4 <nfxjfg@googlemail.com>
      5e6ce28d
    • M
      e1057bab
    • G
      avfilter/af_volumedetect: use log10 instead of hardcoded constant · 8c243805
      Ganesh Ajjanagadde 提交于
      This is likely more precise and conveys the intent better.
      Reviewed-by: NMark Harris <mark.hsj@gmail.com>
      Signed-off-by: NGanesh Ajjanagadde <gajjanagadde@gmail.com>
      8c243805