summaryrefslogtreecommitdiff
path: root/vp9/encoder
AgeCommit message (Collapse)Author
2014-02-27Merge "vp9_encodemv.h: fix function prototype"Yaowu Xu
2014-02-26vp9_encodemv.h: fix function prototypeJames Zern
mismatch was introduced here: abe21e4 Removing redundant vp9_clear_system_state() call. Change-Id: I66f945c1ce385dddfdefa9f517f295dbdd01d286
2014-02-26Merge "remove ioc problem with rdcost calculation"James Zern
2014-02-26Merge "Don't let GOLDEN_FRAME turn off LAST_FRAME as a reference when ↵Alex Converse
GOLDEN_FRAME is disabled."
2014-02-26Merge "Adding vpx_sse_to_psnr() function."Dmitry Kovalev
2014-02-26Merge "Cleaning up cost_coeffs()."Dmitry Kovalev
2014-02-26Don't let GOLDEN_FRAME turn off LAST_FRAME as a reference when GOLDEN_FRAME ↵Alex Converse
is disabled. 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
2014-02-26Merge "Reduce the frequency of partition size adjsutment"Yaowu Xu
2014-02-26Adding vpx_sse_to_psnr() function.Dmitry Kovalev
Removing all copies of identical vp8_mse2psnr/vp9_mse2psnr functions. Using vpx_sse_to_psnr() instead in all places. Change-Id: I15beef9834d43d8fc8a8a7a2d1fc5de3d658fed8
2014-02-26Merge "Cleaning up vp9_encodemb.c file."Dmitry Kovalev
2014-02-26Cleaning up cost_coeffs().Dmitry Kovalev
Change-Id: I02f097fd7c4c787035f03114ddde5b04b2640b39
2014-02-26Cleaning up vp9_encodemb.c file.Dmitry Kovalev
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
2014-02-26Merge "Cleaning up vp9_rdopt.c."Dmitry Kovalev
2014-02-26Reduce the frequency of partition size adjsutmentYaowu Xu
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
2014-02-26Separate super_block_yrd() into two functionsYaowu Xu
for inter and intra respectively Change-Id: I7764d3af780072f7bd7bde201f454dcdd2816e76
2014-02-26Merge "Use sub-pixel accuracy prediction non-RD mode"Jingning Han
2014-02-26Merge "Using clamp() for active_{best, worst}_quality."Dmitry Kovalev
2014-02-26Merge "Use dedicated variables to store the best mode"Jingning Han
2014-02-26Merge "Removing redundant vp9_clear_system_state() call."Dmitry Kovalev
2014-02-26Merge "Removing vp9_optimize_b() function."Dmitry Kovalev
2014-02-26remove ioc problem with rdcost calculationJim Bankoski
Change-Id: Idd800fae21508699e9d973134817493763a65042
2014-02-25Removing redundant vp9_clear_system_state() call.Dmitry Kovalev
This function is already called in vp9_initialize_rd_consts(). Change-Id: I88c0484a7274660287fa25fdf5cdb721d3284e01
2014-02-25Using clamp() for active_{best, worst}_quality.Dmitry Kovalev
Change-Id: Ia79f975f54829b8ae6b568ca5c05f4f1f541706f
2014-02-25Cleaning up vp9_rdopt.c.Dmitry Kovalev
Change-Id: Ic7553a037493107c33cfb9815178a54095a289ec
2014-02-25Removing vp9_optimize_b() function.Dmitry Kovalev
Change-Id: If859c9d58a8fe3f478d409b9e9ca59bcee8fd35d
2014-02-25Use sub-pixel accuracy prediction non-RD modeJingning Han
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
2014-02-25Merge "Shrink dct_value_cost[] to int16_t."Alex Converse
2014-02-25Use dedicated variables to store the best modeJingning Han
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
2014-02-25Merge "Adds variance based fixed size partitioning"Deb Mukherjee
2014-02-25Shrink dct_value_cost[] to int16_t.Alex Converse
The largest value is 13358. Change-Id: I7a6b024a92b6250933d9ebc0cad066b966c96bd4
2014-02-25Adds variance based fixed size partitioningDeb Mukherjee
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
2014-02-25Merge "Using vp9_subtract_plane instead of vp9_subtract_{sb, sby, sbuv}."Dmitry Kovalev
2014-02-25Merge "Changing vp9_full_search_sad{, x3, x8} signatures."Dmitry Kovalev
2014-02-25Merge "Cleaning up vp9_refining_search_sad() function."Dmitry Kovalev
2014-02-25Merge "Disable adaptive pred filter for non-split mode"Yunqing Wang
2014-02-25Merge changes I7e96d619,I9a7631d5Yaowu Xu
* changes: normalize int64_t high value to INT64_MAX resolve issue with arm code failing unit test
2014-02-25normalize int64_t high value to INT64_MAXJim Bankoski
Change-Id: I7e96d6199f882d35357f6a9a08c04ad0af5dc26e
2014-02-24resolve issue with arm code failing unit testJim Bankoski
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
2014-02-24Disable adaptive pred filter for non-split modeYunqing Wang
If sf->disable_split_mask is DISABLE_ALL_SPLIT, disable sf->adaptive_pred_interp_filter to avoid unnecessary operations. Change-Id: Icb59174b2f4e9a3c3c16a696deb8018e5bd999eb
2014-02-24Adds an intermediate speed level for rtcDeb Mukherjee
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
2014-02-23Merge "Combining if-else branches from different conditions."Dmitry Kovalev
2014-02-22Merge "Periodically update mode and mv costs"Jingning Han
2014-02-21Changed a constant array to static const typeYaowu Xu
Change-Id: I5b3918441f63ceb7889dcf546e9a2d781be4a3cb
2014-02-21Merge "Remove an unused variable"Yaowu Xu
2014-02-21Periodically update mode and mv costsJingning Han
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
2014-02-21Merge "Refactor selected partition size coding for rtc"Jingning Han
2014-02-21Refactor selected partition size coding for rtcJingning Han
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
2014-02-21Merge "vp9_rd_pick_inter_mode_sb() reorganization"Yaowu Xu
2014-02-20vp9_rd_pick_inter_mode_sb() reorganizationAlex Converse
* 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
2014-02-20Enable reduced set of intra modes in rtc codingJingning Han
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