In the distant past this was used to distinguish between
armv5/6/7 targets when building the assembly files. The
project has not supported armv5/6 for a long time.
BUG=webm:1623
Change-Id: Ibec70e6624b651df0fa6f882ab6f201dc73e92e2
For row_mt=1, when mi->skip is set to 1 after parse based on
eobtotal for that partition, dqcoeff and eob need to be restored
as recon_partition doesn't increment these pointers for skip cases
Change-Id: I79711b0c175937aa6da3bba3b3bc053f91a8ce35
Move the setting to just before the inter-mode loop,
as for screen content the value may change due
to reset of segment.
No change in behavior except for screen-content.
Change-Id: I256795b581ceda352e57b88eba2e86aa18b0fdc4
In the calculation of boost for key frames, increase number
of frames to be scanned based on the content nature.
Change-Id: Ia4533966a00055d0bec712e073d82d4bd1dc715a
The frame next to scene cut frame does not usually have
a high second ref useage. Thus the sec ref useage of the
frame next to scene cut frame is tested against a
threshold for scene cut detection.
With this change scene cut detection is improved for
contents where genuine scene cuts were being missed.
Change-Id: I11190d848fa1c1dcd63aab81da799354371e2a30
Reduce the number of group_idx initialization.
Initialize the center to the median of the data group.
Change-Id: Ie16150610480bf54a6b5e2bc048ba1e940bef10f
Add speed feature for real-time to always force
SMOOTH filter for subpel motion. Can be useful in some
cases for noisy content or high motion at low bitrate.
Also some speedup in avoiding the checking of two filters.
Keep it off always for now.
Change-Id: I843d79aaddef75f9c6ded60906cc75c279a6e37a
This CL removes the extra floating math in tune=psnr, I will add
clear_system_state calls in tune=ssim in the next cl.
Change-Id: I7cdd4854b2b8e7e7f872f097c5535f10c80cfe0d
fixes a deadlock with an odd number of threads that go from < number of
tiles to >. the previous calculations were out of sync so going from
e.g., 8 tiles to 2 with 3 threads would result in scheduling only 2
workers, but thread_loop_filter_rows() would expect 3.
BUG=webm:1618
Change-Id: I78c967a8c3c927d929e13c949808a5ef443ebacb
The Wiener variance output has been sorted prior to the clustering,
which allows to directly use the uniform sampling as the initial
center points. It avoids empty cluster situations when the samples
are heavily distributed at two far ends and leave the middle empty.
Change-Id: I159fbfa6bbb4aafd19411fd005666d144cca30fc
Implementation with some tuning of the paper:
C. Yeo, H. L. Tan, and Y. H. Tan, "On rate distortion optimization using
SSIM," Circuits and Systems for Video Technology, IEEE Transactions on,
vol. 23, no. 7, pp. 1170-1181, 2013.
Test results:
avg_psnr ssim ms-ssim
lowres 2.516 -2.622 -2.450
midres 2.312 -3.062 -3.882
hdres 2.292 -4.293 -5.246
The encoding time is about the same as the baseline.
Change-Id: Ida2c380ade79b6c15cf12b88bf090069da8765d8
With switching to clang-7.0.1 we got new warnings. With this change the
warnings are back to 0 for all configurations (excluding warnings in
third_party)
BUG=webm:1616
Change-Id: I25ceb592c425394e8f14d333fb5680144f892213