Xvid-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]

[XviD-devel] Adaptive quantisation


To: xvid-devel@xxxxxxxx
Subject: [XviD-devel] Adaptive quantisation
From: Dirk Knop <dknop@xxxxxxx>
Date: Sun, 04 Aug 2002 16:23:06 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020731

Hi,

since the new luma masking algorithm was introduced, many people (users) complained that they didn't gain compressability.

In adapt_quant.c we find hardcoded values:

const float DarkThres = 0.25;
const float DarkAmpl = 7.0;
const float BrightThres = 4.0;
const float BrightAmpl = 5.0;


const char LowestVal = 10;

   const float GlobalBrightThres = 220.0;
   const float GlobalDarkThres = 20.0;
   float global_quant = 1.0;

I think we could add some of those values to the xvid api so we could "tweak" them via the encoding application ( I have to admit that I didn't look deeper into the sources yet to understand all of these values...).

Did anyone do some tests and has better values to replace these with, would be nice as so there wouldn't be the need for an API change.

Thanks,
Regards,
Koepi



[Prev in Thread] Current Thread [Next in Thread]