Sijia Chen
bc1b28b5dd
fix for in-middle changing simulcast avc setting
2015-02-05 16:34:28 +08:00
sijchen
09518da545
Merge pull request #1795 from mstorsjo/avoid-variable-shadowing
...
Avoid declaring a new variable shadowing an existing one in the same function
2015-02-04 17:57:38 +08:00
Martin Storsjö
6c1aa29431
Avoid declaring a new variable shadowing an existing one in the same function
...
All the following loops below assume that int iIdx already is declared.
2015-02-04 11:25:09 +02:00
sijchen
dc067286b3
Merge pull request #1792 from dongzha/AddUTMaxNalLen
...
add UT for set MaxNalUnitLen
2015-02-04 15:56:51 +08:00
dong zhang
d3b2be5ec2
add UT for set MaxNalUnitLen
...
ignore the cases: 2 MBs in one picture, and the multithreads case, enable them when code is ready
2015-02-04 14:39:11 +08:00
HaiboZhu
442230a91d
Merge pull request #1789 from huili2/bugfix_checkspsactive
...
bug fix for multi-layer active sps check
2015-02-04 09:13:18 +08:00
sijchen
fba745f04e
Merge pull request #1788 from mstorsjo/share-wels-const
...
Share parts of wels_const.h
2015-02-03 15:06:44 +08:00
huili2
1734133012
bug fix for multi-layer active sps check
2015-02-02 22:31:50 -08:00
Martin Storsjö
e4a278620b
Remove dependencies on the decoder internals in unit test for the common library
2015-02-02 12:44:04 +02:00
Martin Storsjö
4f237b51ef
Move parts of wels_const.h into a shared header
2015-02-02 12:41:11 +02:00
Martin Storsjö
713beb7df7
Fix typos in header include guards
2015-02-02 12:41:11 +02:00
sijchen
5fdd01ec0c
Merge pull request #1787 from mstorsjo/remove-stray-semicolon
...
Remove accidental double semicolons
2015-02-02 18:15:02 +08:00
sijchen
e7a7a35611
Merge pull request #1779 from mstorsjo/share-memalign
...
Move the memory allocation/deallocation routines to the common library
2015-02-02 18:14:55 +08:00
Martin Storsjö
a3063531c4
Remove accidental double semicolons
2015-02-02 09:20:35 +02:00
zhilwang
fb5c60b6fc
Merge pull request #1782 from mstorsjo/avoid-yasm-warnings
...
Move DEFAULT REL into the x86_64 cases
2015-02-01 17:38:59 -08:00
zhilwang
7629543e3e
Merge pull request #1784 from mstorsjo/force-arm-mode
...
Force armv7/neon within the arm assembly header file
2015-02-01 17:36:36 -08:00
sijchen
79b38f55ff
Merge pull request #1783 from mstorsjo/simplify-includes
...
Simplify include paths for unittest sub libraries
2015-02-02 09:30:27 +08:00
sijchen
16ca41cada
Merge pull request #1780 from mstorsjo/speedup-tests
...
Set m_iPicResSize in PrepareOneSrcFrame
2015-02-02 09:29:50 +08:00
sijchen
0f1737e035
Merge pull request #1778 from mstorsjo/fix-version-generation
...
Don't overwrite the git-tracked version.h
2015-02-02 09:23:05 +08:00
Martin Storsjö
5a78735802
Force armv7/neon within the arm assembly header file
...
This avoids having to add extra compiler flags to be able to build
them.
2015-02-02 00:53:39 +02:00
Martin Storsjö
8d539600bb
Simplify unittest include paths
...
Move the "test" directory to CODEC_UNITTEST_INCLUDES instead of
duplicating it in every definition.
2015-02-02 00:51:02 +02:00
Martin Storsjö
84b3216d7c
Remove redundant unittest include paths
...
The local directory doesn't need to be added to the include path.
2015-02-02 00:50:54 +02:00
Martin Storsjö
3243a78959
Move DEFAULT REL into the x86_64 cases
...
This fixes warnings when building for x86_32 using yasm, which says
the "DEFAULT REL" is ignored for non-64-bit targets.
2015-02-02 00:49:37 +02:00
Ethan Hugg
195df08bb9
Merge pull request #1746 from kinetiknz/gmp-fixes
...
Various fixes for the GeckoMediaPlugin wrapper
2015-01-30 09:25:35 -08:00
Martin Storsjö
4394d22b70
Set m_iPicResSize in PrepareOneSrcFrame
...
If the calling test hasn't set m_iPicResSize, it is set to the
maximum frame size, which takes much longer to initialize than the
current actual frame size.
This reduces the runtime of EncoderInterfaceTest.SkipFrameCheck
in valgrind from 229 seconds to 8 seconds, and the total runtime
of all the test cases in EncoderInterfaceTest from 405 seconds
to 89 seconds.
2015-01-30 16:02:40 +02:00
Martin Storsjö
2356eb1ff6
Move the memory allocation/deallocation routines to the common library
...
They are still used slightly differently in the encoder and decoder;
the decoder uses plain functions while the encoder uses one object
keeping track of the number of allocated bytes, and keeping track
of the requested alignment.
2015-01-30 11:30:59 +02:00
Martin Storsjö
078d96bef7
Don't overwrite the git-tracked version.h
...
When generating a new version of the header, that includes the
actual git hash, don't overwrite the file that is tracked by git.
Instead create a new file, and include this only if the build system
indicates that it exists (by setting a define). This allows the
untouched source tree to be built from within an IDE even if make
has not been run.
This reduces the hassle with a file that needs to be ignored in the
git configuration.
The downside is that the generated file isn't used if building
from within an IDE, if the header has been updated by calling make
before (since the IDE configuration doesn't know whether the user
actually has run make). Since users of the IDE might not build via
make in the command line at all (in the same source checkout at least),
this should not be an issue in practice. The previous way things worked,
the version hash (generated by make) when used in an IDE could actually
be outdated and misleading.
2015-01-30 10:55:16 +02:00
Martin Storsjö
869870e670
Rename the decoder WelsMalloc to WelsMallocz
...
This function actually zero-initializes the allocated memory, thus
make this clear in the function name.
This makes the function name match the same behaviour in the encoder.
2015-01-30 10:37:48 +02:00
sijchen
9b442b3d44
Merge pull request #1776 from mstorsjo/mc-test-fix
...
Avoid writing outside of the target rect in MCHalfPelFilterAnchor
2015-01-30 10:38:40 +08:00
sijchen
e48cf9f471
Merge pull request #1769 from ruil2/status
...
add screen content type setting
2015-01-30 10:25:19 +08:00
sijchen
28469ab3dc
Merge pull request #1775 from sijchen/upd_ver
...
update the version info to sync with recent change of API
2015-01-30 10:24:56 +08:00
Martin Storsjö
76b0f8c17a
Avoid writing outside of the target rect in MCHalfPelFilterAnchor
...
This simplifies comparison between the output of MCHalfPelFilterAnchor
and the actual MC function implementations.
2015-01-29 08:51:02 +02:00
Matthew Gregan
02365371e8
Initialize SVideoProperty struct completely.
2015-01-29 19:01:47 +13:00
Matthew Gregan
9ea6603071
Pass AVCC extra data to the decoder (in AnnexB format) in InitDecode.
2015-01-29 18:58:44 +13:00
Matthew Gregan
30d7352d03
Call InputExhausted when input has not produced a frame, call Error when
...
the decoder did not produce valid output, call DrainComplete in Drain
and FlushComplete in Flush. Without these, the caller of the GMP may
end up waiting forever on a requested operation to complete.
2015-01-29 18:58:44 +13:00
Sijia Chen
a4f09f4d76
update the version info to sync with recent change of API
2015-01-29 11:14:08 +08:00
dongzha
4f4adcec49
Merge pull request #1772 from mstorsjo/mc-unify
...
Move the MC implementation to the common library
2015-01-29 09:28:57 +08:00
dongzha
59b3b428a2
Merge pull request #1768 from mstorsjo/msvc-ignore
...
Add a .gitignore file for test/build/win32
2015-01-29 09:28:02 +08:00
huili2
8a84d14617
Merge pull request #1770 from mstorsjo/remove-moved-file
...
Remove leftover references to expand_pic in the welsdec xcode project
2015-01-29 09:22:28 +08:00
huili2
7ab0386436
Merge pull request #1771 from mstorsjo/mc-enc-ut
...
Improve and fix a few details in the encoder MC test
2015-01-29 09:18:46 +08:00
Martin Storsjö
605f2fb858
Remove the now unnecessary mc_test_common.h
2015-01-28 23:59:41 +02:00
Martin Storsjö
f03edd79c2
Merge all MC unit tests into one file
...
Since both encoder and decoder use the same MC implementation now,
one set of tests is enough.
2015-01-28 23:59:37 +02:00
Martin Storsjö
9a0663620a
Move the MC routines to the common library
...
Use the decoder versions of the functions (which are capable
of handling widths 4/8/16 for luma, not only 16 as in the
encoder). By using the more generic versions, there may be a small
performance loss since the functions need to check the width
in every call. Actual measurements show that the actual change is
very small (and the shared routines turn out to actually be faster
than the existing ones in ARM NEON setups).
2015-01-28 15:32:46 +02:00
Martin Storsjö
1a7d0ab831
Hook up McChromaWidthEq8_ssse3 into use in the decoder as well
2015-01-28 15:20:43 +02:00
Martin Storsjö
909a508749
Use the right stride in a memset in the EncMcHalfpel test
2015-01-28 15:19:19 +02:00
Martin Storsjö
5d67df4adb
Remove leftover references to expand_pic in the welsdec xcode project
...
These files are part of the common library (and the common xcode
project) now instead.
2015-01-28 15:13:50 +02:00
Martin Storsjö
151dfe04d5
Extend the tested area in the encoder MC test
2015-01-28 15:11:17 +02:00
Martin Storsjö
9a9fc4c489
Change pfSampleAveraging to be a single function with internal width handling
...
This makes it match the behaviour of pMcLumaFunc and pMcChromaFunc.
2015-01-28 13:59:58 +02:00
Martin Storsjö
1127aa7761
Simplify the MC unit tests now that the naming is made consistent
2015-01-28 13:59:58 +02:00
Martin Storsjö
8b6bf0499f
Rename the encoder MC chroma/luma functions to match the naming in the decoder
2015-01-28 13:59:58 +02:00