dong zhang
2e5243e5fc
add timestamp in decoder
2014-11-26 13:03:46 +08:00
sijchen
f48b2e55ba
Merge pull request #1553 from ruil2/max2
...
add maxbitrate verification
2014-11-25 09:14:39 -08:00
ruil2
d543ae89db
add maxbitrate verification
2014-11-25 17:12:06 +08:00
Martin Storsjö
29da6a600a
Initialize the bParseOnly field in DecoderInterfaceTest::TestInitUninit
...
This fixes valgrind warnings about using uninitialized data
in this test.
2014-11-25 09:59:25 +02:00
huili2
b231e3f000
parse only add and UT
2014-11-24 00:04:36 -08:00
Martin Storsjö
deefdcee10
Use & 0xff instead of WELS_CLIP3(, 0, 255)
...
This speeds up the whole EncoderInterfaceTest to about double
the speed from before.
2014-11-14 10:41:21 +02:00
Martin Storsjö
45c322a8ae
Reduce the number of rounds in DecoderCrashTest
...
Currently this one single test accounts for 12-20% of the total
runtime of running the unit test suite.
2014-11-14 10:41:21 +02:00
Martin Storsjö
9ec743c156
Use the right data type for a variable
...
Both pNalLengthInByte[] that are accumulated, and sFbi.iFrameSizeInBytes
that it is compared to, are plain 'int', not 'uint32_t'.
This fixes warnings about comparison between signed and unsigned.
2014-11-14 09:47:49 +02:00
Sijia Chen
b56b8725fc
add total length in encoder output and complete most of the statistis calculation
2014-11-13 13:56:58 -08:00
Martin Storsjö
2453676960
Cast to the right data type to avoid comparison warnings in gcc
2014-11-13 10:48:45 +02:00
ruil2
9ba0a1d977
Merge pull request #1522 from sijchen/after_review
...
[Encoder] fix a calculation of fAverageFrameRate
2014-11-12 12:29:13 +08:00
Sijia Chen
cd5928d397
fix a calculation of fAverageFrameRate
2014-11-11 16:12:38 -08:00
huili2
fd45e7ff15
EC UT fail bug fix
2014-11-10 17:56:26 -08:00
sijchen
8b49f98475
Merge pull request #1507 from ruil2/init
...
remove repeat initialization
2014-11-09 18:07:21 -08:00
ruil2
843955bc06
Merge pull request #1511 from mstorsjo/check-fread-return-value
...
Check the return value of fread
2014-11-09 09:35:26 +08:00
Martin Storsjö
80bfc43df5
Check the return value of fread
...
This silences warnings on linux/gcc.
2014-11-07 11:24:30 +02:00
Martin Storsjö
50e2eb5e3c
Change integer literals to unsigned to avoid warnings about comparison between signed and unsigned
...
This fixes warnings in gcc.
2014-11-07 11:19:19 +02:00
ruil2
ac404ce69d
remove repeat initialization
2014-11-07 14:58:43 +08:00
HaiboZhu
44013d4cd5
Merge pull request #1504 from syureyi/android_bugfix
...
android platform bug fix
2014-11-06 21:31:03 +08:00
dongzha
789603a8b1
Merge pull request #1503 from huili2/ec_crossIDR
...
enable cross IDR EC method
2014-11-06 17:24:17 +08:00
zhuiling
7fa6c576e3
android platform bug fix
2014-11-06 17:15:42 +08:00
sijchen
5cb5c28331
Merge pull request #1500 from syureyi/decoderstatics
...
decoder statictis adding
2014-11-06 14:25:04 +08:00
zhuling13
45ef803e4d
decoder statictis adding
...
mem
mem
decstatictis
time change
time change
set decTime=0
2014-11-05 22:01:32 -08:00
huili2
32697b046b
add a simple UT for debugging decoder crash
2014-11-03 23:05:34 -08:00
huili2
103fa5bbed
enable cross IDR EC method
2014-11-03 22:11:49 -08:00
Martin Storsjö
c1b48640fb
Don't try to use pow(int,int)
...
When building for android or older MSVC versions, this makes the build
fail, when it is ambiguous which pow() overload to use, when there
is no function matching pow(int, int).
2014-11-03 11:23:10 +02:00
dong zhang
cf85745752
add decoder cabac support and add UT
2014-11-03 10:03:43 +08:00
sijchen
c7b5051738
Merge pull request #1469 from shihuade/APIUTV1.5.2
...
refactor --for BaseEncoderTest
2014-11-03 09:31:11 +08:00
Martin Storsjö
53e2f67e80
Set constraint set 0 and 1 flags for non-scalable as well
...
This allows decoders to know that a baseline stream doesn't
contain any of the features that aren't in the constrained
baseline subset.
Set the flags based on what profile we target.
2014-10-31 10:48:09 +02:00
Martin Storsjö
ec0d151879
Make sure the width/height is large enough in SetOptionEncParamExt
...
When using 4 downsampled layers, make sure the random width/height
is large enough that the downsampled layers don't have a zero size.
Since the value never will be too small now, there's no need to
use WELS_CLIP3 any longer.
2014-10-30 08:54:18 +02:00
sijchen
3a1f0a3d95
Merge pull request #1471 from mstorsjo/fix-warnings
...
Remove unused variables and an impossible condition
2014-10-30 09:10:08 +08:00
Martin Storsjö
1c2940479d
Silence warning logging while running tests that can produce errors
2014-10-29 22:44:40 +02:00
Martin Storsjö
2907cb2875
Remove an impossible condition
...
uiIntraPeriod is unsigned, and thus can't ever be negative.
The subtraction on the line above can't ever make the value wrap
around either, since param_.uiIntraPeriod % uiGOPSize always is
smaller than or equal to param_.uiIntraPeriod. Thus, the check
never is necessary even if the value would be signed either.
This fixes warnings when building with clang.
2014-10-29 22:07:21 +02:00
Martin Storsjö
a625dc836d
Remove unused variables
2014-10-29 22:07:20 +02:00
huashi
54c24dfd60
refactor --for BaseEncoderTest
2014-10-29 17:53:08 +08:00
ruil2
58cc29225e
Merge pull request #1463 from sijchen/after_review4
...
[Encoder] for reference selection under screen
2014-10-29 17:17:07 +08:00
huashi
26615fffd0
set option for ParamExt----random cases
2014-10-28 20:36:33 +08:00
Sijia Chen
4fab8c2ee7
for reference selection under screen:
...
1, ref_list_mgr_svc.cpp, Ln314: fix a wrong DeleteLTRFromLongList which should not be used under screen strategy
2, ref_list_mgr_svc.cpp, Ln910: remove the frame which is furthest in distance to the current frame in ref list
3, wels_preprocess.cpp: use scene LTR ref list when the current frame is scene LTR
-, ref_list_mgr_svc.cpp, Ln811: add DEBUG trace
reviewed at: https://rbcommons.com/s/OpenH264/r/870/
2014-10-28 16:58:59 +08:00
ruil2
abc01e6b81
add encoder cabac support
2014-10-27 13:06:33 +08:00
ruil2
2dbb757d30
Merge pull request #1451 from sijchen/for_format
...
Fixes and change naming
2014-10-24 15:18:55 +08:00
Sijia Chen
6a2a4efef6
fix names to keep consistent of style
...
improve UT to cover more cases under GetStatistics
2014-10-24 14:39:50 +08:00
Martin Storsjö
f0c6891627
Add casts to avoid warnings about comparison between signed and unsigned
2014-10-24 09:05:32 +03:00
huili2
dcdcc7f3b8
Merge pull request #1443 from dongzha/AddUTSwitch
...
add UT for sim-SVC layer switch
2014-10-24 10:21:36 +08:00
sijchen
43c62d06eb
Merge pull request #1439 from sijchen/for_format
...
[Reformat] format cpp files for next release
2014-10-24 09:00:36 +08:00
Martin Storsjö
57aae73d4c
Add casts to avoid warnings about comparison between signed and unsigned
2014-10-23 14:20:38 +03:00
huili2
23b5a61153
Merge pull request #1429 from sijchen/add_statistics1
...
[Encoder] add EncoderStatistics
2014-10-23 18:02:23 +08:00
Sijia Chen
4e89e71e8f
reformat cpp files for unit tests
2014-10-23 17:54:33 +08:00
dong zhang
769c38d4c4
add UT for sim-SVC switch
2014-10-23 15:50:43 +08:00
Martin Storsjö
7720f2cc5d
Add literal CRLF at the end of nasm commands that are missing them
...
These are added by MSVC as soon as the file is touched anyway.
This avoids stray changes to the files if the files are resaved
from within the IDE.
2014-10-22 10:14:08 +03:00
Sijia Chen
a765197b73
add interface and basic implementaion and UT for EncoderStatistics
2014-10-22 11:35:17 +08:00