1. 24 Jan, 2014 4 commits
    • Dmitry Kovalev's avatar
      Renaming INTERPOLATION_TYPE to INTERP_FILTER. · 4264c938
      Dmitry Kovalev authored
      Corresponding renames:
        subpel_kernel              => interp_kernel
        vp9_get_filter_kernel()    => vp9_get_interp_kernel()
        pred_filter_type           => pred_interp_filter
        adaptive_pred_filter_type  => adaptive_pred_interp_filter
        mcomp_filter_type          => interp_filter
        read_interp_filter_type()  => read_interp_filter()
        write_interp_filter_type() => write_interp_filter()
        fix_mcomp_filter_type()    => fix_interp_filter()
      
      Change-Id: I1fa61fa1dc81ebbf043457c3ee2d8d4515bee6d3
      4264c938
    • Alex Converse's avatar
      Add some consts to vp9_calc_ss_err(). · ea283a62
      Alex Converse authored
      Also change its wrongly named dest parameter to reference.
      
      Change-Id: Ide142dead31c9ccda1f09a48b221284369783fb7
      ea283a62
    • Alex Converse's avatar
      Add a method to estimate loop filter level from quantizer and frame type. · 4ce8929b
      Alex Converse authored
      Use this method with rt at speed -5.
      
      Change-Id: If3bd6fad4c05ddde72131442dad191e4145047e7
      4ce8929b
    • Frank Galligan's avatar
      Revert external frame buffer code. · b1c72b63
      Frank Galligan authored
      A future CL will add external frame buffers
      differently.
      
      Squash commit of four revert commits:
      Revert "Increase required number of external frame buffers"
      
      This reverts commit 9e41d569.
      
      Revert "Add external constants."
      
      This reverts commit bbf53047.
      
      Revert "Add frame buffer lru cache."
      
      This reverts commit fbada948.
      
      Conflicts:
      	vpxdec.c
      
      Change-Id: I76fe42419923a6ea6c75d9997cbbf941d73d3005
      
      Revert "Add support to pass in external frame buffers."
      
      This reverts commit 10f89169.
      
      Conflicts:
      	test/external_frame_buffer_test.cc
      	vp9/common/vp9_alloccommon.c
      	vp9/common/vp9_reconinter.c
      	vp9/decoder/vp9_decodeframe.c
      	vp9/encoder/vp9_onyx_if.c
      	vp9/vp9_dx_iface.c
      	vpx/vpx_decoder.h
      	vpx/vpx_external_frame_buffer.h
      	vpx_scale/generic/yv12config.c
      	vpxdec.c
      
      Change-Id: I7434cf590f1c852b38569980e4247fad0d939c2e
      b1c72b63
  2. 22 Jan, 2014 2 commits
    • Adrian Grange's avatar
      Tidy up comments & remove commented out code. · 82f6af60
      Adrian Grange authored
      Change-Id: I46dd5ce06f36362c6274511cd1531d93926aa9bc
      82f6af60
    • Deb Mukherjee's avatar
      Adds a non-normative resize library to vp9 encoder · 3cd37dfe
      Deb Mukherjee authored
      Adds an arbitrary-size resize library for use in scaling of input
      frames in a non-normative manner in the vp9 encoder. The method
      used is as follows:
      Downsampling - Uses a 8 tap filter for factor of 2 decimation upto
      a size just higher than the desired size. Then interpolates pixels
      at a precision of 1/32 pel using a set of 8-tap filters.
      Upsampling - Interpolates pixels at a precision of 1/32 pel using
      a set of 8-tap filters.
      
      There is no assembly optimization yet.
      
      Change-Id: Ib5b81e174fc139da322bb97c8214d52289d60d8a
      3cd37dfe
  3. 21 Jan, 2014 1 commit
    • hkuang's avatar
      Seperate the border size for encoder and decoder. · 437004c7
      hkuang authored
      Encoder's boarder is still 160, while decoder's boarder will be 32.
      With on demand and separate boarder buffer for boarder extension.
      The decoder's boarder does not need to to 160 anymore.
      
      Change-Id: I93d5aaff15a33a2213e9761eaa37c5f2870747db
      437004c7
  4. 18 Jan, 2014 1 commit
  5. 17 Jan, 2014 1 commit
  6. 15 Jan, 2014 2 commits
  7. 14 Jan, 2014 3 commits
    • Deb Mukherjee's avatar
      Minor fix on an assert · 1699d6bd
      Deb Mukherjee authored
      Fixes assert that fails occasionally on small values of
      max-key frame intervals. Also, adds a small change on
      updating frames_to_key for frame drops.
      
      Change-Id: Icc2b33b25e3e4ced7e49f8db73e0a887ef9c99e0
      1699d6bd
    • Paul Wilkins's avatar
      Add max burst bitrate control. · 5c808ba1
      Paul Wilkins authored
      Applies an upper limit on burst bitrate for any
      frame. This is to insure that typical encodes for YT
      do not produce frames that are so large that they
      risk stalling HW implementations. Such frames
      could also cause playback problems in SW.
      
      For now the limit is set at 250 bits per MB for 1080P
      and larger (with the 1080P limit used for smaller frames).
      
      Setting maxQ, constant quality mode or targeting a
      very high bandwidth will have precedence over this limit.
      
      Change-Id: Ie6f776c38b06ac7cec043d034085f4b79ee46a38
      5c808ba1
    • Dmitry Kovalev's avatar
      Removing unused error_bins[] field from VP9_COMP. · a8a5774b
      Dmitry Kovalev authored
      Change-Id: I883eb9026b44cb354d5b01c0f1d34ecd71f942e4
      a8a5774b
  8. 13 Jan, 2014 2 commits
    • Dmitry Kovalev's avatar
      Removing intra_mode_stats. · b9592fa0
      Dmitry Kovalev authored
      Change-Id: I6e0895f7f826b484ac86945e6abe3a706a6b0399
      b9592fa0
    • Yaowu Xu's avatar
      Enable reference frame masking for rt mode · 5e5d4c0e
      Yaowu Xu authored
      Reference frame masking helped good quality mode to gain about 5% in
      encoding speed, this commit enable it for rt mode to gain the speed
      improvement.
      
      In addition, this commit move the speed feature setup to a separate
      function.
      
      Change-Id: I015e8f78bbb21dd43ae183b9b9355bea2ccda9c5
      5e5d4c0e
  9. 11 Jan, 2014 1 commit
    • Dmitry Kovalev's avatar
      Cleaning up and fixing psnr calculation code. · 4def0a81
      Dmitry Kovalev authored
      Introducing calc_psnr() which calculates psnr between two yv12 buffers.
      Previously we incorrectly used width/height instead of
      crop_width/crop_height to calculate number of samples -- fixed.
      
      Change-Id: Iecda01980555de55ad347e0276e6641c793fa56c
      4def0a81
  10. 10 Jan, 2014 5 commits
    • Jim Bankoski's avatar
      explain speed features · 6439aa5a
      Jim Bankoski authored
      Added comments to explain what the various speed features do, and removed
      1 that was clearly unused.
      
      Change-Id: Icd37a536072ddafedbfaefcecbe48979f6d10faf
      6439aa5a
    • Dmitry Kovalev's avatar
      Adding get_vp9_ref_frame_buffer() function. · 804a155d
      Dmitry Kovalev authored
      Change-Id: Iae195fcf952dd27ba424f8e95090b8ffc4d5a7c8
      804a155d
    • Marco Paniconi's avatar
      Don't use gf_update by default for 1-pass CBR. · c46538d4
      Marco Paniconi authored
      Change-Id: I5df6abceb0a2a69706feadeb820b593cae88f573
      c46538d4
    • Jingning Han's avatar
      Enable skipping reference frame check in rd loop · d66c7486
      Jingning Han authored
      This commit allows encoder to compare the SAD cost associated with
      the best motion vector predictor, per frame. If one reference frame
      has this cost more than 4 times of the best SAD cost given by other
      reference frames, skip NEARESTMV, NEARMV, ZEROMV mode check of this
      reference frame.
      
      This setting is turned on in speed 2 and above. Compression quality
      change in speed 2:
      derf  -0.014%
      yt    -0.097%
      hd    -0.023%
      stdhd  0.046%
      
      It reduces the speed 2 runtime of test sequences:
      pedestrian_area_1080p 4000 kbps 310763 ms -> 303595 ms
      bluesky_1080p 6000 kbps         259852 ms -> 251920 ms
      
      Change-Id: I7f59cf79503d51836d61d56d50dc5bdf0e502e22
      d66c7486
    • Deb Mukherjee's avatar
      Cleanups on refresh flags · 412e4954
      Deb Mukherjee authored
      Cleanups on frame refresh flags and external overrides.
      
      Change-Id: Ia6a56fe1bde906b1dc3fcbf4ef1c7b207cd2df2d
      412e4954
  11. 09 Jan, 2014 2 commits
    • Marco Paniconi's avatar
      Keep buffer clipped to maximum in change_config. · 193fa5c8
      Marco Paniconi authored
      Under a configuration change, where the bitrate suddenly decreases,
      the buffer level may be larger than maximum allowed (for that first frame to be encoded after change_config).
      This change keeps it clipped to its maximum level.
      
      Change-Id: I4d0b5b3d1fd8148600dd39e02bd630c9464baba5
      193fa5c8
    • Yaowu Xu's avatar
      Simplify set_rt_speed_feature() · 2d381d76
      Yaowu Xu authored
      1. Made speed choices to be progressive
      2. Adjusted rt speed settings to achieve better speed/quality
      
      Overall, rt-5 gained 2.5% in compression/quality, encoding time of 720p
      niklas clip goes from 137,052ms to 121,874ms
      
      Change-Id: Ia6e7e1e15225395a868a2f1059c3db8e266e1600
      2d381d76
  12. 08 Jan, 2014 3 commits
  13. 07 Jan, 2014 3 commits
    • Deb Mukherjee's avatar
      Further rate control cleanups · 730ade41
      Deb Mukherjee authored
      Some cleanups on frames_to_key, frames_since_key.
      Also removes the unused fixed_q parameters in vp9.
      
      Change-Id: If8743a32c71de30a8d17136477b53d607a7acda8
      730ade41
    • Jingning Han's avatar
      Fix an issue in motion vector prediction stage · 06e4f825
      Jingning Han authored
      The previous implementation stops motion vector prediction test when
      the zero motion vector appears for the second time. This commit fixes
      it by simply skipping the second time check on zero mv and continuing
      on to next mv candidate.
      
      It slightly improves stdhd in speed 2 by 0.06% on average. Most static
      sequences are not affected. A few hard ones, like jet, ped, and riverbed
      were improved by 0.1 - 0.2%.
      
      Change-Id: Ia8d4e2ffb7136669e8ad1fb24ea6e8fdd6b9a3c1
      06e4f825
    • Jingning Han's avatar
      Remove deprecated variable from rt_speed_feature · fdad4fd2
      Jingning Han authored
      This resolves a merge error.
      
      Change-Id: Ifb83acc0a08e80c82f7624f9c86f79d3a86cc871
      fdad4fd2
  14. 06 Jan, 2014 4 commits
    • Jingning Han's avatar
      Remove avoid_frame_with_high_error from RD loop · 393a8cce
      Jingning Han authored
      The feature undergoes prior assumption that the recursive partition
      size search from 4x4 to 64x64, hence utilizing information from small
      blocks to determine early termination in large block rate-distortion
      optimization search. The current codebase is now going from top down.
      The previous function might go with not properly initialized values,
      hence removed.
      
      Tested on pedestrian_area_1080p at 4000 kbps running under speed 2.
      No visible difference in runtime observed.
      
      Change-Id: I553df415c6191413762db7ae34e8790c71d8118e
      393a8cce
    • Yaowu Xu's avatar
      Added placeholder for real time mode · a2c01ed5
      Yaowu Xu authored
      Change-Id: I203d10f76c7ca78d875eaae15557cd765c6240d1
      a2c01ed5
    • Dmitry Kovalev's avatar
      Moving reset_segment_features() to encoder/vp9_segmentation.h. · 4603f31d
      Dmitry Kovalev authored
      Change-Id: I0db4b31cb2382d4f6249eae0a8f42d227ad0ac57
      4603f31d
    • Deb Mukherjee's avatar
      Corerctly sets frame type in the 2 pass case · cf3d2c8d
      Deb Mukherjee authored
      This patch sets frame types correctly in the new
      vp9_get_second_pass_params() function called prior
      to encode_frame_to_data_rate() function, so that the
      latter function can just work with what is passed to
      it. This will allow multiple vp9_get_second_pass_params()
      to be created for various encode strategies without
      messing with the core encode function.
      
      There is no difference in derf and yt. stdhd/hd are pending.
      
      Change-Id: I70dfb97e9f497e9cee04052e0e8e0c2892eab0c3
      cf3d2c8d
  15. 03 Jan, 2014 1 commit
    • Dmitry Kovalev's avatar
      Adding RefBuffer struct. · ba41e9d4
      Dmitry Kovalev authored
      Adding RefBuffer to simplify reference buffer management. The struct has a
      pointer to image data and scale factors relative to the current frame.
      
      Change-Id: If38eb1491ff687cc11428aee339f3e052e2c5d9e
      ba41e9d4
  16. 20 Dec, 2013 2 commits
    • Yaowu Xu's avatar
      Fix a bug · 2472f125
      Yaowu Xu authored
      The line was accidently removed in 4dbad63a.
      
      Change-Id: Ic1e18f209cead95cecc684f952ae667271b58a97
      2472f125
    • Dmitry Kovalev's avatar
      Using single struct to represent scale factors. · a3fbcc88
      Dmitry Kovalev authored
      Moving back to scale_factors struct. We don't need anymore x_offset_q4 and
      y_offset_q4 because both values are calculated locally inside vp9_scale_mv
      function.
      
      Change-Id: I78a2122ba253c428a14558bda0e78ece738d2b5b
      a3fbcc88
  17. 19 Dec, 2013 3 commits