1. 19 12月, 2011 4 次提交
    • M
      avcodec: deprecate AVFrame.age · 8400b126
      Mans Rullgard 提交于
      This was intended as an optimisation for skipped blocks in MPEG2
      P-frames and never used elsewhere.  Removing this "optimisation"
      speeds up MPEG2 decoding by 1-2% (ARM Cortex-A9).
      Signed-off-by: NMans Rullgard <mans@mansr.com>
      8400b126
    • J
      4xm: remove unneeded check for remaining unused data. · bc78ceec
      Justin Ruggles 提交于
      This is unnecessary complication that only prints a message and does not
      affect decoding.
      bc78ceec
    • A
      lavf: force threads to 1 in avformat_find_stream_info() · 93fc5a9f
      Anton Khirnov 提交于
      Fixes avformat_find_stream_info() on streams with number of frames <
      thread count.
      93fc5a9f
    • R
      swscale: fix overflows in vertical scaling at top/bottom edges. · d49352c7
      Ronald S. Bultje 提交于
      This fixes integer multiplication overflows in RGB48 output
      (vertical) scaling as detected by IOC. What happens is that for
      certain types of filters (lanczos, spline, bicubic), the
      intermediate sum of coefficients in the middle of a filter can
      be larger than the fixed-point equivalent of 1.0, even if the
      final sum is 1.0. This is fine and we support that.
      
      However, at frame edges, initFilter() will merge the coefficients
      for the off-screen pixels into the top or bottom pixel, such as
      to emulate edge extension. This means that suddenly, a single
      coefficient can be larger than the fixed-point equivalent of
      1.0, which the vertical scaling routines do not support.
      
      Therefore, remove the merging of coefficients for edges for
      the vertical scaling filter, and instead add edge detection
      to the scaler itself so that it copies the pointers (not data)
      for the edges (i.e. it uses line[0] for line[-1] as well), so
      that a single coefficient is never larger than the fixed-point
      equivalent of 1.0.
      d49352c7
  2. 18 12月, 2011 16 次提交
  3. 17 12月, 2011 9 次提交
  4. 16 12月, 2011 8 次提交
  5. 15 12月, 2011 3 次提交