Haibo Zhu
46f42ec5f3
Fix the decoder init failed case in UT
2016-03-14 17:06:58 +08:00
huili2
b2d4a95537
fix iAvgLumaQp in decStat
2015-12-11 14:14:42 +08:00
huili2
926fc67451
remove parseonly in decoder ctx
2015-11-27 08:56:20 +08:00
huili2
9fade10d77
disable wrongly calling for parseonly related
2015-11-24 11:11:27 +08:00
Martin Storsjö
eaf4798119
Readd a test for GetOption in TestInitUninit
...
In dc2cbe4
, the previous test for GetOption that succeeds when the
decoder is initialized was removed. Add a GetOption call for a different
option, now that DECODER_OPTION_DATAFORMAT is removed.
2015-11-20 00:17:43 +02:00
Martin Storsjö
b3b083c883
Fully initialize m_sDecParam in TestInitUninit
...
Before dc2cbe4
, the DecoderConfigParam function returned early
since DecoderSetCsp signaled a failure, which is why the uninitialized
parameters weren't read before.
This fixes valgrind warnings about conditional jumps depending on
uninitialized values.
2015-11-20 00:13:42 +02:00
huili2
dc2cbe4a22
remove API data format in decoder in 1.6
2015-11-17 13:58:57 +08:00
Haibo Zhu
628befe8be
Revert "Merge pull request #2217 from huili2/simply_dec_ctx"
...
This reverts commit 27172bafd7
, reversing
changes made to 24916a652e
.
2015-11-13 20:16:03 +08:00
huili2
777dbc09d4
remove bParseonly in ctx using that in param, and slightly modify the initialize process of decoder
2015-10-27 16:12:08 +08: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
sijchen
8bef6bc942
Merge pull request #1738 from huili2/init_EC_modify
...
modify EC init position
2015-01-19 16:36:29 +08:00
huili2
50ce93e31c
modify EC init position
2015-01-18 18:07:27 -08:00
Martin Storsjö
93cb617932
Add a comparison in ASSERT_TRUE
...
This makes sure the compared value actually is bool, not any other
type that can be used as condition.
This fixes warnings with MSVC.
2015-01-16 13:38:06 +02:00
Martin Storsjö
99925984b3
Consistently compare integers with integers and bools with bools
...
MSVC warns when comparing integers with booleans in with the gtest
assertion macros.
2015-01-16 13:37:15 +02:00
dong zhang
2c468b96a9
add flag to count EC Mbs due to ref error
...
add UT
2014-12-11 10:49:55 +08:00
huili2
504cabf106
add dec status for freezing
2014-11-28 00:05:36 -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
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
zhuiling
7fa6c576e3
android platform bug fix
2014-11-06 17:15:42 +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
810d20a59d
bug fix for dataformat UT
2014-09-24 18:04:24 -07:00
huili2
f8d2ae42ef
add protection for decoder and data format
2014-09-23 00:29:23 -07:00
huili2
f82726d7ef
enable api test for decoder VclNal
2014-08-14 00:52:21 -07:00
huili2
ed12e6aa46
test end of stream for decoder API UT
2014-08-04 23:46:11 -07:00
huili2
e8fdd4cf75
setget_dataformat_ut
2014-07-28 18:41:58 -07:00
huili2
adc7be9f01
add decoder UT module for API
2014-07-28 00:33:18 -07:00