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

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

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

revision 1.1.2.6, Wed Nov 19 15:42:38 2003 UTC revision 1.5, Sat Apr 15 04:17:02 2006 UTC
# 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
# Line 227  Line 227 
227                                                                                           data->dquant,                                                                                           data->dquant,
228                                                                                           data->mb_width*data->mb_height,                                                                                           data->mb_width*data->mb_height,
229                                                                                           data->quant,                                                                                           data->quant,
230                                                                                           data->quant + data->quant/2);                                                                                           MAX(2,data->quant + data->quant/2));
231    
232           /* Plugin job finished */           /* Plugin job finished */
233           return(0);           return(0);

Legend:
Removed from v.1.1.2.6  
changed lines
  Added in v.1.5

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