diff options
author | Jingning Han <jingning@google.com> | 2018-06-20 13:15:10 -0700 |
---|---|---|
committer | Jingning Han <jingning@google.com> | 2018-06-29 09:15:55 -0700 |
commit | 3df55cebb25d18f75f7711f84d9786ac2ce33b72 (patch) | |
tree | a1c0d8da1295c5f3b64c6a545b8cc93b4abbfc53 /vp9/encoder/vp9_rd.h | |
parent | a2d35b234f176316fb978d8c7099a003ddd4e8ab (diff) | |
download | libvpx-3df55cebb25d18f75f7711f84d9786ac2ce33b72.tar libvpx-3df55cebb25d18f75f7711f84d9786ac2ce33b72.tar.gz libvpx-3df55cebb25d18f75f7711f84d9786ac2ce33b72.tar.bz2 libvpx-3df55cebb25d18f75f7711f84d9786ac2ce33b72.zip |
Exploit the spatial variance in temporal dependency model
Adapt the Lagrangian multipler based on the spatial variance in
the temporal dependency model. The functionality is disabled by
default. To turn on, set enable_tpl_model to 1.
Change-Id: I1b50606d9e2c8eb9c790c49eacc12c00d3d7c211
Diffstat (limited to 'vp9/encoder/vp9_rd.h')
-rw-r--r-- | vp9/encoder/vp9_rd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_rd.h b/vp9/encoder/vp9_rd.h index 8201bba70..919f74ebd 100644 --- a/vp9/encoder/vp9_rd.h +++ b/vp9/encoder/vp9_rd.h @@ -115,6 +115,7 @@ typedef struct RD_OPT { #endif int RDMULT; int RDDIV; + double r0; } RD_OPT; typedef struct RD_COST { @@ -138,6 +139,8 @@ int64_t vp9_compute_rd_mult_based_on_qindex(const struct VP9_COMP *cpi, int vp9_compute_rd_mult(const struct VP9_COMP *cpi, int qindex); +int vp9_get_adaptive_rdmult(const struct VP9_COMP *cpi, double beta); + void vp9_initialize_rd_consts(struct VP9_COMP *cpi); void vp9_initialize_me_consts(struct VP9_COMP *cpi, MACROBLOCK *x, int qindex); |