1. 17 Nov, 2017 - 2 commits
  2. 16 Nov, 2017 - 1 commit
    • Jerome Jiang's avatar
      vp9 svc: Rework/fix scale partitioning on boundary. · 1aea1675
      Jerome Jiang authored
      Enable partition copy on boundary and scale blocks along the boundary.
      Rename copy_partition_svc to scale_partition_svc.
      
      Do not copy if the block crosses the boundary.
      
      Change-Id: I37a04d48f11b15c4ea67facd7631193ec2f62150
      1aea1675
  3. 15 Nov, 2017 - 3 commits
    • Johann's avatar
      fwd txfm ssse3: use GLOBAL() for loading constants · 3e3a5686
      Johann authored
      Fixes a build issue when relocation is not allowed:
      relocation R_X86_64_32 against '.rodata' can not be used when making a shared object
      
      Change-Id: Ica3e90c926847bc384e818d7854f0030f4d69aa0
      3e3a5686
    • paulwilkins's avatar
      Add clause to alt ref group breakout. · 607e45f4
      paulwilkins authored
      Add a clause to the breakout test for alt ref groups that
      examines the size of the accumulated second reference
      frame error compared to the cost of intra coding.
      
      This clause causes a reduction in the average group length for many
      clips. Alongside the change to the group length the minimum
      boost is increased.
      
      On balance the results are positive for psnr and psnr-hvs
      but is negative for ssim/fast ssim for the smaller image formats.
      
      Strong gains on some harder clips (eg ducks take off (midres) ~20%,
      husky (lowres) 6-17%. Most of the negative cases are lower motion
      clips. Subsequent patch hopefully will help with those.
      
      Change-Id: Ic1f5dbb9153d5089e58b1540470e799f91a65dc4
      607e45f4
    • Marco's avatar
      vp9-svc: Fix flag for usage of reuse-lowres partition · b3c93d60
      Marco authored
      Fix/cleaup the conditioning for usage of the reuse-lowres
      partition feature.
      
      Replace the non-reference condition with the top temporal
      layer, and put this condition in the speed feature.
      
      This prevents doing update_partition_svc() on every
      VGA frame, instead it will now only do update for VGA in
      the top temporal layer frames.
      
      Also this makes it easier to test/enable this feature
      for lower layer temporal frames.
      
      Change-Id: Ia897afbc6fe5c84c5693e310bcaa6a87ce017be5
      b3c93d60
  4. 14 Nov, 2017 - 2 commits
  5. 13 Nov, 2017 - 7 commits
    • Jerome Jiang's avatar
    • Jerome Jiang's avatar
      vp9 svc: Change conditions on VPX_ENCODER_ABI_VERSION. · 0d2555bd
      Jerome Jiang authored
      VPX_ENCODER_ABI_VERSION was bumped up in 93e83f.
      
      Change-Id: Id5707f9f9db56fa96549bc8f54e1cfa04e7fa4cd
      0d2555bd
    • Jim Bankoski's avatar
      add 10 and 12 bit to tiny_ssim · becab42e
      Jim Bankoski authored
      Change-Id: I92e4dba2d1682a0d77ad9a214ec4312b1cf4d42e
      becab42e
    • paulwilkins's avatar
      New content type to improve grain retention. · a73cee28
      paulwilkins authored
      For new VP9 only content type adjust  the rate distortion and ARF
      filter based on the relative spatial variance of the source and
      reconstruction.
      
      In regards to the RD loop the method favors modes where the
      reconstruction variance is similar to the source variance. However it
      is currently only applied to regions where the source variance is quite
      low.
      
      For very low variance blocks it applies a further bias against intra
      coding and large prediction block sizes (the later in particular limit
      the usefulness of the loop filter).
      
      The final part of this change is to lower the strength of the ARF
      filter for blocks where the source has very low spatial variance, to
      encourage some low amplitude texture or noise to pass through
      the filter.
      
      This change improves the retention of film grain and fine noise /
      texture in spatially flat regions, but as expected causes a significant
      drop in PSNR on many clips. This is to be expected because similar
      but misaligned noise or texture will give a lower PSNR than a flat
      noise free reconstruction. However, it is worth noting that most clips
      show a strong gain in FAST SSIM.
      
      The features are enabled on the vpxenc command line by setting
      --tune-content=film.
      
      VPX_ENCODER_ABI_VERSION bumped for this change and cvbr.
      
      Change-Id: I26a4e4edfa3dc5cacead82fa701fe7a9118ccd0a
      a73cee28
    • paulwilkins's avatar
      Small parameter clean up. · 55fc4d95
      paulwilkins authored
      Removed three parameters that are no longer needed in calls
      to calc_arf_boost() and associated minor changes.
      
      No impact on encode results.
      
      Change-Id: Ieaf31d0d2e1990b99cf69647170145a1bbfbb9fb
      55fc4d95
    • Paul Wilkins's avatar
    • Paul Wilkins's avatar
      Merge "CVBR command line option." · f5817fa6
      Paul Wilkins authored
      f5817fa6
  6. 10 Nov, 2017 - 5 commits
  7. 09 Nov, 2017 - 9 commits
  8. 08 Nov, 2017 - 2 commits
    • Johann Koenig's avatar
    • paulwilkins's avatar
      CVBR command line option. · 93e83fd7
      paulwilkins authored
      Added command line control of Corpus VBR.
      
      The new corpus vbr mode is a variant of standard
      VBR (end-usage=0) where the complexity distribution
      mid point is passed in rather than calculated for a specific
      clip or chunk.
      
      The new variant is enabled by setting a new command line
      parameter --corpus-complexity to a zero value. Omitting
      this parameter or setting it to 0 will cause the codec to use
      standard vbr mode.
      
      The correct value for a given corpus needs to be derived
      experimentally using a training set such that the average
      rate for the corpus is close to the target value.
      
      For example our using our low res test set with upper and lower
      vbr limits of 50%-150% and a corpus complexity value of 650
      gives a similar average data rate across the set to using standard
      vbr. However, with the corpus mode easier clips will be allocated
      fewer bits and harder clips more bits rather than having the same
      rate target for all.
      
      Change-Id: I03f0fc8c6fb0ee32dc03720fea6a3f1949118589
      93e83fd7
  9. 06 Nov, 2017 - 1 commit
    • Marco's avatar
      Nonrd_pickmode: avoid computing UV cost when early_term is set. · 6fbc354c
      Marco authored
      For nonrd_pickmode: if early_term is set there should be
      no need to include UV in rdcost (when color_sensitivity is set).
      
      Neutral change on RTC and RTC_derf metrics, for speed >= 5.
      No change for ytlive metrics.
      
      Very small speed gain (~0.5%) on some clips with strong color content.
      
      Change-Id: Ifc00928ecd935fc71e94935ceef0ae7481249f07
      6fbc354c
  10. 03 Nov, 2017 - 3 commits
    • Kyle Siefring's avatar
      Support building AVX-512 and implement sadx4 for AVX-512 · b383a17f
      Kyle Siefring authored
      The added AVX-512 support requires the subset of AVX-512 added in Skylake-X.
      
      Change-Id: I39666b00d10bf96d06c709823663eb09b89265b7
      b383a17f
    • Marco's avatar
      Compound prediction mode for nonrd pickmode. · eb7d431c
      Marco authored
      Allow for compound prediction mode in nonrd_pickmode for ZEROMV.
      For real-time encoding, 1 pass with non-zero lag-in-frames.
      
      Added speed feature to control the feature.
      Enabled for speed >=6 for now, under VBR mode.
      
      avgPSNR/SSIM metrics positive on ytlive set, for speed 6:
      some clips up by ~3-5%, some clips neutral gain, average gain
      across clips is ~1%.
      
      Small/negligible decrease in speed.
      
      Change-Id: I7a60c7596e69b9a928410c5ee2f9141eecd8613d
      eb7d431c
    • Johann's avatar
      fail early on oversize frames · 5fe82459
      Johann authored
      Even though frame_size is calculated in uint64_t, it winds up in an int
      size value.
      
      This was exposed with the msan test because the memset is called with
      (int)frame_size, leading to a segfault.
      
      Change-Id: I7fd930360dca274adb8f3e43e5e6785204808861
      5fe82459
  11. 01 Nov, 2017 - 2 commits
  12. 31 Oct, 2017 - 2 commits
  13. 30 Oct, 2017 - 1 commit