/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/ |
benchmark.cc | 82 webrtc::test::QualityMetricsResult psnr[nBitrates]; local 157 _inst.width, _inst.height, &psnr[k]); 167 std::cout << std::endl << "Y-PSNR [dB]:"; 168 _results << std::endl << "Y-PSNR [dB]"; 171 std::cout << " " << psnr[k].average; 172 _results << "," << psnr[k].average;
|
/external/libvpx/libvpx/test/ |
resize_test.cc | 210 frame0_psnr_ = pkt->data.psnr.psnr[0]; 211 EXPECT_NEAR(pkt->data.psnr.psnr[0], frame0_psnr_, 2.0); 240 // q picked such that initial keyframe on this clip is ~30dB PSNR
|
error_resilience_test.cc | 55 psnr_ += pkt->data.psnr.psnr[0]; 109 // std::cout << "Mismatch frame psnr: " << mismatch_psnr << "\n"; 229 // Note the Average Mismatch PSNR is the average of the PSNR between 233 std::cout << " Mismatch PSNR: "
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
resize_test.cc | 210 frame0_psnr_ = pkt->data.psnr.psnr[0]; 211 EXPECT_NEAR(pkt->data.psnr.psnr[0], frame0_psnr_, 2.0); 240 // q picked such that initial keyframe on this clip is ~30dB PSNR
|
error_resilience_test.cc | 55 psnr_ += pkt->data.psnr.psnr[0]; 109 // std::cout << "Mismatch frame psnr: " << mismatch_psnr << "\n"; 229 // Note the Average Mismatch PSNR is the average of the PSNR between 233 std::cout << " Mismatch PSNR: "
|
/cts/tests/tests/media/src/android/media/cts/ |
Vp8EncoderTest.java | 34 * calculate PSNR values for various bitrates. 55 // Average PSNR values for reference SW VP8 codec for the above bitrates. 57 // Minimum PSNR values for reference SW VP8 codec for the above bitrates. 59 // Maximum allowed average PSNR difference of HW encoder comparing to reference SW encoder. 61 // Maximum allowed minimum PSNR difference of HW encoder comparing to reference SW encoder. 63 // Maximum allowed average PSNR difference of the encoder running in a looper thread with 0 ms 67 // Maximum allowed minimum PSNR difference of the encoder running in a looper thread 118 * Checks the PSNR difference between the encoded and decoded output and reference yuv input 169 // Check PSNR difference. 170 Log.d(TAG, "PSNR Average: Async: " + statisticsAsync.mAveragePSNR 316 final double[] psnr = new double[1]; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
error_resilience_test.cc | 55 psnr_ += pkt->data.psnr.psnr[0]; 109 // std::cout << "Mismatch frame psnr: " << mismatch_psnr << "\n"; 229 // Note the Average Mismatch PSNR is the average of the PSNR between 233 std::cout << " Mismatch PSNR: "
|
/external/chromium_org/third_party/libvpx/source/libvpx/vpx/ |
vpx_encoder.h | 74 #define VPX_CODEC_CAP_PSNR 0x10000 /**< Can issue PSNR packets */ 91 #define VPX_CODEC_USE_PSNR 0x10000 /**< Calculate PSNR on each frame */ 158 VPX_CODEC_PSNR_PKT, /**< PSNR statistics for this frame */ 191 double psnr[4]; /**< PSNR, total/y/u/v */ member in struct:vpx_codec_cx_pkt::__anon16842::vpx_psnr_pkt 192 } psnr; /**< data for PSNR packet */ member in union:vpx_codec_cx_pkt::__anon16842 [all...] |
/external/libvpx/libvpx/vpx/ |
vpx_encoder.h | 74 #define VPX_CODEC_CAP_PSNR 0x10000 /**< Can issue PSNR packets */ 91 #define VPX_CODEC_USE_PSNR 0x10000 /**< Calculate PSNR on each frame */ 158 VPX_CODEC_PSNR_PKT, /**< PSNR statistics for this frame */ 191 double psnr[4]; /**< PSNR, total/y/u/v */ member in struct:vpx_codec_cx_pkt::__anon28793::vpx_psnr_pkt 192 } psnr; /**< data for PSNR packet */ member in union:vpx_codec_cx_pkt::__anon28793 [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/ |
vpx_encoder.h | 74 #define VPX_CODEC_CAP_PSNR 0x10000 /**< Can issue PSNR packets */ 91 #define VPX_CODEC_USE_PSNR 0x10000 /**< Calculate PSNR on each frame */ 158 VPX_CODEC_PSNR_PKT, /**< PSNR statistics for this frame */ 191 double psnr[4]; /**< PSNR, total/y/u/v */ member in struct:vpx_codec_cx_pkt::__anon39881::vpx_psnr_pkt 192 } psnr; /**< data for PSNR packet */ member in union:vpx_codec_cx_pkt::__anon39881 [all...] |
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/automated/ |
vie_video_verification_test.cc | 65 webrtc::test::QualityMetricsResult psnr; local 67 kInputWidth, kInputHeight, &psnr); 69 EXPECT_EQ(0, error) << "PSNR routine failed - output files missing?"; 70 *psnr_result = psnr.average; 78 ViETest::Log("Results: PSNR is %f (dB; 48 is max), " 80 psnr.average, ssim.average); 250 FAIL() << "Failed to achieve near-perfect PSNR and SSIM results after " << 256 // the important thing when doing frame-to-frame comparison with PSNR/SSIM. 315 "PSNR/SSIM calculations in a bad way."; 320 // lower PSNR and SSIM values [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/ |
tools_common.c | 262 const double psnr = 10.0 * log10(samples * peak * peak / sse); local 263 return psnr > kMaxPSNR ? kMaxPSNR : psnr;
|
/external/libvpx/libvpx/ |
tools_common.c | 262 const double psnr = 10.0 * log10(samples * peak * peak / sse); local 263 return psnr > kMaxPSNR ? kMaxPSNR : psnr;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
tools_common.c | 262 const double psnr = 10.0 * log10(samples * peak * peak / sse); local 263 return psnr > kMaxPSNR ? kMaxPSNR : psnr;
|
/external/libyuv/files/source/ |
compare.cc | 422 double psnr; local 425 psnr = 10.0 * log10(255.0 * 255.0 * mse); 427 psnr = kMaxPsnr; // Limit to prevent divide by 0 430 if (psnr > kMaxPsnr) 431 psnr = kMaxPsnr; 433 return psnr;
|
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
vp8_multi_resolution_encoder.c | 192 /* Set show_psnr to 1/0 to show/not show PSNR. Choose show_psnr=0 if you 193 don't need to know PSNR, which will skip PSNR calculation and save 215 die("Usage: %s <width> <height> <infile> <outfile(s)> <output psnr?>\n", 376 /* FilterMode 1 or 2 give better psnr than FilterMode 0. */ 411 psnr_sse_total[i] += pkt[i]->data.psnr.sse[0]; 412 psnr_samples_total[i] += pkt[i]->data.psnr.samples[0]; 415 //fprintf(stderr, "%.3lf ", pkt[i]->data.psnr.psnr[j]); 416 psnr_totals[i][j] += pkt[i]->data.psnr.psnr[j] [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_encoder.c | 1184 double psnr[4]; \/\/ total\/y\/u\/v member in struct:__anon16795 1225 PSNR_STATS psnr; local 2713 PSNR_STATS psnr; local [all...] |
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/tools/ |
video_quality_measurement.cc | 276 Log("Calculating PSNR...\n"); 317 "ssim psnr\n"); 322 const webrtc::test::FrameResult& psnr = psnr_result.frames[i]; local 338 psnr.value); 403 "'psnr': ('number', 'PSNR (dB)'),\n" 409 const webrtc::test::FrameResult& psnr = psnr_result.frames[i]; local 416 "'ssim': %f, 'psnr': %f},\n", 430 psnr.value); 504 // Close the files before we start using them for SSIM/PSNR calculations [all...] |
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/ |
normal_test.cc | 368 webrtc::test::QualityMetricsResult psnr, ssim; local 370 &psnr); 381 printf("PSNR: %f \n", psnr.average); 382 ( _log) << "PSNR: " << psnr.average << std::endl;
|
quality_modes_test.cc | 133 webrtc::test::QualityMetricsResult psnr,ssim; local 135 _nativeHeight, &psnr); 144 printf("PSNR: %f \n", psnr.average); 146 ( _log) << "PSNR: " << psnr.average << std::endl;
|
/external/libvpx/libvpx/examples/ |
vp8_multi_resolution_encoder.c | 192 /* Set show_psnr to 1/0 to show/not show PSNR. Choose show_psnr=0 if you 193 don't need to know PSNR, which will skip PSNR calculation and save 215 die("Usage: %s <width> <height> <infile> <outfile(s)> <output psnr?>\n", 376 /* FilterMode 1 or 2 give better psnr than FilterMode 0. */ 411 psnr_sse_total[i] += pkt[i]->data.psnr.sse[0]; 412 psnr_samples_total[i] += pkt[i]->data.psnr.samples[0]; 415 //fprintf(stderr, "%.3lf ", pkt[i]->data.psnr.psnr[j]); 416 psnr_totals[i][j] += pkt[i]->data.psnr.psnr[j] [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_onyx_if.c | 1614 double psnr[4]; \/\/ total\/y\/u\/v member in struct:__anon28752 1655 PSNR_STATS psnr; local 3173 PSNR_STATS psnr; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
vp8_multi_resolution_encoder.c | 192 /* Set show_psnr to 1/0 to show/not show PSNR. Choose show_psnr=0 if you 193 don't need to know PSNR, which will skip PSNR calculation and save 215 die("Usage: %s <width> <height> <infile> <outfile(s)> <output psnr?>\n", 376 /* FilterMode 1 or 2 give better psnr than FilterMode 0. */ 411 psnr_sse_total[i] += pkt[i]->data.psnr.sse[0]; 412 psnr_samples_total[i] += pkt[i]->data.psnr.samples[0]; 415 //fprintf(stderr, "%.3lf ", pkt[i]->data.psnr.psnr[j]); 416 psnr_totals[i][j] += pkt[i]->data.psnr.psnr[j] [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_onyx_if.c | 1690 double psnr[4]; \/\/ total\/y\/u\/v member in struct:__anon39840 1731 PSNR_STATS psnr; local 3256 PSNR_STATS psnr; local [all...] |
/external/chromium_org/third_party/webrtc/common_video/libyuv/ |
webrtc_libyuv.cc | 332 // Compute PSNR for an I420 frame (all planes) 343 double psnr = libyuv::I420Psnr(ref_frame->buffer(kYPlane), local 356 // LibYuv sets the max psnr value to 128, we restrict it here. 358 return (psnr > kPerfectPSNR) ? kPerfectPSNR : psnr;
|