[svn] / trunk / xvidcore / src / plugins / plugin_lumimasking.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/plugins/plugin_lumimasking.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1398, Fri Apr 2 21:29:21 2004 UTC revision 1399, Fri Apr 2 22:20:31 2004 UTC
# Line 20  Line 20 
20   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
21   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22   *   *
23   * $Id: plugin_lumimasking.c,v 1.2 2004-03-22 22:36:24 edgomez Exp $   * $Id: plugin_lumimasking.c,v 1.3 2004-04-02 22:20:31 suxen_drol Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 203  Line 203 
203          /* Normalize the global luminance accumulator */          /* Normalize the global luminance accumulator */
204          global /= data->mb_width*data->mb_height;          global /= data->mb_width*data->mb_height;
205    
206          DarkThres = DarkThres*global/127.0;          DarkThres = DarkThres*global/127.0f;
207          BrightThres = BrightThres*global/127.0;          BrightThres = BrightThres*global/127.0f;
208    
209    
210          /* Apply luminance masking only to frames where the global luminance is          /* Apply luminance masking only to frames where the global luminance is

Legend:
Removed from v.1398  
changed lines
  Added in v.1399

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4