From 3df55cebb25d18f75f7711f84d9786ac2ce33b72 Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Wed, 20 Jun 2018 13:15:10 -0700 Subject: 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 --- vp9/encoder/vp9_rd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vp9/encoder/vp9_rd.h') 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); -- cgit v1.2.3