<html><head></head><body>No - what matters in that instance is the code above that deals with A/R. I think it uses smallest sample dimension if size is not forced.<br>
<br>
I wouldn't take that code as the holy grail though. It applies the zoom to forced dimensions, which is IMO a bug.<br><br><div class="gmail_quote">Le 25 mai 2018 10:20:34 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On 2018-05-24 9:04 PM, Rémi Denis-Courmont wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">        Hello,<br><br> If the SAR and PAR are equal, the meaning of zoom is clear: it is the ratio<br> from input samples to output pixels.<br><br> But if they are not equal, according to what metric should the zoom be rated?<br> I can think of 5 different dimensions to measure it, and they are probably<br> others:<br> - diagonale,<br> - largest,<br> - smallest,<br> - horizontal or<br> - vertical.<br> (Not to mention reorientation.)<br><br> I guess broadcasting industry reasons in vertical dimension, and display<br> industry in diagonales.<br></blockquote><br>The code does this:<br>*width=*width*cfg->zoom.num/cfg->zoom.den;<br>    *height=*height*cfg->zoom.num/cfg->zoom.den;<br><br>So I suppose that's diagonale.<br><br><br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><br> N.B.: VLC has never measured the PAR to this point. Unless explicitly<br> configured (--monitor-par), it is assumed 1:1.</blockquote><br><br><hr><br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>