Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update libvpx to 1.8.1 #100

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 20 additions & 0 deletions pts/vpxenc-2.5.0/downloads.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<!--Phoronix Test Suite v8.8.0-->
<PhoronixTestSuite>
<Downloads>
<Package>
<URL>https://github.com/webmproject/libvpx/archive/v1.8.1.tar.gz</URL>
<MD5>17b1b9278b5066ecd1a76e82266ecdf9</MD5>
<SHA256>df19b8f24758e90640e1ab228ab4a4676ec3df19d23e4593375e6f3847dee03e</SHA256>
<FileName>libvpx-1.8.1.tar.gz</FileName>
<FileSize>2879302</FileSize>
</Package>
<Package>
<URL>http://ultravideo.cs.tut.fi/video/Bosphorus_1920x1080_120fps_420_8bit_YUV_RAW.7z</URL>
<MD5>db7c7ff09acd5d7820cc4d1eb0939cf9</MD5>
<SHA256>e73a54088e88e6465f578625d185933e85c3209ab7105deb755a8b8918b78cab</SHA256>
<FileName>Bosphorus_1920x1080_120fps_420_8bit_YUV_RAW.7z</FileName>
<FileSize>680772328</FileSize>
</Package>
</Downloads>
</PhoronixTestSuite>
22 changes: 22 additions & 0 deletions pts/vpxenc-2.5.0/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/sh

tar -xzf libvpx-1.8.1.tar.gz

mkdir vpx
cd libvpx-1.8.1

./configure --disable-install-docs --enable-shared --prefix=$HOME/vpx
make -j $NUM_CPU_CORES
echo $? > ~/install-exit-status
make install
cd ~
rm -rf libvpx-1.8.1

7z x Bosphorus_1920x1080_120fps_420_8bit_YUV_RAW.7z

echo "#!/bin/bash
cd vpx/bin
THREADCOUNT=\$((\$NUM_CPU_CORES>64?64:\$NUM_CPU_CORES))
LD_PRELOAD=../lib/libvpx.so ./vpxenc --codec=vp9 -v --threads=\$THREADCOUNT --tile-columns=6 --row-mt=1 -o /dev/null ~/Bosphorus_1920x1080_120fps_420_8bit_YUV.yuv --width=1920 --height=1080 2> \$LOG_FILE
echo \$? > ~/test-exit-status" > vpxenc
chmod +x vpxenc
12 changes: 12 additions & 0 deletions pts/vpxenc-2.5.0/results-definition.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!--Phoronix Test Suite v8.8.0-->
<PhoronixTestSuite>
<ResultsParser>
<OutputTemplate>Pass 1/2 frame 600/601 125008B 1666b/f 50003b/s 35453 ms (#_RESULT_# fps)</OutputTemplate>
<LineHint> fps</LineHint>
<ResultBeforeString>fps</ResultBeforeString>
<StripFromResult>(</StripFromResult>
<DeleteOutputBefore>600/600</DeleteOutputBefore>
<DeleteOutputAfter>Pass 2</DeleteOutputAfter>
</ResultsParser>
</PhoronixTestSuite>
26 changes: 26 additions & 0 deletions pts/vpxenc-2.5.0/test-definition.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0"?>
<!--Phoronix Test Suite v8.8.0-->
<PhoronixTestSuite>
<TestInformation>
<Title>VP9 libvpx Encoding</Title>
<AppVersion>1.8.1</AppVersion>
<Description>This is a standard video encoding performance test of Google's libvpx library and the vpxenc command for the VP9/WebM format using a sample 1080p video.</Description>
<ResultScale>Frames Per Second</ResultScale>
<Proportion>HIB</Proportion>
<SubTitle>vpxenc VP9 1080p Video Encode</SubTitle>
<TimesToRun>3</TimesToRun>
</TestInformation>
<TestProfile>
<Version>2.5.0</Version>
<SupportedPlatforms>Linux</SupportedPlatforms>
<SoftwareType>Utility</SoftwareType>
<TestType>Processor</TestType>
<License>Free</License>
<Status>Verified</Status>
<ExternalDependencies>build-utilities, yasm, p7zip</ExternalDependencies>
<EnvironmentSize>827</EnvironmentSize>
<ProjectURL>http://www.webmproject.org/</ProjectURL>
<InternalTags>SMP</InternalTags>
<Maintainer>Michael Larabel</Maintainer>
</TestProfile>
</PhoronixTestSuite>