Martin Storsjö
1239bb24ba
Remove a redundant check of this!=NULL
...
'this' can't be NULL in well-defined C++ code. This fixes a warning
with clang 3.6 from Xcode 6.3.
2015-05-27 11:46:53 +03:00
Martin Storsjö
b90eca78cd
Avoid endian assumptions in FillQpelLocationByFeatureValue_c
...
These values are read as two separate 16 bit integers from an
array in the FeatureSearchOne function, therefore we should
also store them in a well-defined order.
This fixes encoding of screen content on big endian; now the
full testsuite passes on big endian.
2015-05-15 13:11:23 +03:00
Martin Storsjö
31453e3072
Revert broken big-endian fix for DeblockingBsMarginalMBAvcbase
...
The function actually was correct for big-endian use already
(and the changes in 239e22d0
actually broke normal decoding tests),
it was only the test function itself that needed fixing for big-endian.
2015-05-15 10:13:40 +03:00
huade
8c66a7c2f8
update SHA1 table as long time cost on travis
2015-05-14 18:09:11 +08:00
Martin Storsjö
7a80c21526
Reformat tables without tabs
2015-05-13 22:06:58 +03:00
Martin Storsjö
dd913ef878
Don't use tabs for indentation in multi-line macros
...
The astyle configuration makes sure normal code is indented consistently
with 2 spaces, but astyle doesn't seem to touch the indentation in
these multi-line macros.
2015-05-13 22:06:54 +03:00
Haibo Zhu
61b82d28c4
Add framerate & spatialbitrate comparison for encoder UT
2015-05-05 18:53:50 -07:00
Martin Storsjö
ad9e65b96a
Remove trailing whitespace in the iOS codec unittest files
2015-05-04 12:47:19 +03:00
Martin Storsjö
8d34c68ad6
Add a missing newline at the end of a file
...
Some tools (like git) complain if a file lacks a newline at
the end of a file, and some editors will automatically readd
it when editing such files.
2015-05-04 12:46:48 +03:00
Martin Storsjö
a9c6a9d760
Remove tabs from the end of lines like ") {"
2015-04-29 15:49:28 +03:00
Martin Storsjö
b1570b17be
Convert mixed tabs to spaces in shell scripts
...
All other shell scripts use spaces for indentation.
2015-04-27 14:10:09 +03:00
Martin Storsjö
8e26d9c31c
Astyle the android unittest java file
2015-04-27 14:03:15 +03:00
Martin Storsjö
31a9fb6913
Remove trailing whitespace
2015-04-27 14:02:28 +03:00
Martin Storsjö
75251b5af7
Remove stray spaces before colon in messages
2015-04-22 09:19:59 +03:00
Haibo
e9916c7592
Add Transform 8x8 support
...
Add Intra 8x8 support
Add no_deblocking support inside T8x8
Add CABAC parse support
Add static data sheet for dequant
Fix bugs and clean/astyle the code
Remove build warnings
Modify the UT cases
Fix the ParseNalHeader bug
2015-04-20 04:04:30 -07:00
huade
f092b2a478
add ut demo for wp8
2015-04-17 14:10:12 +08:00
Sijia Chen
8c2ee58fd9
update the SHA table because of default setting changed
2015-04-16 12:46:11 +08:00
Sijia Chen
1922b533f6
change the range of frame rate from 30 to 60
2015-04-16 12:45:43 +08:00
ruil2
4c352d13f3
fix vui writting
2015-03-25 14:10:18 +08:00
huili2
a384df3246
Merge pull request #1868 from huili2/wels_common_basis
...
merge common part of wels_common_basis
2015-03-24 09:18:43 +08:00
sijchen
da8646f5b2
Merge pull request #1865 from ruil2/vui
...
update bGapsInFrameNumValueAllowedFlag according to parameters setting
2015-03-23 09:50:09 +08:00
huili2
403cc57dc6
merge common part of wels_common_basis
2015-03-20 12:44:00 +08:00
ruil2
e7fb44c451
update tables and update ut for different return value
2015-03-18 16:05:16 +08:00
ruil2
cce966fbba
update bGapsInFrameNumValueAllowedFlag according to parameters setting
2015-03-18 13:44:03 +08:00
Martin Storsjö
18a595468f
Avoid shadowing variables within functions
...
There is already a variable int iIdx declared just a few lines
above.
2015-03-17 09:44:08 +02:00
Martin Storsjö
09fcc93575
Initialize iLastCorrectFrameNum in GetOptionLTR_ALLLTR
...
This avoids valgrind warnings about uninitialized variables
in case the random uiIDRPicId actually turns out to be correct.
2015-03-16 11:08:49 +02:00
ruil2
ae9c5e2516
update vui parameters
2015-03-13 19:11:10 +08:00
ruil2
c109f4dc8d
add VUI for base layer
2015-03-13 14:31:08 +08:00
huashi
82cd357bae
fixed bug for UT--setoptionParamExt
2015-03-06 13:47:08 +08:00
Sijia Chen
2c44dbae5c
[UT] add more condition to improve the coverage of DecoderCrashTest
...
https://rbcommons.com/s/OpenH264/r/1132/
2015-03-05 13:22:48 +08:00
huili2
06b8e1abb7
allow slice-level data come in for parse only
2015-03-04 00:57:43 -08:00
Martin Storsjö
c301db696e
Remove a stray srand
...
The individual tests shouldn't reseed the random number generator
(other than for local debugging).
Hardcoding a specific random seed here leads to this test (and
all subsequent tests) not testing things randomly as intended, but
always testing the same parameters.
2015-02-27 12:06:44 +02:00
Martin Storsjö
7208ed14b1
Store a const char* instead of a std::string in gtest parameter arrays
...
This avoids valgrind warnings about using unintialized data.
2015-02-19 14:52:11 +02:00
Sijia Chen
f9080ac090
complete logic of simulcastavc with sps_pps_listing
2015-02-11 17:31:17 +08:00
dong zhang
7d6d86b63a
add a UT for large picture
2015-02-11 16:31:00 +08:00
Sijia Chen
943981abc4
fix a nal generation for simulcast avc and add nal-type check for simulcast avc UT
2015-02-09 13:50:31 +08:00
ruil2
8fc2af760f
Merge pull request #1804 from sijchen/fix_over3
...
[Encoder] fix potential overflow under large bit rate
2015-02-06 14:22:01 +08:00
ruil2
296ab4d490
Merge pull request #1802 from sijchen/savc50
...
[Encoder] fix for in-middle changing simulcast avc setting
2015-02-06 14:21:47 +08:00
Sijia Chen
431bcee310
1, update the max-nal-size setting in UT and param check since we are using a larger input check
...
2, fix potential overflow (will change bs but little impact on bs)
2015-02-06 13:24:20 +08:00
ruil2
7d055cae94
Merge pull request #1786 from sijchen/fix_over
...
improve error logging in UT
2015-02-06 12:17:56 +08:00
Sijia Chen
bc1b28b5dd
fix for in-middle changing simulcast avc setting
2015-02-05 16:34:28 +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
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
Martin Storsjö
e4a278620b
Remove dependencies on the decoder internals in unit test for the common library
2015-02-02 12:44:04 +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
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ö
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