/external/webrtc/webrtc/common_video/libyuv/ |
D | libyuv_unittest.cc | 142 double psnr = 0.0; in TEST_F() local 158 psnr = I420PSNR(&orig_frame_, &res_i420_frame); in TEST_F() 159 EXPECT_EQ(48.0, psnr); in TEST_F() 178 psnr = I420PSNR(&orig_frame_, &res_i420_frame); in TEST_F() 181 EXPECT_GT(ceil(psnr), 44); in TEST_F() 189 psnr = I420PSNR(&orig_frame_, &res_i420_frame); in TEST_F() 190 EXPECT_EQ(48.0, psnr); in TEST_F() 214 psnr = I420PSNR(&orig_frame_, &res_i420_frame); in TEST_F() 215 EXPECT_EQ(48.0, psnr); in TEST_F() 229 psnr = I420PSNR(&orig_frame_, &res_i420_frame); in TEST_F() [all …]
|
D | webrtc_libyuv.cc | 304 double psnr = libyuv::I420Psnr(ref_frame->buffer(kYPlane), in I420PSNR() local 319 return (psnr > kPerfectPSNR) ? kPerfectPSNR : psnr; in I420PSNR()
|
/external/libyuv/files/util/ |
D | Makefile | 1 psnr: psnr.cc ssim.cc psnr_main.cc target 3 $(CXX) /arch:SSE2 /Ox /openmp psnr.cc ssim.cc psnr_main.cc 5 $(CXX) -msse2 -O3 -fopenmp -static -o psnr psnr.cc ssim.cc psnr_main.cc -Wl,--strip-all
|
D | compare.cc | 58 double psnr = libyuv::SumSquareErrorToPsnr(sum_square_err, size_min); in main() local 59 printf(", psnr %.2f\n", psnr); in main()
|
/external/opencv3/modules/videoio/test/ |
D | test_video_io.cpp | 203 double psnr = cvtest::PSNR(loaded, image); in ImageTest() local 204 if (psnr < thresDbell) in ImageTest() 206 …ntf(ts->LOG, "Reading image from file: too big difference (=%g) with fmt=%s\n", psnr, ext.c_str()); in ImageTest() 240 psnr = cvtest::PSNR(buf_loaded, image); in ImageTest() 242 if (psnr < thresDbell) in ImageTest() 244 …tf(ts->LOG, "Decoding image from memory: too small PSNR (=%gdb) with fmt=%s\n", psnr, ext.c_str()); in ImageTest() 321 double psnr = cvtest::PSNR(img1, img); in VideoTest() local 322 if (psnr < thresDbell) in VideoTest() 324 ts->printf(ts->LOG, "Too low frame %d psnr = %gdb\n", i, psnr); in VideoTest() 376 double psnr = cvtest::PSNR(loaded, image); in SpecificImageTest() local [all …]
|
/external/libyuv/files/ |
D | linux.mk | 63 all: libyuv.a convert cpuid psnr 73 psnr: util/psnr.cc 74 $(CXX) $(CXXFLAGS) -Iutil/ -o $@ util/psnr.cc util/psnr_main.cc util/ssim.cc 81 /bin/rm -f source/*.o *.ii *.s libyuv.a convert cpuid psnr
|
/external/libvpx/libvpx/vpx/src/ |
D | vpx_psnr.c | 19 const double psnr = 10.0 * log10(samples * peak * peak / sse); in vpx_sse_to_psnr() local 20 return psnr > MAX_PSNR ? MAX_PSNR : psnr; in vpx_sse_to_psnr()
|
D | svc_encodeframe.c | 544 cx_pkt->data.layer_psnr[i].psnr[0], in vpx_svc_encode() 545 cx_pkt->data.layer_psnr[i].psnr[1], in vpx_svc_encode() 546 cx_pkt->data.layer_psnr[i].psnr[2], in vpx_svc_encode() 547 cx_pkt->data.layer_psnr[i].psnr[3]); in vpx_svc_encode() 559 cx_pkt->data.layer_psnr[i].psnr[j]; in vpx_svc_encode() 600 double psnr[COMPONENTS]; in vpx_svc_dump_statistics() local 628 psnr[j] = calc_psnr(si->sse_sum[i][j] / scale[j]); in vpx_svc_dump_statistics() 632 "Layer %d Overall PSNR=[%2.3f, %2.3f, %2.3f, %2.3f]\n", i, psnr[0], in vpx_svc_dump_statistics() 633 psnr[1], psnr[2], psnr[3]); in vpx_svc_dump_statistics()
|
/external/libvpx/libvpx/test/ |
D | vp9_lossless_test.cc | 58 if (pkt->data.psnr.psnr[0] < psnr_) in PSNRPktHook() 59 psnr_= pkt->data.psnr.psnr[0]; in PSNRPktHook()
|
D | util.h | 39 double psnr = 100.0; in compute_psnr() local 41 psnr = 10 * log10(255.0 * 255.0 / mse); in compute_psnr() 43 return psnr; in compute_psnr()
|
D | cpu_speed_test.cc | 62 if (pkt->data.psnr.psnr[0] < min_psnr_) in PSNRPktHook() 63 min_psnr_ = pkt->data.psnr.psnr[0]; in PSNRPktHook()
|
D | vp9_end_to_end_test.cc | 119 psnr_ += pkt->data.psnr.psnr[0]; in PSNRPktHook() 179 const double psnr = GetAveragePsnr(); in TEST_P() local 180 EXPECT_GT(psnr, GetPsnrThreshold()); in TEST_P()
|
D | resize_test.cc | 225 frame0_psnr_ = pkt->data.psnr.psnr[0]; in PSNRPktHook() 226 EXPECT_NEAR(pkt->data.psnr.psnr[0], frame0_psnr_, 2.0); in PSNRPktHook() 472 frame0_psnr_ = pkt->data.psnr.psnr[0]; in PSNRPktHook() 473 EXPECT_NEAR(pkt->data.psnr.psnr[0], frame0_psnr_, 2.0); in PSNRPktHook()
|
D | encode_perf_test.cc | 109 if (pkt->data.psnr.psnr[0] < min_psnr_) { in PSNRPktHook() 110 min_psnr_= pkt->data.psnr.psnr[0]; in PSNRPktHook()
|
D | cq_test.cc | 79 psnr_ += pow(10.0, pkt->data.psnr.psnr[0] / 10.0); in PSNRPktHook()
|
/external/libyuv/files/source/ |
D | compare.cc | 187 double psnr; in SumSquareErrorToPsnr() local 190 psnr = 10.0 * log10(255.0 * 255.0 * mse); in SumSquareErrorToPsnr() 192 psnr = kMaxPsnr; // Limit to prevent divide by 0 in SumSquareErrorToPsnr() 195 if (psnr > kMaxPsnr) in SumSquareErrorToPsnr() 196 psnr = kMaxPsnr; in SumSquareErrorToPsnr() 198 return psnr; in SumSquareErrorToPsnr()
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | compare.cc | 220 double psnr; in SumSquareErrorToPsnr() local 223 psnr = 10.0 * log10(255.0 * 255.0 * mse); in SumSquareErrorToPsnr() 225 psnr = kMaxPsnr; // Limit to prevent divide by 0 in SumSquareErrorToPsnr() 228 if (psnr > kMaxPsnr) in SumSquareErrorToPsnr() 229 psnr = kMaxPsnr; in SumSquareErrorToPsnr() 231 return psnr; in SumSquareErrorToPsnr()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encoder.c | 1697 cpi->psnr.worst = 100.0; in vp9_create_compressor() 1982 dr, cpi->psnr.stat[ALL] / cpi->count, total_psnr, in vp9_remove_compressor() 1987 cpi->psnr.worst, cpi->worst_ssim, cpi->fastssim.worst, in vp9_remove_compressor() 2263 double psnr[4]; // total/y/u/v member 2271 PSNR_STATS *psnr, in calc_highbd_psnr() argument 2307 psnr->sse[1 + i] = sse; in calc_highbd_psnr() 2308 psnr->samples[1 + i] = samples; in calc_highbd_psnr() 2309 psnr->psnr[1 + i] = vpx_sse_to_psnr(samples, peak, (double)sse); in calc_highbd_psnr() 2315 psnr->sse[0] = total_sse; in calc_highbd_psnr() 2316 psnr->samples[0] = total_samples; in calc_highbd_psnr() [all …]
|
/external/opencv3/modules/stitching/test/ |
D | test_blenders.cpp | 76 double psnr = cvtest::PSNR(expected, result); in TEST() local 77 EXPECT_GE(psnr, 50); in TEST()
|
/external/webrtc/tools/python_charts/webrtc/ |
D | main.py | 112 psnr = gviz_api.DataTable(description, data) 114 json_psnr_data = psnr.ToJSon(helper.GetOrdering(description))
|
/external/opencv3/samples/cpp/tutorial_code/gpu/gpu-basics-similarity/ |
D | gpu-basics-similarity.cpp | 189 double psnr = 10.0*log10((255*255)/mse); in getPSNR() local 190 return psnr; in getPSNR() 214 double psnr = 10.0*log10((255*255)/mse); in getPSNR_CUDA_optimized() local 215 return psnr; in getPSNR_CUDA_optimized() 242 double psnr = 10.0*log10((255*255)/mse); in getPSNR_CUDA() local 243 return psnr; in getPSNR_CUDA()
|
/external/webrtc/webrtc/modules/video_coding/codecs/tools/ |
D | video_quality_measurement.cc | 363 const webrtc::test::FrameResult& psnr = psnr_result.frames[i]; in PrintCsvOutput() local 370 f.total_packets, ssim.value, psnr.value); in PrintCsvOutput() 441 const webrtc::test::FrameResult& psnr = psnr_result.frames[i]; in PrintPythonOutput() local 456 f.packets_dropped, f.total_packets, ssim.value, psnr.value); in PrintPythonOutput()
|
/external/libvpx/libvpx/vpx/ |
D | vpx_encoder.h | 206 double psnr[4]; /**< PSNR, total/y/u/v */ member 207 } psnr; /**< data for PSNR packet */ member
|
/external/libyuv/ |
D | setup_env.bat | 7 :: TODO(fbarchard): add files\win32 to for psnr tool
|
/external/opencv3/samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/ |
D | video-input-psnr-ssim.cpp | 152 double psnr = 10.0 * log10((255 * 255) / mse); in getPSNR() local 153 return psnr; in getPSNR()
|