vpx/vp8/encoder/x86
Yunqing Wang 64075c9b01 Encoder denoiser performance improvement
The denoiser function was modified to reduce the computational
complexity.

1. The denoiser c function modification:
The original implementation calculated pixel's filter_coefficient
based on the pixel value difference between current raw frame and last
denoised raw frame, and stored them in lookup tables. For each pixel c,
find its coefficient using
    filter_coefficient[c] = LUT[abs_diff[c]];
and then apply filtering operation for the pixel.

The denoising filter costed about 12% of encoding time when it was
turned on, and half of the time was spent on finding coefficients in
lookup tables. In order to simplify the process, a short cut was taken.
The pixel adjustments vs. pixel diff value were calculated ahead of time.
    adjustment = filtered_value - current_raw
               = (filter_coefficient * diff + 128) >> 8

The adjustment vs. diff curve becomes flat very quick when diff increases.
This allowed us to use only several levels to get a close approximation
of the curve. Following the denoiser algorithm, the adjustments are
further modified according to how big the motion magnitude is.

2. The sse2 function was rewritten.

This change made denoiser filter function 3x faster, and improved the
encoder performance by 7% ~ 10% with the denoiser on.

Change-Id: I93a4308963b8e80c7307f96ffa8b8c667425bf50
2012-08-31 13:48:13 -07:00
..
dct_mmx.asm Make libvpx Chromium build friendly 2012-05-23 18:15:05 -07:00
dct_sse2.asm Make libvpx Chromium build friendly 2012-05-23 18:15:05 -07:00
denoising_sse2.c Encoder denoiser performance improvement 2012-08-31 13:48:13 -07:00
encodeopt.asm Make libvpx Chromium build friendly 2012-05-23 18:15:05 -07:00
fwalsh_sse2.asm Make libvpx Chromium build friendly 2012-05-23 18:15:05 -07:00
quantize_mmx.asm Make libvpx Chromium build friendly 2012-05-23 18:15:05 -07:00
quantize_sse2.asm Make libvpx Chromium build friendly 2012-05-23 18:15:05 -07:00
quantize_sse4.asm Make libvpx Chromium build friendly 2012-05-23 18:15:05 -07:00
quantize_ssse3.asm Make libvpx Chromium build friendly 2012-05-23 18:15:05 -07:00
ssim_opt.asm Make libvpx Chromium build friendly 2012-05-23 18:15:05 -07:00
subtract_mmx.asm Make libvpx Chromium build friendly 2012-05-23 18:15:05 -07:00
subtract_sse2.asm Make libvpx Chromium build friendly 2012-05-23 18:15:05 -07:00
temporal_filter_apply_sse2.asm Make libvpx Chromium build friendly 2012-05-23 18:15:05 -07:00
vp8_enc_stubs_mmx.c Makes all global data in entropy.c const 2012-04-17 12:12:58 +03:00
vp8_enc_stubs_sse2.c RTCD: finalize removal of old RTCD system 2012-01-30 12:10:48 -08:00