- 27 Feb, 2014 - 7 commits
-
-
Deb Mukherjee authored
Instead of using source variance, this patch uses variance of the frame difference between the source and the current frame to make fixed size partition decisions. Also disables adjusting partitioning if variance based or fixed size partitioning is used. The latter change improves the speed substantially for speed 6, so that speed 7 is now less than 3x the speed of speed 6. But speed 6 is 48% better in psnr on the rtc set compared to speed 7. As compared to speed 5, speed 6 is -37% in psnr at about 2.5x the speed, speed 7 is -55% in psnr at about 7x the speed. Change-Id: If61d80431d3e04ed304ac05832e773cdb2c0a578
-
James Zern authored
mismatch was introduced here: abe21e42 Removing redundant vp9_clear_system_state() call. Change-Id: I66f945c1ce385dddfdefa9f517f295dbdd01d286
-
Dmitry Kovalev authored
Change-Id: I7b9738a7113c0c4687e5d320581ff69d98a8b271
-
Dmitry Kovalev authored
Change-Id: I527c42fa776c772c26c027a47f3dada129f5c33e
-
Alex Converse authored
There was a bug in the previous code that if GOLDEN was better than LAST neither would be used. LAST would get turned off due to superior GOLDEN quality then all GOLDEN modes would get skipped. Change-Id: I173f3720451707dab7b2cbbe8b8e6a047089bde7
-
Dmitry Kovalev authored
Removing all copies of identical vp8_mse2psnr/vp9_mse2psnr functions. Using vpx_sse_to_psnr() instead in all places. Change-Id: I15beef9834d43d8fc8a8a7a2d1fc5de3d658fed8
-
Dmitry Kovalev authored
Change-Id: I197670a405f7c2e7796424faa187a61081db8567
-
- 26 Feb, 2014 - 13 commits
-
-
Dmitry Kovalev authored
Change-Id: I02f097fd7c4c787035f03114ddde5b04b2640b39
-
Dmitry Kovalev authored
Usage of encode_b_args is unnecessary because encode_block_pass1() doesn't use them. That's why optimize_init_b() call is also not required. Change-Id: Ib6cfe4916c2ca85749c90bb0adcba6fea592f9ac
-
Minghai Shang authored
Change-Id: Ia7677fb436667bc4f76db71f65e4784f433f7826
-
Jingning Han authored
As Yunqing suggested, this commit makes non-RD mode decision always run sub-pixel motion search in NEWMV mode. The compression performance gains becomes fairly significant after we enabled sub-pixel accuracy motion compensated prediction to calculate SAD cost. For test sequences pedestrian_area at 1080p and vidyo1 at 720p, the runtime goes slower by 5%. For rtc test set, the compression performance is improved by 21.20%. Change-Id: I38cbfdd5c53d79423e1fafb3154f8ddeed63bbf0
-
Yaowu Xu authored
The commit change to use partitions sizes directly from last frame for frames directly where last frame selects partitions sizes based on coding efficiency. On --rt --cpu-used=-5, the change hurts compression by 4% but reduces encoding time by ~20% Change-Id: Ia68665e5c8489b7bfcf5fac7768332fba88928e6
-
Yaowu Xu authored
for inter and intra respectively Change-Id: I7764d3af780072f7bd7bde201f454dcdd2816e76
-
Jim Bankoski authored
Change-Id: Idd800fae21508699e9d973134817493763a65042
-
Dmitry Kovalev authored
This function is already called in vp9_initialize_rd_consts(). Change-Id: I88c0484a7274660287fa25fdf5cdb721d3284e01
-
Dmitry Kovalev authored
Change-Id: Ia79f975f54829b8ae6b568ca5c05f4f1f541706f
-
Dmitry Kovalev authored
Change-Id: Ic7553a037493107c33cfb9815178a54095a289ec
-
Dmitry Kovalev authored
Change-Id: If859c9d58a8fe3f478d409b9e9ca59bcee8fd35d
-
Jingning Han authored
This commit builds the actual prediction block in sub-pixel accuracy and uses which to calculate SAD for non-RD mode decision. In the trail run on pedestrian_area at 1080p, rtc speed -7 runtime goes from 23495 ms -> 25107 ms (7% slower). The compression performance is improved by 20.57% for rtc test set. Change-Id: I438589cd103fe99f1b50c2d1939ac6ca43fa0157
-
- 25 Feb, 2014 - 5 commits
-
-
Jingning Han authored
Use a set of dedicated variables to buffer the current best mode in non-RD mode decision. This allows to use mode_info for more complicated test in the non-RD process. Change-Id: I6024c9feb0662afd3eb29f7017f7b5a5446f303f
-
Alex Converse authored
The largest value is 13358. Change-Id: I7a6b024a92b6250933d9ebc0cad066b966c96bd4
-
Deb Mukherjee authored
Adds a method for determining a fixed size partition based on variance of a 64x64 SB. This method is added to rtc speed 6. Also fixes a bug in rtc_use_partition() and includes some refactoring related to partitioning search, and some cosmetics. Currently compared to speed 5, the coding efficiency of speed 6 is -19% and that of speed 7 is -55%, in cbr mode. Change-Id: I057e04125a8b765906bb7d4bf7a36d1e575de7c6
-
Jim Bankoski authored
Change-Id: I7e96d6199f882d35357f6a9a08c04ad0af5dc26e
-
Jim Bankoski authored
The optimizer did something funny with the code around line 1412. Before the call to encode_sb split_dist was set properly but after it was adjusted and converted to a negative. https://code.google.com/p/webm/issues/detail?id=714 Change-Id: I9a7631d5325ade2dc28c1030653a23eecec8721b
-
- 24 Feb, 2014 - 4 commits
-
-
Yunqing Wang authored
If sf->disable_split_mask is DISABLE_ALL_SPLIT, disable sf->adaptive_pred_interp_filter to avoid unnecessary operations. Change-Id: Icb59174b2f4e9a3c3c16a696deb8018e5bd999eb
-
Deb Mukherjee authored
Moves the existing speed 6 to speed 7 and adds an intermediate level 6 which is roughly in between speeds 6 and 7 in both speed and coding efficiency. Also includes some minor fixes/adjustments. Change-Id: I98befc4d82d750e79fe426c457c4a2571f6b6cc7
-
Adrian Grange authored
If show_existing_frame indicates that the decoder should display an existing (previously decoded) frame, add a check to make sure that the signaled buffer does contain a valid decoded frame. Change-Id: Iac8c686b321827414d69a3f2d0467566911bcba2
-
Yaowu Xu authored
for ABSDATA mode, so segment loop filter level always fall in valid range for both Absolute and delta modes. Change-Id: If90df3411479533dbdab63f8ae088d2f5dd174a9
-
- 22 Feb, 2014 - 3 commits
-
-
Yaowu Xu authored
The qindex for a segment was not clamped in ABSDATA mode, which may cause invalid memory access if an ill-formed stream has a negative value in ABSDATA mode. This commit added clamp to make sure qindex for a segment always fall into valid range. Change-Id: I0a74d00f4ef40aec7edaeca1d03c8645e23ab08c
-
Yaowu Xu authored
Change-Id: I5b3918441f63ceb7889dcf546e9a2d781be4a3cb
-
Jingning Han authored
Skip coefficient cost update in non-RD mode decision setting. Allow periodical mode and motion vector cost update. Currently every other 8 frames. The increment runtime is a constant number. Hence more visible for CIF resolution, while negligible for 1080p. Speed -6 compression performance for rtc set is improved by 4.5%. Change-Id: I27e0ad7c521fcc2af1d825582cbdd1a27ac4c323
-
- 21 Feb, 2014 - 4 commits
-
-
Jingning Han authored
This commit makes a refactoring of the rtc_use_partition. It allows the encoder to take a preferred block size for non-RD mode decision. The boundary blocks are handled such that smaller block sizes that fit in the boundary size will be used instread. In rtc mode, the coding performance of speed -6 for pedestrian_1080p goes from 158980 b/f, 38.934 dB, 22721 ms to 159008 b/f, 40.064 dB, 23721 ms. For rtc set, the speed -6 compression performance is improved by 26%. Still about 2dB behind speed -5 at this point. Change-Id: If0944f0880eaf1ad340bc325d97cea8d0f9dd53f
-
Alex Converse authored
Change-Id: I8cc38fdef6a2a0968af8dfe15e7c2b3c46c531ea
-
Alex Converse authored
* Reduce the number of short cirtcuit checks by pre-computing and combining like checks. * Postpone non-trivial initializations until after the shortcircuits are evaluated. * Add some consts and const pointers. No change to the actual results of the call or output of the encoder. Change-Id: Ie44c4702aec6e08cfe0b8b0ba3cd6b57206478d1
-
Jingning Han authored
This commit enables the use of DC, vertical, and horizontal intra prediction mode in rtc non-RD mode decision. When the best cost value of inter modes is above a given threshold, the encoder runs the above three intra modes and selects the one that has minimum prediction residual in terms of SAD. This together with recent changes on non-RD mode decision and coding control improves compression performance of speed -6 by derf 91% yt 61% hd 46% stdhd 52% In terms of encoding speed, it is about 3 times faster than speed -5. Change-Id: I6b483bfd0307e6482bb22a6676ae4e25a52b1310
-
- 20 Feb, 2014 - 4 commits
-
-
Jingning Han authored
When non-RD coding decision is used in rtc mode, the alt reference is not used for inter frame prediction. This commit disabled alt ref option whenever speed -6 is used. Change-Id: I0b33ca03661de1db2d9bef1bcbff848cd4c9396f
-
Yaowu Xu authored
Change-Id: I8eeec70a7d4403243762f14d0b560792801645e8
-
Tom Finegan authored
Cast result of round() to int. Change-Id: Ib708fddfadde4c765001ce9723fda113fd0f4bf6
-
Tom Finegan authored
Cast result of round() to int. Change-Id: I4982886ad4e7657b4c40d21bd850d31690a68c28
-