/external/libyuv/files/util/ |
Makefile | 0 psnr: psnr.cc ssim.cc psnr_main.cc 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
|
psnr.h | 11 // Get PSNR for video sequence. Assuming RAW 4:2:0 Y:Cb:Cr format 30 // TODO(fbarchard): make psnr lib compatible subset of libyuv. 37 // PSNR formula: psnr = 10 * log10 (Peak Signal^2 * size / sse)
|
compare.cc | 58 double psnr = libyuv::SumSquareErrorToPsnr(sum_square_err, size_min); local 59 printf(", psnr %.2f\n", psnr);
|
/external/libvpx/libvpx/vpx/src/ |
vpx_psnr.c | 19 const double psnr = 10.0 * log10(samples * peak * peak / sse); local 20 return psnr > MAX_PSNR ? MAX_PSNR : psnr;
|
/external/webrtc/tools/python_charts/data/ |
vp8_hw.py | 38 'psnr': ('number', 'PSNR (dB)'), 40 frame_data = [{'frame_number': 0, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 94676, 'decode_time': 37942, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 1098, 'encoded_frame_length': 4579, 'frame_type': 'Other', 'packets_dropped': 0, 'total_packets': 4, 'ssim': 0.910364, 'psnr': 35.067258}, 41 {'frame_number': 1, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 244007, 'decode_time': 39421, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 306, 'encoded_frame_length': 1277, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.911859, 'psnr': 35.115193}, 42 {'frame_number': 2, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 240508, 'decode_time': 38918, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 330, 'encoded_frame_length': 1379, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.913597, 'psnr': 35.181604}, 43 {'frame_number': 3, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 243449, 'decode_time': 39664, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 298, 'encoded_frame_length': 1242, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.912378, 'psnr': 35.164710}, 44 {'frame_number': 4, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 248024, 'decode_time': 39115, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 332, 'encoded_frame_length': 1385, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.911471, 'psnr': 35.109488}, 45 {'frame_number': 5, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 246910, 'decode_time': 39146, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 416, 'encoded_frame_length': 1734, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 2, 'ssim': 0.915231, 'psnr': 35.392300}, 46 {'frame_number': 6, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 242953, 'decode_time': 38827, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 279, 'encoded_frame_length': 1165, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.916130, 'psnr': 35.452889}, 47 {'frame_number': 7, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 247343, 'decode_time': 41429, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 393, 'encoded_frame_length': 1639, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 2, 'ssim': 0.919356, 'psnr': 35.647128} [all...] |
vp8_sw.py | 38 'psnr': ('number', 'PSNR (dB)'), 40 frame_data = [{'frame_number': 0, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 12427, 'decode_time': 4403, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 2270, 'encoded_frame_length': 9459, 'frame_type': 'Other', 'packets_dropped': 0, 'total_packets': 7, 'ssim': 0.947050, 'psnr': 38.332820}, 41 {'frame_number': 1, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 3292, 'decode_time': 821, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 88, 'encoded_frame_length': 368, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.927272, 'psnr': 35.883510}, 42 {'frame_number': 2, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 4295, 'decode_time': 902, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 130, 'encoded_frame_length': 544, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.920539, 'psnr': 35.457107}, 43 {'frame_number': 3, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 3880, 'decode_time': 767, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 171, 'encoded_frame_length': 714, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.917434, 'psnr': 35.389298}, 44 {'frame_number': 4, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 4471, 'decode_time': 909, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 248, 'encoded_frame_length': 1035, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.918892, 'psnr': 35.570229}, 45 {'frame_number': 5, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 4447, 'decode_time': 976, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 269, 'encoded_frame_length': 1123, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.920609, 'psnr': 35.769663}, 46 {'frame_number': 6, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 4432, 'decode_time': 891, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 271, 'encoded_frame_length': 1132, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 1, 'ssim': 0.922672, 'psnr': 35.913519}, 47 {'frame_number': 7, 'encoding_successful': True , 'decoding_successful': True , 'encode_time': 5026, 'decode_time': 1068, 'encode_return_code': 0, 'decode_return_code': 0, 'bit_rate': 366, 'encoded_frame_length': 1529, 'frame_type': 'Delta', 'packets_dropped': 0, 'total_packets': 2, 'ssim': 0.925505, 'psnr': 36.246713} [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
vpx_psnr.c | 19 const double psnr = 10.0 * log10(samples * peak * peak / sse); local 20 return psnr > MAX_PSNR ? MAX_PSNR : psnr;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
ImageCompare.java | 38 * Compute peak signal-to-noise ration (PSNR) between two images 39 * The greater the value of psnr, the closer the two images are to each 40 * other. For identical images, psnr = +infinity. 41 * For 8-bit images, a psnr above 50 is commonly acceptable for a lossy 45 * http://www.mathworks.com/help/vision/ref/psnr.html 48 public static double psnr(Bitmap bitmap1, Bitmap bitmap2) { method in class:ImageCompare 78 final double psnr = 20 * Math.log10(255) - 10 * Math.log10(mse); local 79 return psnr;
|
RefocusTest.java | 78 double psnr = ImageCompare.psnr(outputImage, expectedImage); local 79 android.util.Log.i("RefocusTest", "psnr = " + String.format("%.02f", psnr)); 80 if (psnr < minimumPSNR) { 82 assertTrue("Required minimum psnr = " + String.format("%.02f; ", minimumPSNR) + 83 "Actual psnr = " + String.format("%.02f", psnr),
|
/external/libyuv/ |
setup_env.bat | 7 :: TODO(fbarchard): add files\win32 to for psnr tool
|
/cts/tests/tests/media/src/android/media/cts/ |
Vp8EncoderTest.java | 36 * calculate PSNR values for various bitrates. 57 // Average PSNR values for reference Google VP8 codec for the above bitrates. 59 // Minimum PSNR values for reference Google VP8 codec for the above bitrates. 61 // Maximum allowed average PSNR difference of encoder comparing to reference Google encoder. 63 // Maximum allowed minimum PSNR difference of encoder comparing to reference Google encoder. 65 // Maximum allowed average PSNR difference of the encoder running in a looper thread with 0 ms 69 // Maximum allowed minimum PSNR difference of the encoder running in a looper thread 124 * Checks the PSNR difference between the encoded and decoded output and reference yuv input 177 // Check PSNR difference. 178 Log.d(TAG, "PSNR Average: Async: " + statisticsAsync.mAveragePSNR 324 final double[] psnr = new double[1]; local [all...] |
/external/webrtc/webrtc/common_video/libyuv/ |
libyuv_unittest.cc | 142 double psnr = 0.0; local 158 psnr = I420PSNR(&orig_frame_, &res_i420_frame); 159 EXPECT_EQ(48.0, psnr); 178 psnr = I420PSNR(&orig_frame_, &res_i420_frame); 181 EXPECT_GT(ceil(psnr), 44); 189 psnr = I420PSNR(&orig_frame_, &res_i420_frame); 190 EXPECT_EQ(48.0, psnr); 214 psnr = I420PSNR(&orig_frame_, &res_i420_frame); 215 EXPECT_EQ(48.0, psnr); 229 psnr = I420PSNR(&orig_frame_, &res_i420_frame) 278 double psnr = 0.0; local [all...] |
scaler_unittest.cc | 31 // Computes the sequence average PSNR between an input sequence in 132 // Upsample back up and check PSNR. 141 printf("PSNR for scaling from: %d %d, down/up to: %d %d, and back to " 143 // Average PSNR for lower bound in assert is ~0.1dB lower than the actual 144 // average PSNR under same conditions. 181 printf("PSNR for scaling from: %d %d, down/up to: %d %d, and back to " 183 // Average PSNR for lower bound in assert is ~0.1dB lower than the actual 184 // average PSNR under same conditions. 204 // Up-sample back up and check PSNR. 213 printf("PSNR for scaling from: %d %d, down/up to: %d %d, and back to 329 double psnr = I420PSNR(&in_frame, &out_frame); local [all...] |
/external/libavc/test/ |
encoder.mk | 10 LOCAL_SRC_FILES := encoder/main.c encoder/psnr.c encoder/input.c encoder/output.c encoder/recon.c
|
/external/libvpx/libvpx/test/ |
util.h | 39 double psnr = 100.0; local 41 psnr = 10 * log10(255.0 * 255.0 / mse); 43 return psnr;
|
/external/webrtc/webrtc/test/testsupport/metrics/ |
video_metrics.h | 20 // The highest PSNR value our algorithms will return. 29 // Result from a PSNR/SSIM calculation operation. 47 // Calculates PSNR and SSIM values for the reference and test video files 51 // PSNR values have the unit decibel (dB) where a high value means the test file 53 // maximum PSNR value is kMetricsInfinitePSNR. For more info about PSNR, see 54 // http://en.wikipedia.org/wiki/PSNR. 73 // Calculates PSNR values for the reference and test video files (must be in 77 // PSNR values have the unit decibel (dB) where a high value means the test file 79 // maximum PSNR value is kMetricsInfinitePSNR. For more info about PSNR, se [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
util.h | 40 double psnr = 100.0; local 42 psnr = 10 * log10(255.0 * 255.0 / mse); 44 return psnr;
|
vp9_lossless_test.cc | 45 if (pkt->data.psnr.psnr[0] < psnr_) 46 psnr_= pkt->data.psnr.psnr[0];
|
/external/libyuv/files/ |
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
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
PSNRComparer.java | 25 private static final String TAG = "PSNR"; 32 * @param threshold the PSNR necessary to pass the test, if the calculated PSNR is below this 77 Log.d(TAG, "PSNR : " + fraction);
|
/external/libavc/test/encoder/ |
psnr.h | 22 /* File Name : psnr.h */ 24 /* Description : Contains functions for psnr computation */
|
psnr.c | 36 #include "psnr.h" 42 /* Description : Initialize PSNR for the Y, U, V component */ 75 /* Description : Computes the PSNR for the Y, U, V component */ 213 /* Description : Computes the average PSNR for the Y, U, V component */ 237 printf("Avg PSNR Y : %-2.2f\n", (ps_app_ctxt->adbl_psnr[0] / ps_app_ctxt->u4_psnr_cnt)); 238 printf("Avg PSNR U : %-2.2f\n", (ps_app_ctxt->adbl_psnr[1] / ps_app_ctxt->u4_psnr_cnt)); 239 printf("Avg PSNR V : %-2.2f\n", (ps_app_ctxt->adbl_psnr[2] / ps_app_ctxt->u4_psnr_cnt));
|
/external/opencv3/doc/tutorials/highgui/video-input-psnr-ssim/ |
video_input_psnr_ssim.markdown | 14 - Two ways for checking image similarity: PSNR and SSIM 23 ](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video/Megamind.avi) and [a compressed 24 version of it ](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video/Megamind_bugy.avi). 26 `samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/` folder of the OpenCV source library. 28 @include cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp 121 Image similarity - PSNR and SSIM 126 this is the PSNR (aka **Peak signal-to-noise ratio**). The simplest definition of this starts out 132 Then the PSNR is expressed as: 134 \f[PSNR = 10 \cdot \log_{10} \left( \frac{MAX_I^2}{MSE} \right)\f [all...] |
/external/webrtc/webrtc/tools/psnr_ssim_analyzer/ |
psnr_ssim_analyzer.cc | 53 // Calculate the PSNR and SSIM. 58 fprintf(results_file, "Frame: %d, PSNR: %f, SSIM: %f\n", frame_counter, 68 * A tool running PSNR and SSIM analysis on two videos - a reference video and a 70 * The tool just runs PSNR and SSIM on the corresponding frames in the test and 73 * Frame: <frame_number>, PSNR: <psnr_value>, SSIM: <ssim_value> 76 * The max value for PSNR is 48.0 (between equal frames), as for SSIM it is 1.0. 85 std::string usage = "Runs PSNR and SSIM on two I420 videos and write the"
|
/external/opencv3/modules/videoio/test/ |
test_video_io.cpp | 203 double psnr = cvtest::PSNR(loaded, image); local 204 if (psnr < thresDbell) 206 ts->printf(ts->LOG, "Reading image from file: too big difference (=%g) with fmt=%s\n", psnr, ext.c_str()); 240 psnr = cvtest::PSNR(buf_loaded, image); 242 if (psnr < thresDbell) 244 ts->printf(ts->LOG, "Decoding image from memory: too small PSNR (=%gdb) with fmt=%s\n", psnr, ext.c_str()); 321 double psnr = cvtest::PSNR(img1, img) local 376 double psnr = cvtest::PSNR(loaded, image); local 532 double psnr = cvtest::PSNR(img, frame); local [all...] |