]> granicus.if.org Git - libvpx/log
libvpx
5 years agoUse sdx8f in exhaustive_mesh_search_single_step
Angie Chiang [Fri, 12 Jul 2019 23:15:55 +0000 (16:15 -0700)]
Use sdx8f in exhaustive_mesh_search_single_step

This speed up non_greedy_mv by 4%

Change-Id: I9288c88db56ea4201a7ec4493ca5c567d76af0f1

5 years agoSync the behavior of exhaustive_mesh_search
Angie Chiang [Thu, 11 Jul 2019 23:52:50 +0000 (16:52 -0700)]
Sync the behavior of exhaustive_mesh_search

Change-Id: Ib1ac6f57519eb4da93e7c75b0c26a372ffc5d524

5 years agoRefactor exhaustive_mesh_search_new
Angie Chiang [Thu, 11 Jul 2019 23:04:13 +0000 (16:04 -0700)]
Refactor exhaustive_mesh_search_new

Add the following two functions:
exhaustive_mesh_search_multi_step
exhaustive_mesh_search_single_step

Change-Id: I02fac56a815b091beab2203afce560d7d29aad44

5 years agoSimplify code in exhaustive_mesh_search_new
Angie Chiang [Thu, 11 Jul 2019 22:25:31 +0000 (15:25 -0700)]
Simplify code in exhaustive_mesh_search_new

Change-Id: Id6a8b117b066a56e9312f528ec8f417dd4b2a2d8

5 years agoMerge "Remove android_tools deps"
James Zern [Tue, 2 Jul 2019 18:46:30 +0000 (18:46 +0000)]
Merge "Remove android_tools deps"

5 years agoRemove android_tools deps
Yun Liu [Mon, 1 Jul 2019 21:44:28 +0000 (14:44 -0700)]
Remove android_tools deps

Bug: 428426
Change-Id: Ia3c31fe2b513ac995baad15c8376c590fd1104f7

5 years agoMerge "vp9_cx_iface,encoder_encode: fix -Wclobbered for pts"
James Zern [Mon, 1 Jul 2019 22:17:46 +0000 (22:17 +0000)]
Merge "vp9_cx_iface,encoder_encode: fix -Wclobbered for pts"

5 years agovp9-rtc: Fix color artifacts for speed >= 8
Marco Paniconi [Mon, 1 Jul 2019 04:16:40 +0000 (21:16 -0700)]
vp9-rtc: Fix color artifacts for speed >= 8

Fix to avoid color artifacts observed for speed >= 8.
In model_rd_large in non_rd pickmode: always do the
transform skipping test for UV plane.

BUG=b/136198713

Change-Id: Idd91322fb898fe731846d8581b21010096f87680

5 years agovp9_cx_iface,encoder_encode: fix -Wclobbered for pts
James Zern [Sun, 30 Jun 2019 01:18:15 +0000 (18:18 -0700)]
vp9_cx_iface,encoder_encode: fix -Wclobbered for pts

Change-Id: Ia7fd4fedb0dcbb626d0e7f4951360e2462b518e2

5 years agoadd flags for empty blocks
Dan Zhu [Fri, 28 Jun 2019 21:07:44 +0000 (14:07 -0700)]
add flags for empty blocks

Change-Id: Iedf3bdd87d203db5163d3cc47fcbef1fd002218f

5 years agoMerge changes I833c82fb,I05a39165,Ie044bb01,I565f477f
Angie Chiang [Fri, 28 Jun 2019 17:50:28 +0000 (17:50 +0000)]
Merge changes I833c82fb,I05a39165,Ie044bb01,I565f477f

* changes:
  Integerize vp9_full_pixel_diamond_new
  Integerize vp9_refining_search_sad_new
  Integerize diamond_search_sad_new()
  Refactor vp9_full_pixel_diamond_new

5 years agoMerge "vp9_encodeframe: quiet a few integer sanitizer warnings"
James Zern [Fri, 28 Jun 2019 02:52:20 +0000 (02:52 +0000)]
Merge "vp9_encodeframe: quiet a few integer sanitizer warnings"

5 years agovp9_encodeframe: quiet a few integer sanitizer warnings
James Zern [Thu, 27 Jun 2019 22:53:58 +0000 (15:53 -0700)]
vp9_encodeframe: quiet a few integer sanitizer warnings

implicit conversion from type 'int' of value -2 (32-bit, signed) to type
'uint8_t' (aka 'unsigned char') changed the value to 254 (8-bit,
unsigned)

BUG=webm:1615

Change-Id: I9b8f5a9df3211e344e91d67a45d321e7115f5d4a

5 years agotimestamp_test: enable TestMicrosecondTimebase
James Zern [Thu, 27 Jun 2019 22:21:23 +0000 (15:21 -0700)]
timestamp_test: enable TestMicrosecondTimebase

this doesn't cause any overflow issues after:
11de1b838 Fix timestamp overflow issues

BUG=webm:701,webm:1614

Change-Id: I7e1cbfa4264d1661eb9a5baa2b2111a0899360f2

5 years agoMerge "Change parameters for highbd tune=ssim"
Sai Deng [Thu, 27 Jun 2019 16:57:05 +0000 (16:57 +0000)]
Merge "Change parameters for highbd tune=ssim"

5 years agoIntegerize vp9_full_pixel_diamond_new
Angie Chiang [Wed, 26 Jun 2019 23:28:46 +0000 (16:28 -0700)]
Integerize vp9_full_pixel_diamond_new

Change-Id: I833c82fb910c8274b5a237e26fe0dcda7def9796

5 years agoIntegerize vp9_refining_search_sad_new
Angie Chiang [Wed, 26 Jun 2019 23:18:01 +0000 (16:18 -0700)]
Integerize vp9_refining_search_sad_new

Change-Id: I05a39165b9910262eca8fdf644ae982b80d309b4

5 years agoIntegerize diamond_search_sad_new()
Angie Chiang [Wed, 26 Jun 2019 23:02:00 +0000 (16:02 -0700)]
Integerize diamond_search_sad_new()

Change-Id: Ie044bb01e26d871bace309ae1f45aa880ea1de62

5 years agoRefactor vp9_full_pixel_diamond_new
Angie Chiang [Wed, 26 Jun 2019 22:46:43 +0000 (15:46 -0700)]
Refactor vp9_full_pixel_diamond_new

Remove redundant bestsme assignments

Change-Id: I565f477f51c2a13369ebd1532eed05115e774238

5 years agoRemove mv_dist/mv_cost from new mv search funcs
Angie Chiang [Tue, 25 Jun 2019 22:43:43 +0000 (15:43 -0700)]
Remove mv_dist/mv_cost from new mv search funcs

The functions are
diamond_search_sad_new()
vp9_full_pixel_diamond_new()
vp9_refining_search_sad_new()

Change-Id: Ied6fe98b8a1401c95f0488faf781c5cd5e8e0db6

5 years agoSpeed up diamond_search_sad_new
Angie Chiang [Tue, 25 Jun 2019 22:21:17 +0000 (15:21 -0700)]
Speed up diamond_search_sad_new

The percentage of encoding time spent on diamond_search_sad_new
reduces from 8% to 6%

Change-Id: I1be55b957475d780974cc2e721f8c2d4d266e916

5 years agoLet full_pixel_exhaustive_new return int64_t
Angie Chiang [Tue, 25 Jun 2019 21:35:24 +0000 (14:35 -0700)]
Let full_pixel_exhaustive_new return int64_t

Change-Id: I2c7cd7363a1b61b7aa7c35fd9f4e6b926b67418f

5 years agoscript to compact frames to y4m video
Dan Zhu [Thu, 20 Jun 2019 23:05:30 +0000 (16:05 -0700)]
script to compact frames to y4m video

Change-Id: I2d8c3ccf49c172a54181aeb2e2b8169bf5402456

5 years agoadd output of frame info
Dan Zhu [Thu, 20 Jun 2019 04:34:22 +0000 (21:34 -0700)]
add output of frame info

Change-Id: I70d750be13d9a654d1f21d7809d8d44c491ae477

5 years agoAdd Ray Tracing
Dan Zhu [Wed, 19 Jun 2019 17:54:23 +0000 (10:54 -0700)]
Add Ray Tracing

Add braces

Change-Id: I5355ccd8f745dfbd4fe3923a81aa3c9f8fda07b3

5 years agoChange parameters for highbd tune=ssim
sdeng [Wed, 12 Jun 2019 23:05:33 +0000 (16:05 -0700)]
Change parameters for highbd tune=ssim

With this CL:
             PSNR   SSIM    MS-SSIM
lowres_10bd  2.8    -5.6    -6.5
midres_10bd  2.6    -5.6    -6.3

Before this CL:
             PSNR   SSIM    MS-SSIM
lowres_10bd  6.1    -6.5    -7.7
midres_10bd  6.2    -6.0    -7.2

Change-Id: Iad0ad96d55ad140db00ce86c34ab85461cd963eb

5 years agoAdd Scene module to manage other objects
Dan Zhu [Fri, 14 Jun 2019 18:42:01 +0000 (11:42 -0700)]
Add Scene module to manage other objects

and calculation

Add interpolation in the Scene

Delete Color interpolation

Build triangle mesh

Reconstruct the code of depth interpolation

Add new data structure Node for back linking

Change-Id: Ibb1e896a2e3623d4549d628539d81d79827ba684

5 years agoIntegerize exhaustive_mesh_search_new()
Angie Chiang [Fri, 21 Jun 2019 00:06:14 +0000 (17:06 -0700)]
Integerize exhaustive_mesh_search_new()

Change-Id: Ia87ed60f46384e7bb7c5f55e9e28c406562a6f19

5 years agoMake vp9_nb_mvs_inconsistency return int64_t
Angie Chiang [Thu, 20 Jun 2019 23:06:56 +0000 (16:06 -0700)]
Make vp9_nb_mvs_inconsistency return int64_t

Change-Id: I925156ed45e13a06c449c2fbff8a3c26baf8d835

5 years agoMake type of lambda int in TplDepFrame
Angie Chiang [Wed, 19 Jun 2019 23:25:00 +0000 (16:25 -0700)]
Make type of lambda int in TplDepFrame

Change-Id: I8fdf1ad4790201b1624c8408d92983aeb0b08302

5 years agoIntegerize log2_approximation()
Angie Chiang [Wed, 19 Jun 2019 21:51:26 +0000 (14:51 -0700)]
Integerize log2_approximation()

Change-Id: If645bf6a90f4bfb5a51ca0a78b88d1eb5bedbec2

5 years agovsx: disable on all builds
Johann [Thu, 20 Jun 2019 17:43:09 +0000 (10:43 -0700)]
vsx: disable on all builds

The previous change to disable some vsx functions did not clear
the test failures. Disable vsx by default until it is investigated
and fixed.

BUG=webm:1522

Change-Id: I8ba2e7261ea3eee5022832da7e4a22bf8daa0996

5 years agoMerge "vp8: Allow higher resolution to get periodic keyframe."
Jerome Jiang [Thu, 20 Jun 2019 17:20:54 +0000 (17:20 +0000)]
Merge "vp8: Allow higher resolution to get periodic keyframe."

5 years agoMerge "Change log2_fast to log2_approximation"
Angie Chiang [Thu, 20 Jun 2019 17:14:15 +0000 (17:14 +0000)]
Merge "Change log2_fast to log2_approximation"

5 years agoMerge "Start with q=active_best_quality for non-forced key frames"
Ravi Chaudhary [Thu, 20 Jun 2019 08:57:43 +0000 (08:57 +0000)]
Merge "Start with q=active_best_quality for non-forced key frames"

5 years agoStart with q=active_best_quality for non-forced key frames
Ravi Chaudhary [Wed, 22 May 2019 04:46:30 +0000 (10:16 +0530)]
Start with q=active_best_quality for non-forced key frames

Change-Id: I435d247ab4d1d160f12f5a3710e6cafb5cfd6610

5 years agovp8: Allow higher resolution to get periodic keyframe.
Jerome Jiang [Wed, 19 Jun 2019 22:26:05 +0000 (15:26 -0700)]
vp8: Allow higher resolution to get periodic keyframe.

BUG=webm:1632

Change-Id: Ib05a010245e77f9d502c3e7b8f488fca280ea544

5 years agoChange log2_fast to log2_approximation
Angie Chiang [Tue, 18 Jun 2019 22:33:23 +0000 (15:33 -0700)]
Change log2_fast to log2_approximation

This reduce non_greedy_mv encoding time by 8.9%

Use linear approximation for value >= 1024

BDRate increases slightly on hdres
lowres: -0.002
midres: 0.007
hdres: 0.057

Change-Id: I55fd5e0bf0ab2206a286e11974f701cc48084be8

5 years agoMerge "3D reconstruction tool build by Processing"
Dan Zhu [Wed, 19 Jun 2019 17:13:50 +0000 (17:13 +0000)]
Merge "3D reconstruction tool build by Processing"

5 years agoMerge "Implement log2_fast for vp9_nb_mvs_inconsistency"
Angie Chiang [Wed, 19 Jun 2019 16:45:15 +0000 (16:45 +0000)]
Merge "Implement log2_fast for vp9_nb_mvs_inconsistency"

5 years agoMerge "Fix timestamp overflow issues"
Yue Chen [Tue, 18 Jun 2019 23:39:09 +0000 (23:39 +0000)]
Merge "Fix timestamp overflow issues"

5 years agoImplement log2_fast for vp9_nb_mvs_inconsistency
Angie Chiang [Tue, 18 Jun 2019 16:53:25 +0000 (09:53 -0700)]
Implement log2_fast for vp9_nb_mvs_inconsistency

This speed up non_greedy_mv by 8.7%

Change-Id: Ia46e3e7c4d32ec364091fad26cc953c62963e526

5 years agoFix timestamp overflow issues
Yue Chen [Fri, 12 Apr 2019 22:30:05 +0000 (15:30 -0700)]
Fix timestamp overflow issues

- Save the initial user-specified timestamp and rebase all further
timestamps by this value. This makes libvpx internal timestamps to
always start from zero, regardless of the user's timestamps.
- Calculate reduced timestamp conversion ratio and use it to convert
user's timestamps to libvpx internal timestamps and back. The effect
of this is that integer overflow due to multiplication doesn't
happen for a much longer time.

BUG=webm:701

Change-Id: Ic6f5eacd9a7c21b95707d31ee2da77dc8ac7dccf

5 years agoMerge "Fix memory leak for vp8 multi-res encoder."
Jerome Jiang [Sat, 15 Jun 2019 00:34:40 +0000 (00:34 +0000)]
Merge "Fix memory leak for vp8 multi-res encoder."

5 years agovpx_dec_fuzzer: Remove fmemopen dependency
Harish Mahendrakar [Fri, 14 Jun 2019 18:08:36 +0000 (11:08 -0700)]
vpx_dec_fuzzer: Remove fmemopen dependency

fmemopen is not preferred during fuzzing.
Removed all file operations.

Removed need for allocating a different input buffer.
data buffer is appropriately incremented and passed directly to decoder
This will also test input being sent in an unaligned buffer to the library.

Removed read_frame function and did the required parsing inline.

Change-Id: I32829b0149dba9339f2e8bb4c0249a4987a630c7

5 years ago3D reconstruction tool build by Processing
Dan Zhu [Fri, 7 Jun 2019 21:54:30 +0000 (14:54 -0700)]
3D reconstruction tool build by Processing

(a java based language for data visualization)

add MotionField module

reformat the code by using newest clang-format version

add necessary comments

add new functions

move basic settings to setup

Change-Id: I64a6b2daec06037daa9e54c6b8d1eebe58aa6de0

5 years agoFix memory leak for vp8 multi-res encoder.
Jerome Jiang [Fri, 14 Jun 2019 16:50:30 +0000 (09:50 -0700)]
Fix memory leak for vp8 multi-res encoder.

BUG=webm:1630

Change-Id: I03e74e78aa0ead66eda7506e921b1774b5442ed5

5 years agoMerge "Use previous ARF as GOLDEN frame for the next GOP"
Deepa K G [Fri, 14 Jun 2019 06:49:43 +0000 (06:49 +0000)]
Merge "Use previous ARF as GOLDEN frame for the next GOP"

5 years agoMerge "ppc: disable vsx for small predictors"
Johann Koenig [Thu, 13 Jun 2019 22:06:22 +0000 (22:06 +0000)]
Merge "ppc: disable vsx for small predictors"

5 years agoppc: disable vsx for small predictors
Johann [Thu, 13 Jun 2019 18:29:09 +0000 (11:29 -0700)]
ppc: disable vsx for small predictors

These functions cause test failures when running the entire suite.

BUG=webm:1522

Change-Id: I2c1dc4923e9f149464f365ef63dc59621cfabf5a

5 years agoMerge "vpx_dec_fuzzer: Add -fsanitize=fuzzer-no-link"
Harish Mahendrakar [Thu, 13 Jun 2019 18:45:02 +0000 (18:45 +0000)]
Merge "vpx_dec_fuzzer: Add -fsanitize=fuzzer-no-link"

5 years agoMerge "ppc: disable vsx optimizations with hbd"
Johann Koenig [Thu, 13 Jun 2019 18:40:42 +0000 (18:40 +0000)]
Merge "ppc: disable vsx optimizations with hbd"

5 years agovpx_dec_fuzzer: Add -fsanitize=fuzzer-no-link
Harish Mahendrakar [Wed, 12 Jun 2019 22:14:15 +0000 (15:14 -0700)]
vpx_dec_fuzzer: Add -fsanitize=fuzzer-no-link

Updated build instructions for vpx_dec_fuzzer to include
-fsanitize=fuzzer-no-link while configuring library

Change-Id: Id158256aa1cfe3d847720e8558cb5998ad4fd777

5 years agoUse previous ARF as GOLDEN frame for the next GOP
Deepa K G [Tue, 9 Apr 2019 12:25:36 +0000 (17:55 +0530)]
Use previous ARF as GOLDEN frame for the next GOP

This patch uses ARF itself as the GOLDEN frame for the
next gf group instead of replacing it with the overlay
frame. By doing so, bits consumed by the overlay frame
will be reduced.

Change-Id: I909ceaa6d501c267d315614075913d45ad426c15

5 years agosse: remove unused HAVE_SSE files
Johann [Mon, 10 Jun 2019 22:08:40 +0000 (15:08 -0700)]
sse: remove unused HAVE_SSE files

There are no sse functions which use these files. Cleans up spurious
warnings when building with --disable-sse2

Change-Id: I04d84b8b7ecfe6da7d5d4df63840796c7b04c085

5 years agoppc: disable vsx optimizations with hbd
Johann [Mon, 10 Jun 2019 21:35:03 +0000 (14:35 -0700)]
ppc: disable vsx optimizations with hbd

vsx optimizations do not support 32 bit tran_low_t values.

BUG=webm:1563

Change-Id: I9e6348078f6e4855acfd381133eb840a435b7f81

5 years agoupdate libwebm to libwebm-1.0.0.27-361-g81de00c
James Zern [Fri, 7 Jun 2019 22:06:29 +0000 (15:06 -0700)]
update libwebm to libwebm-1.0.0.27-361-g81de00c

81de00c Check there is only one settings per ContentCompression
5623013 Fixes a double free in ContentEncoding
93b2ba0 mkvparser: quiet static analysis warnings

Change-Id: Ieaa562ef2f10075381bd856388e6b29f97ca2746

5 years agovp8: fix leak in vp8e_mr_alloc_mem
Jerome Jiang [Thu, 6 Jun 2019 22:38:13 +0000 (15:38 -0700)]
vp8: fix leak in vp8e_mr_alloc_mem

BUG=webm:1596

Change-Id: I09ba00a7b7ad331671a7a285a2ac5630d8b62199

5 years agoMerge "Update performance test results for tune=SSIM"
Sai Deng [Thu, 6 Jun 2019 15:50:14 +0000 (15:50 +0000)]
Merge "Update performance test results for tune=SSIM"

5 years agoMerge "Fix a bug in best RD cost updating"
Sai Deng [Thu, 6 Jun 2019 06:13:08 +0000 (06:13 +0000)]
Merge "Fix a bug in best RD cost updating"

5 years agoUpdate performance test results for tune=SSIM
sdeng [Thu, 6 Jun 2019 03:40:16 +0000 (20:40 -0700)]
Update performance test results for tune=SSIM

I made a mistake (used the outdated baseline) in the CL I
submitted earlier this week:
https://chromium-review.googlesource.com/c/webm/libvpx/+/1638854

The corrected results are following:
The additional gains/loss on top of the tune=ssim are:
Data Set   Overall PSNR   SSIM       MS-SSIM
 Lowres       3.490      -3.164      -2.267
 Midres       2.245      -2.270      -2.287
 HDres        2.562      -1.804      -1.681
Lowres_10bd   3.477      -2.399      -2.689
Midres_10bd   3.467      -1.534      -1.636

The overall gains/loss comparing to tune=psnr are:
Data Set   Overall PSNR   SSIM       MS-SSIM
 Lowres       6.127      -5.818      -4.783
 Midres       4.574      -5.383      -6.242
 HDres        4.908      -6.218      -7.106
Lowres_10bd   6.115      -6.212      -7.790
Midres_10bd   6.238      -6.064      -7.249

Change-Id: Iae72482f7b30f200e5021a98c920eed841d0972a

5 years agoFix a bug in best RD cost updating
sdeng [Tue, 4 Jun 2019 20:54:18 +0000 (13:54 -0700)]
Fix a bug in best RD cost updating

This CL fixed a bug that sometimes we calculate the best rd cost using
uninitialized rd_div. This CL also includes a small refactoring of
rd_pick_partition().

Speed change: (the smaller the better)
 Performance counter stats for './vpxenc park_joy_480p.y4m --limit=50
 -o output.webm':

with this CL:       297,086,181,136      instructions:u
without this CL:    299,285,835,104      instructions:u

Quality change: (negative is better)
          avg_psnr ovr_psnr  ssim
(low_res)  0.007     0.005  -0.002
(mid_res)  0.022     0.028   0.007
(hd_res)  -0.008    -0.003  -0.014

Change-Id: I8924d8426364304212bcef3aba13346783e6f1a8

5 years agoconfigure: test -Wno-* flags used with libyuv
James Zern [Tue, 4 Jun 2019 21:45:36 +0000 (14:45 -0700)]
configure: test -Wno-* flags used with libyuv

with g++ this avoids:
command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but
not for C++

the flag is necessary with clang.

BUG=webm:1584

Change-Id: I250c76483302d913999e5f9e0d09ee6449b052df

5 years agoMerge changes Ib73136b2,Ie514f663
James Zern [Tue, 4 Jun 2019 21:12:50 +0000 (21:12 +0000)]
Merge changes Ib73136b2,Ie514f663

* changes:
  configure: enable -Wmissing-declarations for more files
  vp9_thread_test: quiet -Wmissing-prototypes

5 years agoMerge "vp9-rtc: Use speed 5 for postencode drop tests."
Marco Paniconi [Tue, 4 Jun 2019 18:35:15 +0000 (18:35 +0000)]
Merge "vp9-rtc: Use speed 5 for postencode drop tests."

5 years agovp9-rtc: Use speed 5 for postencode drop tests.
Marco Paniconi [Tue, 4 Jun 2019 17:07:11 +0000 (10:07 -0700)]
vp9-rtc: Use speed 5 for postencode drop tests.

Test was running at speed 4, which is not used for real-time.
With this change all Datarate tests are now running at
(speed >= 5, 1 pass, real-time mode), which is what they
were intended for.

BUG=webm:1512

Change-Id: I47a721dadd24b73df722c44419df7cfc06c44226

5 years agoMerge "Hierarchical rdmult scaling when tune=ssim"
Sai Deng [Tue, 4 Jun 2019 16:10:51 +0000 (16:10 +0000)]
Merge "Hierarchical rdmult scaling when tune=ssim"

5 years agoconfigure: enable -Wmissing-declarations for more files
James Zern [Mon, 3 Jun 2019 21:43:24 +0000 (14:43 -0700)]
configure: enable -Wmissing-declarations for more files

avoid using it with third_party/libyuv as that still requires some work.

BUG=webm:1584

Change-Id: Ib73136b22c89d927b112364e19d725c51768bbb7

5 years agoHierarchical rdmult scaling when tune=ssim
sdeng [Sat, 1 Jun 2019 00:25:09 +0000 (17:25 -0700)]
Hierarchical rdmult scaling when tune=ssim

Use different lagrangian multiplier scaling factor for different block
size. The blocks whose sizes are less than 16x16 share the same multiplier
of their parent block.

The additional gains/loss on top of the tune=ssim are:
Data Set   Overall PSNR   SSIM    MS-SSIM
Lowres         2.918     -3.691   -2.596
Midres         1.708     -2.656   -2.624
HDres          1.619     -2.496   -2.391
Midres_10bd    1.518     -3.263   -3.561

The overall gains/loss comparing to tune=psnr are:
Data Set   Overall PSNR   SSIM    MS-SSIM
Lowres         5.583     -6.208   -4.978
Midres         4.024     -5.610   -6.411
HDres          4.102     -6.614   -7.457
Midres_10bd    4.647     -7.181   -8.614

Change-Id: I0e6c5008488734e979b2dacde9fc2a17f3aa620f

5 years agovp9_thread_test: quiet -Wmissing-prototypes
James Zern [Tue, 4 Jun 2019 00:08:23 +0000 (17:08 -0700)]
vp9_thread_test: quiet -Wmissing-prototypes

BUG=webm:1584

Change-Id: Ie514f6630acfb018a3ac4a05758c8b4119ae28fa

5 years agoMerge "Remove unused func for CONFIG_REALTIME_ONLY"
Jerome Jiang [Mon, 3 Jun 2019 19:54:28 +0000 (19:54 +0000)]
Merge "Remove unused func for CONFIG_REALTIME_ONLY"

5 years agoRemove unused func for CONFIG_REALTIME_ONLY
Jerome Jiang [Mon, 3 Jun 2019 17:11:34 +0000 (10:11 -0700)]
Remove unused func for CONFIG_REALTIME_ONLY

Change-Id: I503e147e20e5b69b910c425d169e59821874f627

5 years agoMerge changes I7b1d1482,I01588758,I6f17864e
Sai Deng [Mon, 3 Jun 2019 16:19:06 +0000 (16:19 +0000)]
Merge changes I7b1d1482,I01588758,I6f17864e

* changes:
  Update rdcost using the rd_mult in current block
  Use distortion and rate of best_rd as the params
  Use distortion and rate recursively in rd_pick_partition()

5 years agoUpdate rdcost using the rd_mult in current block
sdeng [Fri, 31 May 2019 22:11:53 +0000 (15:11 -0700)]
Update rdcost using the rd_mult in current block

This CL is a preparation for implementing hierarchical SSIM rdmult scaling.
There is very little impact on metrics and speed:
       avg_psnr ovr_psnr  ssim
midres   0.009   0.009   0.015

perf stat -e instructions:u ./vpxenc park_joy_480p.y4m --limit=50
with this cl: 317,722,808,461
before:       317,700,108,619

Change-Id: I7b1d1482ac69f7bc87065a93223a0274bcbe8ce3

5 years agoUse distortion and rate of best_rd as the params
sdeng [Fri, 31 May 2019 21:35:02 +0000 (14:35 -0700)]
Use distortion and rate of best_rd as the params

Also added rd calculation for negative rates and distortions.
This CL is a preparation for implementing hierarchical SSIM rdmult scaling.

Little impact on quality and speed:
            avg_psnr  ovr_psnr   ssim
(mid_res)    -0.015    -0.009   -0.018

perf stat -e instructions:u ./vpxenc park_joy_480p.y4m --limit=50
with this cl: 317,700,108,619
before:       317,669,279,763

Change-Id: I01588758b7be2aab32236440ec0e57d7af56e920

5 years agoMerge "Remove RD code for CONFIG_REALTIME_ONLY in vp9."
Jerome Jiang [Sat, 1 Jun 2019 00:07:27 +0000 (00:07 +0000)]
Merge "Remove RD code for CONFIG_REALTIME_ONLY in vp9."

5 years agoRemove RD code for CONFIG_REALTIME_ONLY in vp9.
Jerome Jiang [Fri, 31 May 2019 16:41:14 +0000 (09:41 -0700)]
Remove RD code for CONFIG_REALTIME_ONLY in vp9.

This reduces vp9 only binary size by ~5.7%.

Change-Id: I57e46baf591d68b0a0cecbc9319a1190df8b0457

5 years agoUse distortion and rate recursively in rd_pick_partition()
sdeng [Fri, 31 May 2019 20:10:08 +0000 (13:10 -0700)]
Use distortion and rate recursively in rd_pick_partition()

This CL is a preparation for implementing hierarchical SSIM rdmult scaling,
There is very little impact on metrics and speed:
       avg_psnr ovr_psnr  ssim
midres   -0.04   0.005    0.012

perf stat -e instructions:u ./vpxenc park_joy_480p.y4m --limit=50
with this cl: 317,669,279,763
before:       317,717,562,045

Change-Id: I6f17864e7b17aad06a04ae4f470f75e975549db9

5 years agolibvpx,vp9_datarate_test: drop one-pass vod mode
James Zern [Thu, 30 May 2019 22:22:58 +0000 (15:22 -0700)]
libvpx,vp9_datarate_test: drop one-pass vod mode

this test is only useful for realtime mode testing given the number of
frames and that one-pass vod has never been a primary focus for
development.

BUG=webm:1512

Change-Id: I23208393a5fcc5bcf9b267fab4b0d1aad500918a

5 years agoMerge "added error logging to video_writer.c similar to video_reader.c"
Aidan Welch [Thu, 30 May 2019 01:50:10 +0000 (01:50 +0000)]
Merge "added error logging to video_writer.c similar to video_reader.c"

5 years agoMerge "remove unused svc exports"
Johann Koenig [Wed, 29 May 2019 22:16:48 +0000 (22:16 +0000)]
Merge "remove unused svc exports"

5 years agoadded error logging to video_writer.c similar to video_reader.c
Aidan Welch [Tue, 28 May 2019 04:46:00 +0000 (00:46 -0400)]
added error logging to video_writer.c similar to video_reader.c

Change-Id: Ib56b3e309113574a69ae09db1ee5b0fcc14ebe88

5 years agoremove unused svc exports
Johann [Tue, 21 May 2019 21:15:18 +0000 (14:15 -0700)]
remove unused svc exports

The spatial svc implementation has moved outside the library:
commit ed8f189cccda9168fd400d1ba6661b1bc14a3afa
  Refactor: move svc example files to from vpx/ to  examples/

BUG=webm:1629

Change-Id: I31c3ae7b20a6bd50615d1d6e48d4f93beca939e6

5 years agoMerge "Fix calculations in GF only group case"
Deepa K G [Wed, 29 May 2019 08:02:07 +0000 (08:02 +0000)]
Merge "Fix calculations in GF only group case"

5 years agoMerge "Increase the bits allocated to key frame"
Deepa K G [Wed, 29 May 2019 08:01:23 +0000 (08:01 +0000)]
Merge "Increase the bits allocated to key frame"

5 years agoMerge "vp9-rtc: Update overshoot_detection speed feature"
Marco Paniconi [Tue, 28 May 2019 15:32:10 +0000 (15:32 +0000)]
Merge "vp9-rtc: Update overshoot_detection speed feature"

5 years agoMerge "Fix section intra rating for first ARF interval"
Paul Wilkins [Tue, 28 May 2019 10:40:48 +0000 (10:40 +0000)]
Merge "Fix section intra rating for first ARF interval"

5 years agovp9-rtc: Update overshoot_detection speed feature
Marco Paniconi [Fri, 24 May 2019 17:32:08 +0000 (10:32 -0700)]
vp9-rtc: Update overshoot_detection speed feature

Keep the overshoot_detection_cbr_rt to the fast mode
(FAST_DETECTION_MAXQ), except for low-resoln at speed 5,
for non-screen content.

The increase in encode time (from using the more accurate
RE_ENCODE_MAXQ) is acceptable for speed 5 at low resoln.

Change-Id: I3089d1505553154ef046056465bc18130f7bd55a

5 years agoFix calculations in GF only group case
Deepa K G [Mon, 27 May 2019 12:32:00 +0000 (18:02 +0530)]
Fix calculations in GF only group case

- Fix the number of frames considered in calculation of
  twopass active worst quality. For GF only group, frames
  considered should be one less than baseline gf interval
  accounting for the golden frame.
- Fix in calculation of normal_frames. As baseline gf
  interval includes the golden frame, the number of
  normal frames should be one less than baseline gf
  interval.

Change-Id: Ic752f7d13d23772687e2fa407698766b3fdf5c67

5 years agoMerge "Revert "Fix calculations in GF only group case""
James Zern [Sat, 25 May 2019 23:41:30 +0000 (23:41 +0000)]
Merge "Revert "Fix calculations in GF only group case""

5 years agoRevert "Fix calculations in GF only group case"
James Zern [Sat, 25 May 2019 19:55:35 +0000 (19:55 +0000)]
Revert "Fix calculations in GF only group case"

This reverts commit c87ff4a09ddf50152918c127eebf11e3a6ef7b1e.

Reason for revert: causes division by zero

Original change's description:
> Fix calculations in GF only group case
>
> - Fix the number of frames considered in calculation of
>   twopass active worst quality. For GF only group, frames
>   considered should be one less than baseline gf interval
>   accounting for the golden frame.
> - Fix in calculation of normal_frames. As baseline gf
>   interval includes the golden frame, the number of
>   normal frames should be one less than baseline gf
>   interval.
>
> Change-Id: I6c0cd0a39db23586fc390a6fba5d7aebc0dfce08

Change-Id: I522da652587ae7ca4177f6d4bb9f72abcff35637

5 years agoMerge "Increase active best quality linearly"
Jingning Han [Fri, 24 May 2019 16:35:27 +0000 (16:35 +0000)]
Merge "Increase active best quality linearly"

5 years agoMerge "Fix calculations in GF only group case"
Paul Wilkins [Fri, 24 May 2019 15:38:56 +0000 (15:38 +0000)]
Merge "Fix calculations in GF only group case"

5 years agoMerge "Exclude VP9 files from vpx_dsp.mk for VP8 build"
Venkatarama Avadhani [Fri, 24 May 2019 05:22:16 +0000 (05:22 +0000)]
Merge "Exclude VP9 files from vpx_dsp.mk for VP8 build"

5 years agoMerge "Clamp for min_frame_target"
Jingning Han [Wed, 22 May 2019 16:42:54 +0000 (16:42 +0000)]
Merge "Clamp for min_frame_target"

5 years agoExclude VP9 files from vpx_dsp.mk for VP8 build
Venkatarama NG. Avadhani [Wed, 8 May 2019 14:23:58 +0000 (19:53 +0530)]
Exclude VP9 files from vpx_dsp.mk for VP8 build

Change-Id: Ifab64a783c205cc79b841a3f77fb77b156b23b23

5 years agoClamp for min_frame_target
Jingning Han [Tue, 21 May 2019 23:47:24 +0000 (16:47 -0700)]
Clamp for min_frame_target

Apply the minimum frame size clamp for all applicable frames. This
avoids bit-rate undershooting issue as reported in

BUG=b/133260125

Change-Id: I59ec028eee999ad5238602adf96465af7c4f4514

5 years agoIncrease the bits allocated to key frame
Deepa K G [Fri, 17 May 2019 10:35:06 +0000 (16:05 +0530)]
Increase the bits allocated to key frame

Based on the spatial complexity, increase the
bits allocated to key frame.

Change-Id: I4f96990a13bcc3bdb7a22d50e67e2bd622f1ff7b

5 years agovp8: Disallow copy flag behavior under forced refresh
Marco Paniconi [Tue, 14 May 2019 22:47:23 +0000 (15:47 -0700)]
vp8: Disallow copy flag behavior under forced refresh

Don't allow the setting of copy_buffer_to_arf when the
application/user sets the refresh/update flags. Add new flag
(ext_refresh_frame_flags_pending) to indicate user sets the flags.

Change-Id: I482098c0f2552b04885132a728629ab3e207f08b

5 years agovp9-rtc: Increase qp thresh for overshoot detection
Marco Paniconi [Fri, 17 May 2019 17:50:42 +0000 (10:50 -0700)]
vp9-rtc: Increase qp thresh for overshoot detection

For video mode (non-screen) in CBR real-time mode:
increase the qp thresh to trigger setting to active_worst
on scene changes. Avoid big overshoots in content with
scene changes.

Change-Id: I74721b07b0d7b742cbef468ece70cca7da0f89eb