<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">> I'm using x264 as compiled library in my application and would like to<br>
> display PSNR / SSIM statistics in the UI.<br>
> I've read the PSNR calculation in encoder.c and I'm interested to know if<br>
> it's thread safe to do the same calculation in my code,<br>
> or should I use sync with x264 somehow?<br>
> thanks!<br>
> --<br></div></div>
<br>
param->analyse.b_psnr = 1<br>
</blockquote><div><br></div><div>of course, but that only prints to stdout.</div><div>I'm accessing PSNR programmatically, and wondering about thread-integrity.</div><div><br></div><div><br></div><div><br></div><div>
<br></div></div>
</div>