HomeSort by relevance Sort by last modified time
    Searched defs:psnr (Results 1 - 25 of 26) sorted by null

1 2

  /external/libvpx/libvpx/vpx_dsp/
psnr.h 23 double psnr[4]; // total/y/u/v member in struct:__anon24633
30 /*!\brief Converts SSE to PSNR
44 const YV12_BUFFER_CONFIG *b, PSNR_STATS *psnr,
48 PSNR_STATS *psnr);
psnr.c 14 #include "vpx_dsp/psnr.h"
19 const double psnr = 10.0 * log10(samples * peak * peak / sse); local
20 return psnr > MAX_PSNR ? MAX_PSNR : psnr;
202 const YV12_BUFFER_CONFIG *b, PSNR_STATS *psnr,
233 psnr->sse[1 + i] = sse;
234 psnr->samples[1 + i] = samples;
235 psnr->psnr[1 + i] = vpx_sse_to_psnr(samples, peak, (double)sse);
241 psnr->sse[0] = total_sse
    [all...]
  /external/libvpx/libvpx/test/
util.h 39 double psnr = 100.0; local
41 psnr = 10 * log10(255.0 * 255.0 / mse);
43 return psnr;
vp9_end_to_end_test.cc 26 // List of psnr thresholds for speed settings 0-7 and 5 encoding modes
111 psnr_ += pkt->data.psnr.psnr[0];
169 const double psnr = GetAveragePsnr(); local
170 EXPECT_GT(psnr, GetPsnrThreshold());
  /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/files/util/
compare.cc 60 double psnr = libyuv::SumSquareErrorToPsnr(sum_square_err, size_min); local
61 printf(", psnr %.2f\n", psnr);
  /frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
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;
MainActivity.java 186 public double psnr; field in class:MainActivity.Result
190 double psnr) {
193 this.psnr = psnr;
216 double psnr = ImageCompare.psnr(outputImageOld, outputImage); local
219 return new Result(renderScriptTask.timings, renderScriptTaskNew.timings, psnr);
226 buffer.append("PSNR: " + String.format("%.02f", result.psnr) + "\n");
  /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...]
webrtc_libyuv.cc 294 // Compute PSNR for an I420 frame (all planes)
304 double psnr = libyuv::I420Psnr(ref_frame->buffer(kYPlane), local
317 // LibYuv sets the max psnr value to 128, we restrict it here.
319 return (psnr > kPerfectPSNR) ? kPerfectPSNR : psnr;
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/webrtc/webrtc/modules/video_coding/codecs/tools/
video_quality_measurement.cc 316 Log("Calculating PSNR...\n");
358 "ssim psnr\n");
363 const webrtc::test::FrameResult& psnr = psnr_result.frames[i]; local
370 f.total_packets, ssim.value, psnr.value);
435 "'psnr': ('number', 'PSNR (dB)'),\n"
441 const webrtc::test::FrameResult& psnr = psnr_result.frames[i]; local
450 "'total_packets': %" PRIuS ", 'ssim': %f, 'psnr': %f},\n",
456 f.packets_dropped, f.total_packets, ssim.value, psnr.value);
532 // Close the files before we start using them for SSIM/PSNR calculations
    [all...]
  /external/webrtc/webrtc/modules/video_processing/test/
video_processing_unittest.cc 45 // verify basic quality, and is set to be ~0.1/0.05dB lower than actual PSNR
370 // Compute PSNR against the cropped source frame and check expectation.
371 double psnr = I420PSNR(&cropped_source_frame, out_frame); local
372 EXPECT_GT(psnr, expected_psnr);
374 "PSNR: %f. PSNR is between source of size %d %d, and a modified "
376 psnr, source_frame.width(), source_frame.height(), target_width,
  /external/libvpx/libvpx/third_party/libyuv/source/
compare.cc 187 double psnr; local
190 psnr = 10.0 * log10(255.0 * 255.0 * mse);
192 psnr = kMaxPsnr; // Limit to prevent divide by 0
195 if (psnr > kMaxPsnr)
196 psnr = kMaxPsnr;
198 return 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;
  /external/libyuv/files/source/
compare.cc 189 double psnr; local
192 psnr = 10.0 * log10(255.0 * 255.0 * mse);
194 psnr = kMaxPsnr; // Limit to prevent divide by 0
197 if (psnr > kMaxPsnr)
198 psnr = kMaxPsnr;
200 return psnr;
  /external/libvpx/libvpx/tools/
tiny_ssim.c 107 double psnr; local
110 psnr = 10.0 * log10(peak * peak * samples / mse);
112 psnr = MAX_PSNR; // Limit to prevent / 0
114 if (psnr > MAX_PSNR) psnr = MAX_PSNR;
116 return psnr;
289 #define psnr_and_ssim(ssim, psnr, buf0, buf1, w, h) \
291 psnr = calc_plane_error(buf0, w, buf1, w, w, h);
311 "ssim,ssim-y,ssim-u,ssim-v,psnr,psnr-y,psnr-u,psnr-v\n")
    [all...]
  /external/libvpx/libvpx/vpx/src/
svc_encodeframe.c 569 "SVC frame: %d, layer: %d, PSNR(Total/Y/U/V): "
571 si->psnr_pkt_received, i, cx_pkt->data.layer_psnr[i].psnr[0],
572 cx_pkt->data.layer_psnr[i].psnr[1],
573 cx_pkt->data.layer_psnr[i].psnr[2],
574 cx_pkt->data.layer_psnr[i].psnr[3]);
584 si->psnr_sum[i][j] += cx_pkt->data.layer_psnr[i].psnr[j];
603 "frame: %d, layer: %d, PSNR(Total/Y/U/V): "
605 si->psnr_pkt_received, 0, cx_pkt->data.layer_psnr[0].psnr[0],
606 cx_pkt->data.layer_psnr[0].psnr[1],
607 cx_pkt->data.layer_psnr[0].psnr[2]
641 double psnr[COMPONENTS]; local
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
VpxEncoderTest.java 36 * calculate PSNR values for various bitrates.
57 // Average PSNR values for reference Google VPx codec for the above bitrates.
59 // Minimum PSNR values for reference Google VPx 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
125 * Checks the PSNR difference between the encoded and decoded output and reference yuv input
180 // Check PSNR difference.
181 Log.d(TAG, "PSNR Average: Async: " + statisticsAsync.mAveragePSNR
331 final double[] psnr = new double[1]; local
    [all...]
VpxCodecTestBase.java 51 * calculate PSNR values for various bitrates.
1916 double psnr = 10 * Math.log10((double)255 * 255 \/ meanSquareError); local
    [all...]
  /external/libvpx/libvpx/vpx/
vpx_encoder.h 77 #define VPX_CODEC_CAP_PSNR 0x10000 /**< Can issue PSNR packets */
93 #define VPX_CODEC_USE_PSNR 0x10000 /**< Calculate PSNR on each frame */
156 VPX_CODEC_PSNR_PKT, /**< PSNR statistics for this frame */
161 VPX_CODEC_SPATIAL_SVC_LAYER_PSNR, /**< PSNR for each layer in this frame*/
192 double psnr[4]; /**< PSNR, total/y/u/v */ member in struct:vpx_codec_cx_pkt::__anon24630::vpx_psnr_pkt
193 } psnr; /**< data for PSNR packet */ member in union:vpx_codec_cx_pkt::__anon24630
    [all...]
  /external/webrtc/webrtc/video/
video_quality_test.cc 77 // Create thread pool for CPU-expensive PSNR/SSIM calculations.
306 double psnr,
314 psnr(psnr),
323 double psnr; member in struct:webrtc::VideoAnalyzer::Sample
458 PrintResult("psnr", psnr_, " dB");
477 // Perform expensive psnr and ssim calculations while not holding lock.
478 double psnr = I420PSNR(&comparison.reference, &comparison.render); local
488 comparison.encoded_frame_size, psnr, ssim));
490 psnr_.AddSample(psnr);
    [all...]
  /hardware/intel/common/libva/test/encode/
h264encode.c 723 printf(" --enablePSNR calculate PSNR of recyuv vs. srcyuv\n");
2132 double psnr = 0, total_size = frame_width * frame_height * 1.5 * frame_count; local
    [all...]
  /external/libvpx/libvpx/vp9/encoder/
vp9_encoder.c 19 #include "vpx_dsp/psnr.h"
2506 PSNR_STATS psnr; local
5318 PSNR_STATS psnr; local
    [all...]

Completed in 1455 milliseconds

1 2