Commit Graph

20653 Commits

Author SHA1 Message Date
Angie Chiang
ee554c8ceb Let vp9_nb_mvs_inconsistency call log2 just once
The bahavior of this function is to compute log2 of mv difference,
i.e. min log2(1 + row_diff * row_diff + col_diff * col_diff)
against available neghbor mvs.
Since the log2 is monotonic increasing, we can compute
min row_diff * row_diff + col_diff * col_diff first
then apply log2 in the end

non_greedy_mv encoding time is reduced by 1.5%

Change-Id: I70d40060e2621daec27229f1f6d9fea0286aa04e
2019-07-17 13:14:01 -07:00
Wan-Teh Chang
548974b293 Merge "Fix comment typos." 2019-07-17 20:13:10 +00:00
Wan-Teh Chang
ce13498b2a Fix comment typos.
Fix comment typos in transpose_s16_4x4q() and transpose_u16_4x4q().

Change-Id: I21bcc1fb3fb880798e5a3927c3dbe81dd518c83b
2019-07-17 11:09:55 -07:00
Angie Chiang
291055812b Add vpx_sad32x32x8_c/avx2
Change-Id: I4dbb7b6c8979c39eb6ffb97750e3cca0f4b7921f
2019-07-16 16:46:59 -07:00
Angie Chiang
a662247070 Add unit test for vpx_sadMxNx8
Change-Id: Ica85e3738708e2a6cc7388fd2cbf6a8840a540d5
2019-07-16 16:46:55 -07:00
Johann
53dc2d9d96 Merge remote-tracking branch 'origin/orpington'
BUG=webm:1624

Change-Id: I62e7154d95b3361d6184f0448430bed951f15044
2019-07-16 11:35:06 -07:00
Paul Wilkins
3ab1a4aadb Merge "Limit active best quality of layered ARF frames" 2019-07-16 15:06:05 +00:00
Johann
8ae686757b Release v1.8.1 Orpington Duck
BUG=webm:1624

Change-Id: Ibd63b64058e52448e0916939a3f85eb23c8161b6
2019-07-15 14:55:33 -07:00
Angie Chiang
d749bc7b33 Merge changes I9288c88d,Ib1ac6f57,I02fac56a,Id6a8b117
* changes:
  Use sdx8f in exhaustive_mesh_search_single_step
  Sync the behavior of exhaustive_mesh_search
  Refactor exhaustive_mesh_search_new
  Simplify code in exhaustive_mesh_search_new
2019-07-15 18:40:10 +00:00
Yunqing Wang
bb407a27b2 Merge "Revert "Set up frame contexts based on frame type"" 2019-07-15 18:31:09 +00:00
Yunqing Wang
ed5a5a06bd Revert "Set up frame contexts based on frame type"
This reverts commit affd9921e4.

Reason for revert:  Quality regression
(VP9/EndToEndTestLarge.EndtoEndPSNRTest/195 failed)

BUG=webm:1635

Original change's description:
> Set up frame contexts based on frame type
>
> In single layer ARF case, use different frame
> contexts for KF, ARF/GF, LF, OVERLAY update types.
>
> Change-Id: Iebb7f9bb430e483dea1e75fc122b9b67645ce804

Change-Id: I98a4eaa6ec0ae6616ea5ad35d1580501b7422e1b
2019-07-15 17:16:37 +00:00
Angie Chiang
037d67f684 Use sdx8f in exhaustive_mesh_search_single_step
This speed up non_greedy_mv by 4%

Change-Id: I9288c88db56ea4201a7ec4493ca5c567d76af0f1
2019-07-14 19:09:56 -07:00
Angie Chiang
719fe0bc5f Sync the behavior of exhaustive_mesh_search
Change-Id: Ib1ac6f57519eb4da93e7c75b0c26a372ffc5d524
2019-07-14 19:09:56 -07:00
Angie Chiang
ad0f0cbc0c Refactor exhaustive_mesh_search_new
Add the following two functions:
exhaustive_mesh_search_multi_step
exhaustive_mesh_search_single_step

Change-Id: I02fac56a815b091beab2203afce560d7d29aad44
2019-07-14 19:09:27 -07:00
Angie Chiang
43cab8f4e8 Simplify code in exhaustive_mesh_search_new
Change-Id: Id6a8b117b066a56e9312f528ec8f417dd4b2a2d8
2019-07-12 15:10:40 -07:00
Yunqing Wang
468e77b9ea Merge "Adjust the quality of boosted frames" 2019-07-11 15:07:55 +00:00
Yunqing Wang
5372f1e41e Merge "Set up frame contexts based on frame type" 2019-07-11 15:07:35 +00:00
Yunqing Wang
1c875f11f2 Merge "Modify frame context index" 2019-07-11 15:07:17 +00:00
Marco Paniconi
2d63dacfa0 vp9-rtc: Reduce color artifact for speed 8
Push the reduced chroma check to speed > 8.

Change-Id: I92dd0aa9933bb5417b1dc5eef8f805ee51e04ac9
2019-07-10 09:49:41 -07:00
Jerome Jiang
741f5dc77c vp9: Use mb_rows/cols from VP9_COMMON in postproc.
When frame height is not divisible by 16, the calculation of mb_rows in
postproc was wrong.

Change-Id: I69d108f1b8facdd5650b5b7928a0033b268530d2
2019-07-09 16:46:24 -07:00
James Zern
19bda215d0 Merge "Remove android_tools deps" 2019-07-02 18:46:30 +00:00
Yun Liu
4029b8cd40 Remove android_tools deps
Bug: 428426
Change-Id: Ia3c31fe2b513ac995baad15c8376c590fd1104f7
2019-07-02 18:29:58 +00:00
James Zern
01fd66d726 vp9_cx_iface,encoder_encode: fix -Wclobbered for pts
Change-Id: Ia7fd4fedb0dcbb626d0e7f4951360e2462b518e2
(cherry picked from commit ae3c6e9ec7)
2019-07-01 15:18:49 -07:00
James Zern
cd9f1763c8 Merge "vp9_cx_iface,encoder_encode: fix -Wclobbered for pts" 2019-07-01 22:17:46 +00:00
Marco Paniconi
18acb6ab8e 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
(cherry picked from commit c33c7ca85f)
2019-07-01 17:54:01 +00:00
Marco Paniconi
c33c7ca85f 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
2019-07-01 09:52:16 -07:00
Ravi Chaudhary
16de4d7366 Adjust the quality of boosted frames
As the boosted frames, early in key frame interval,
are used as reference by many subsequent boosted frames,
boosted frames that are closer to the reference key frame
should be allocated with more target bits than the rest.
Similarly, the active best quality should be lower for
boosted frames early in the key interval and vice versa.
Hence, the bits allocation and active best quality are varied
based on their temporal position in the key frame interval.

Change-Id: I1362248560d074b9e209657a23ae73dda0b01d52
2019-07-01 18:08:26 +05:30
James Zern
ae3c6e9ec7 vp9_cx_iface,encoder_encode: fix -Wclobbered for pts
Change-Id: Ia7fd4fedb0dcbb626d0e7f4951360e2462b518e2
2019-06-29 18:18:15 -07:00
Dan Zhu
ee097c75ce add flags for empty blocks
Change-Id: Iedf3bdd87d203db5163d3cc47fcbef1fd002218f
2019-06-28 14:08:45 -07:00
Hien Ho
7cb611d221 vp8/encoder/boolhuff: fix integer sanitizer warnings
from sanitizer run:
runtime error: implicit conversion from type 'unsigned int' of value 256
(32-bit, unsigned) to type 'unsigned char' changed the value to
 0 (8-bit, unsigned)

BUG=webm:1615

Change-Id: I9321bbd58a305419bc8669ecd7594adc47e8b116
2019-06-28 20:27:38 +00:00
Angie Chiang
d69584261d 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
2019-06-28 17:50:28 +00:00
James Zern
01cac9f374 Merge "vp9_encodeframe: quiet a few integer sanitizer warnings" 2019-06-28 02:52:20 +00:00
James Zern
951e60c6fc 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
2019-06-27 16:01:11 -07:00
James Zern
d310bc12b7 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
2019-06-27 15:21:23 -07:00
Sai Deng
15511892a3 Merge "Change parameters for highbd tune=ssim" 2019-06-27 16:57:05 +00:00
Angie Chiang
184071fe9f Integerize vp9_full_pixel_diamond_new
Change-Id: I833c82fb910c8274b5a237e26fe0dcda7def9796
2019-06-26 16:28:46 -07:00
Angie Chiang
29382c1a06 Integerize vp9_refining_search_sad_new
Change-Id: I05a39165b9910262eca8fdf644ae982b80d309b4
2019-06-26 16:18:01 -07:00
Angie Chiang
6421d1359b Integerize diamond_search_sad_new()
Change-Id: Ie044bb01e26d871bace309ae1f45aa880ea1de62
2019-06-26 16:02:00 -07:00
Angie Chiang
295fd37912 Refactor vp9_full_pixel_diamond_new
Remove redundant bestsme assignments

Change-Id: I565f477f51c2a13369ebd1532eed05115e774238
2019-06-26 15:46:43 -07:00
Angie Chiang
30e7f9d856 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
2019-06-26 15:09:59 -07:00
Angie Chiang
1a363a8cae 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
2019-06-26 15:09:59 -07:00
Angie Chiang
5ab6039987 Let full_pixel_exhaustive_new return int64_t
Change-Id: I2c7cd7363a1b61b7aa7c35fd9f4e6b926b67418f
2019-06-26 15:09:52 -07:00
Dan Zhu
7e4b8a86b2 script to compact frames to y4m video
Change-Id: I2d8c3ccf49c172a54181aeb2e2b8169bf5402456
2019-06-24 15:34:44 -07:00
Dan Zhu
729da3df8d add output of frame info
Change-Id: I70d750be13d9a654d1f21d7809d8d44c491ae477
2019-06-24 14:46:28 -07:00
Dan Zhu
a709b69443 Add Ray Tracing
Add braces

Change-Id: I5355ccd8f745dfbd4fe3923a81aa3c9f8fda07b3
2019-06-24 14:44:10 -07:00
sdeng
cb27e6ad05 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
2019-06-24 09:21:28 -07:00
Deepa K G
affd9921e4 Set up frame contexts based on frame type
In single layer ARF case, use different frame
contexts for KF, ARF/GF, LF, OVERLAY update types.

Change-Id: Iebb7f9bb430e483dea1e75fc122b9b67645ce804
2019-06-24 18:16:53 +05:30
Deepa K G
bd775bfda9 Modify frame context index
Used separate frame contexts for non-boosted frames.
Adjusted the frame context index grouping for boosted
frames.

Change-Id: I7f6f83f53d46f66a83a6806c2b568bd833ce940d
2019-06-24 17:56:15 +05:30
Dan Zhu
20103ec897 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
2019-06-21 23:01:32 -07:00
Angie Chiang
99be4b1476 Integerize exhaustive_mesh_search_new()
Change-Id: Ia87ed60f46384e7bb7c5f55e9e28c406562a6f19
2019-06-21 11:36:36 -07:00