commit 2dbb757d30
Merge: 34cb0d66a2a4ef
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 34cb0d60aa
Merge: 468fce0f0c6891
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 6a2a4efef6
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 ea9b80adb3
Author: Sijia Chen <sijchen@cisco.com>
Date: Fri Oct 24 14:12:53 2014 +0800
fix a wrong range clip
commit 468fce0887
Merge: ac290d650fd617
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 f0c6891627
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 50fd617e86
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 ac290d65c7
Merge: dcdcc7f3cce92e
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.