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
* 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
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
Add the following two functions:
exhaustive_mesh_search_multi_step
exhaustive_mesh_search_single_step
Change-Id: I02fac56a815b091beab2203afce560d7d29aad44
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)
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
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
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
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
this doesn't cause any overflow issues after:
11de1b838 Fix timestamp overflow issues
BUG=webm:701,webm:1614
Change-Id: I7e1cbfa4264d1661eb9a5baa2b2111a0899360f2
The functions are
diamond_search_sad_new()
vp9_full_pixel_diamond_new()
vp9_refining_search_sad_new()
Change-Id: Ied6fe98b8a1401c95f0488faf781c5cd5e8e0db6
Used separate frame contexts for non-boosted frames.
Adjusted the frame context index grouping for boosted
frames.
Change-Id: I7f6f83f53d46f66a83a6806c2b568bd833ce940d
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