Searched defs:peak (Results 1 - 8 of 8) sorted by relevance

/external/libvpx/libvpx/vpx/src/
H A Dvpx_psnr.c17 double vpx_sse_to_psnr(double samples, double peak, double sse) { argument
19 const double psnr = 10.0 * log10(samples * peak * peak / sse);
/external/freetype/src/base/
H A Dftbbox.c255 FT_Pos peak = 0; local
259 /* This function finds a peak of a cubic segment if it is above 0 */
266 /* for the peak to exist and avoids undefined FT_MSB. */
292 /* for a peak to exist above 0, the cubic segment must have */
323 peak = q1;
328 peak = q4;
334 peak >>= shift;
336 peak <<= -shift;
338 return peak;
/external/pdfium/third_party/freetype/src/base/
H A Dftbbox.c255 FT_Pos peak = 0; local
258 /* This function finds a peak of a cubic segment if it is above 0 */
265 /* for the peak to exist and avoids undefined FT_MSB. */
289 /* for a peak to exist above 0, the cubic segment must have */
320 peak = q1;
325 peak = q4;
331 peak >>= shift;
333 peak <<= -shift;
335 return peak;
/external/libvpx/libvpx/
H A Dtools_common.c277 double sse_to_psnr(double samples, double peak, double sse) { argument
281 const double psnr = 10.0 * log10(samples * peak * peak / sse);
H A Dvpxenc.c1789 static void show_psnr(struct stream_state *stream, double peak) { argument
1797 ovpsnr = sse_to_psnr((double)stream->psnr_samples_total, peak,
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dpitch_estimator.c142 int ind1, ind2, peaks_ind, peak, max_ind; local
162 peak = 0;
281 /* threshold value to qualify as a peak */
294 /* found a peak; store index into matrix */
310 /* found a peak; store index into matrix */
320 /* examine each peak */
323 peak = peaks[k];
325 /* compute four interpolated values around current peak */
326 IntrepolFilter(&CorrSurfPtr1[peak - (PITCH_LAG_SPAN2+5)], &intrp_a);
327 IntrepolFilter(&CorrSurfPtr1[peak
[all...]
/external/aac/libAACenc/src/
H A Dmetadata_compressor.cpp184 FIXP_DBL prevPeak[2]; /*!< max peak of previous block (stereo/mono)*/
660 FIXP_DBL peak[2]; local
875 /* find peak level */
876 peak[0] = peak[1] = FL2FXCONST_DBL(0.f);
886 peak[0] = fixMax(peak[0], FX_PCM2FX_DBL(maxSample)>>DOWNMIX_SHIFT);
902 peak[0] = fixMax(peak[0], fixp_abs(tmp));
915 peak[
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_encoder.c1942 const double peak = (double)((1 << cpi->oxcf.input_bit_depth) - 1); local
1946 vpx_sse_to_psnr((double)cpi->total_samples, peak,
1949 vpx_sse_to_psnr((double)cpi->totalp_samples, peak,
1980 vpx_sse_to_psnr((double)cpi->totalp_samples, peak,
2252 static const double peak = 255.0; local
2274 psnr->psnr[1 + i] = vpx_sse_to_psnr(samples, peak, (double)sse);
2282 psnr->psnr[0] = vpx_sse_to_psnr((double)total_samples, peak,
2303 const double peak = (double)((1 << in_bit_depth) - 1); local
2327 psnr->psnr[1 + i] = vpx_sse_to_psnr(samples, peak, (double)sse);
2335 psnr->psnr[0] = vpx_sse_to_psnr((double)total_samples, peak,
4504 const double peak = (double)((1 << cpi->oxcf.input_bit_depth) - 1); local
[all...]

Completed in 1159 milliseconds