]> granicus.if.org Git - libvpx/commit
Refactor rd_pick_partition for parameter control
authorJingning Han <jingning@google.com>
Tue, 20 Aug 2013 21:34:17 +0000 (14:34 -0700)
committerJingning Han <jingning@google.com>
Thu, 22 Aug 2013 19:36:02 +0000 (12:36 -0700)
commit01a37177d167f2f837ae6d2de03a17511d1b38c9
tree2ad399f719b712f8a13a199d21ef3522513a25a4
parent8b810c7a78cbaac715cc516973de2bfdbf4067f9
Refactor rd_pick_partition for parameter control

This commit changes the partition search order of superblocks from
{SPLIT, NONE, HORZ, VERT} to {NONE, SPLIT, HORZ, VERT} for
consistency with that of sub8x8 partition search. It enable the use
of early termination in partition search for all block sizes.

For ped_area_1080p 50 frames coded at 4000 kbps, it makes the runtime
goes down from 844305ms -> 818003ms (3% speed-up) at speed 0.

This will further move towards making the in-search partition types
configurable, hence unifying various speed-up approaches.

Some speed 1 and 2 features are turned off during the refactoring
process, including:
disable_split_var_thresh
using_small_partition_info

Stricter constraints are applied to use_square_partition_only for
right/bottom boundary blocks. Will bring back/refine these features
subsequently. At this point, it makes derf set at speed 1 about
0.45% higher in compression performance, and 9% down in run-time.

Change-Id: I3db9f9d1d1a0d6cbe2e50e49bd9eda1cf705f37c
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_onyx_if.c