From b4ad9b5d5052b54d74c98c2ee71d5236c39a1537 Mon Sep 17 00:00:00 2001 From: Paul Wilkins Date: Tue, 6 Dec 2011 14:48:52 +0000 Subject: Some further QIndex issues with extended Q Resolved or factored out some further issues with Q index. Put in a 3rd order polynomial instead of less accurate power function as the best fit on gf and kf boost adjustment. Added avg_q value to use instead of ni_av_qi. Compute segment delta Q values based on avg_q. Fixed bug in adjust_maxq_qrange(). The extended range Q on the derf set, using standard data rates (which do not extend high enough to get big benefits) still show a shortfall of between 0.5 and 1% though so there would appear to be further issues that need to be tracked down. Change-Id: Icfd49b9f401906ba487ef1bef7d397048295d959 --- vp8/encoder/onyx_int.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vp8/encoder/onyx_int.h') diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h index 160f22d05..38025cad5 100644 --- a/vp8/encoder/onyx_int.h +++ b/vp8/encoder/onyx_int.h @@ -391,6 +391,8 @@ typedef struct VP8_COMP int ni_tot_qi; int ni_frames; int avg_frame_qindex; + double tot_q; + double avg_q; int zbin_over_quant; int zbin_mode_boost; -- cgit v1.2.3