]> granicus.if.org Git - libvpx/commit
Introduce the ml_var_partition_pruning feature
authorHui Su <huisu@google.com>
Sat, 29 Sep 2018 21:48:56 +0000 (14:48 -0700)
committerHui Su <huisu@google.com>
Mon, 1 Oct 2018 20:48:39 +0000 (13:48 -0700)
commit6b7848d4c9016efbfbc9529df008ffde0e15b7cc
tree538900b443d8ead7b651962f1c060e836160bc33
parent2beb5c9f91e7166c2c9d01c94bf84767815121e4
Introduce the ml_var_partition_pruning feature

Add the ml_var_partition_pruning encoder speed feature that
uses a neural net model to prune partition-none and partition-split
search. The model uses prediction residue variance and quantization
step size as input features.

Encoding speed gain for speed 0(tested over 20 hdres clips):
            QP=30    QP=40
average     17.7%    18.3%
max        24.46%    26.6%

Coding loss:
lowres 0.071%;  midres 0.098%;  hdres 0.163%

Currently it is enabled for speed 0 low-bit depth only. It needs to be
tuned for other settings.

Change-Id: Ifb7417daa6bb6e7c97bb676269ce54ab0dc7b8c8
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_partition_models.h
vp9/encoder/vp9_speed_features.c
vp9/encoder/vp9_speed_features.h