]> granicus.if.org Git - libvpx/commit
CVBR command line option.
authorpaulwilkins <paulwilkins@google.com>
Tue, 10 Oct 2017 18:49:59 +0000 (19:49 +0100)
committerpaulwilkins <paulwilkins@google.com>
Wed, 8 Nov 2017 10:41:04 +0000 (10:41 +0000)
commit93e83fd7cfd7322da61960e8e8e5a5685b5245fb
treea4accda42ae9dd181445fe7000b2f6a2e95b17da
parent6fbc354c97ca45754a76674dba5f6b43c2b0c15a
CVBR command line option.

Added command line control of Corpus VBR.

The new corpus vbr mode is a variant of standard
VBR (end-usage=0) where the complexity distribution
mid point is passed in rather than calculated for a specific
clip or chunk.

The new variant is enabled by setting a new command line
parameter --corpus-complexity to a zero value. Omitting
this parameter or setting it to 0 will cause the codec to use
standard vbr mode.

The correct value for a given corpus needs to be derived
experimentally using a training set such that the average
rate for the corpus is close to the target value.

For example our using our low res test set with upper and lower
vbr limits of 50%-150% and a corpus complexity value of 650
gives a similar average data rate across the set to using standard
vbr. However, with the corpus mode easier clips will be allocated
fewer bits and harder clips more bits rather than having the same
rate target for all.

Change-Id: I03f0fc8c6fb0ee32dc03720fea6a3f1949118589
vp8/vp8_cx_iface.c
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_encoder.h
vp9/encoder/vp9_firstpass.c
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_ratectrl.h
vp9/encoder/vp9_speed_features.c
vp9/vp9_cx_iface.c
vpx/vpx_encoder.h
vpxenc.c