[x264-devel] commit: Use a gaussian window for cplxblur (Jason Garrett-Glaser )
Gabriel Bouvigne
gabriel.bouvigne at joost.com
Thu Jun 5 17:49:14 CEST 2008
Jason Garrett-Glaser a écrit :
> That isn't in the middle of the block; it comes right after the
> declaration of ratecontrol_entropy_t *rcj.
Sorry, the problem is with the other upper gaussian_weight ;-)
> @@ -1801,15 +1801,17 @@ static int init_pass2( x264_t *h )
> weight *= 1 - pow( (float)rcj->i_count / rcc->nmb, 2 );
> if(weight < .0001)
> break;
> - weight_sum += weight;
> - cplx_sum += weight * (qscale2bits(rcj, 1) - rcj->misc_bits);
> + double gaussian_weight = weight * exp(-j*j/200.0);
--
Gabriel
More information about the x264-devel
mailing list