You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Deliver</strong> <strong>High</strong> <strong>Quality</strong>, <strong>High</strong> <strong>Performance</strong> <strong>HEVC</strong> <strong>via</strong> <strong>Intel®</strong> <strong>Media</strong> <strong>Server</strong> <strong>Studio</strong><br />
)<br />
)<br />
)<br />
)<br />
)<br />
) else (<br />
)<br />
set %~3=720<br />
IF %~1 EQU 576 (<br />
) else (<br />
)<br />
set %~2=704<br />
set %~3=576<br />
IF %~1 EQU 480 (<br />
) else (<br />
)<br />
set %~2=832<br />
set %~3=480<br />
echo Unknown resolution.<br />
exit /b<br />
C4: Script for <strong>HEVC</strong> BD rate Computation<br />
We now provide example script (Visual Basic macro) for BD rate calculation provided by MPEG <strong>HEVC</strong><br />
committee. This macro needs to be installed in an excel document, and upon entering the computed<br />
encoding Bitrates generated by HM14 and MSS <strong>HEVC</strong> Encoder’s, and PSNRs generated by comparing<br />
decoded yuv files with respect to original yuv files and entering them into the same excel document, BD<br />
rate difference between HM14 and MSS <strong>HEVC</strong> encoder can be computed.<br />
BDrate.bas<br />
84<br />
Attribute VB_Name = "Module1"<br />
Public Function pchipend(h1 As Double, h2 As Double, del1 As Double, del2 As Double) As Double<br />
Dim d As Double<br />
d = ((2 * h1 + h2) * del1 - h1 * del2) / (h1 + h2)