commit 2dbb757d3009acdbf7acbaf0d211e7e6efb212f3
Merge: 34cb0d6 6a2a4ef
Author: ruil2 <ruil2@cisco.com>
Date: Fri Oct 24 15:18:55 2014 +0800
Merge pull request #1451 from sijchen/for_format
Fixes and change naming
commit 34cb0d60aa957e320f3b4dde8e5572a37f47e5d0
Merge: 468fce0 f0c6891
Author: sijchen <sijchen@cisco.com>
Date: Fri Oct 24 14:41:51 2014 +0800
Merge pull request #1450 from mstorsjo/avoid-warnings
Add casts to avoid warnings about comparison between signed and unsigned
commit 6a2a4efef66f625a4fe15be1bff7dc5caaf5c4c8
Author: Sijia Chen <sijchen@cisco.com>
Date: Fri Oct 24 14:39:50 2014 +0800
fix names to keep consistent of style
improve UT to cover more cases under GetStatistics
commit ea9b80adb39ef55185a282cfd68b423bb5a3f036
Author: Sijia Chen <sijchen@cisco.com>
Date: Fri Oct 24 14:12:53 2014 +0800
fix a wrong range clip
commit 468fce0887a1f88d880cd7030ed13967e3f72360
Merge: ac290d6 50fd617
Author: sijchen <sijchen@cisco.com>
Date: Fri Oct 24 14:12:40 2014 +0800
Merge pull request #1448 from sijchen/for_format
roll back the file which is mis-formatted by astyle
commit f0c6891627df3ccacf8ad409522c51b5442df1d1
Author: Martin Storsjö <martin@martin.st>
Date: Fri Oct 24 09:05:32 2014 +0300
Add casts to avoid warnings about comparison between signed and unsigned
commit 50fd617e86b60d9a01dccd02edec5d9994552fe8
Author: Sijia Chen <sijchen@cisco.com>
Date: Fri Oct 24 13:04:35 2014 +0800
roll back the file which is mis-formatted by astyle
commit ac290d65c7b6993f18285a73784933356001b05a
Merge: dcdcc7f 3cce92e
Author: ruil2 <ruil2@cisco.com>
Date: Fri Oct 24 12:50:07 2014 +0800
Merge pull request #1446 from sijchen/for_format
[Encoder] fix a small range of slice idx
Make sure that pOptions is initialized to the parameters that
the codec actually uses, not the ones that we initially tried
to set.
When calling SetOption to update the codec parameters, this may
cause a reset of the whole codec if e.g. the number of threads
differs from what is set within the codec itself.
If the number of threads was changed by the codec internally
when inited (e.g. changed from 0 to 1), WelsEncoderParamAdjust
may think the whole codec needs to be reset.
This fixes running EncoderInterfaceTest.TemporalLayerSettingTest
on machines where the detected number of cores is 1.
Previously, this test used whatever size was set in m_iWidth
and m_iHeight before, which depended on the order that the tests
were executed. When this test was the first one executed in the
EncoderInterfaceTest, the width and height were set to the max.
Instead of having the test behaviour depend on the test order,
set a specific size, just as InitializeParamExt and MemoryCheckTest
do.
This reduces the runtime of TemporalLayerSettingTest from 86 seconds
to 26 seconds, when run in valgrind.
There's little point in running the same test over and over for
a huge number of frames if it doesn't test much different things.
This reduces the runtime of EncoderInterfaceTest.* from 322 seconds
to 140 seconds, when running in valgrind.