[x264-devel] obtaining psnr

aviad rozenhek aviadr1 at gmail.com
Sun Jul 19 21:24:16 CEST 2009


>
> > I'm using x264 as compiled library in my application and would like to
> > display PSNR / SSIM statistics in the UI.
> > I've read the PSNR calculation in encoder.c and I'm interested to know if
> > it's thread safe to do the same calculation in my code,
> > or should I use sync with x264 somehow?
> > thanks!
>
> param->analyse.b_psnr = 1
>
> Dark Shikari
>

naturally, but that only prints to stdout.
I'm accessing PSNR programmatically, and wondering about thread-integrity of
accessing h->stats from my application thread
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20090719/65937709/attachment.htm>


More information about the x264-devel mailing list