Sijia Chen
cd5928d397
fix a calculation of fAverageFrameRate
2014-11-11 16:12:38 -08:00
Sijia Chen
54c677cdd7
fixing OverallMbMap for slice_idx>255 and some log improvements
2014-11-04 09:19:36 +08:00
Martin Storsjö
8ffacf0918
Add casts to avoid warnings about comparison between signed and unsigned
...
This fixes warnings with gcc and msvc.
2014-11-03 11:28:40 +02:00
Martin Storsjö
0e9541247a
Use the right data type for some local variables
...
pDecEngine->uiOffset is an uint64_t as well, and *pSliceNum
is uint32_t.
This fixes warnings about comparison between signed and unsigned
in gcc and msvc.
2014-11-03 11:28:35 +02:00
sijchen
dbd4330508
Merge pull request #1482 from ruil2/cabac_refine
...
add setoption trace
2014-11-03 15:39:45 +08:00
ruil2
c19db25043
add setoption trace
2014-11-03 10:37:07 +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
ruil2
3abd54ca73
Merge pull request #1477 from mstorsjo/avoid-msvc-warnings
...
Avoid warnings when building with MSVC
2014-10-31 15:36:14 +08:00
Sijia Chen
24192cc235
add validation of slice parameters instead of assert
2014-10-30 18:31:50 +08:00
Martin Storsjö
655f3b43b6
Add a cast when converting from int64_t to float
...
This avoids a warning when building with MSVC.
2014-10-30 11:07:22 +02:00
Martin Storsjö
a291470072
Avoid warnings about converting from int to bool
...
MSVC used to warn about this.
2014-10-30 11:06:46 +02:00
ruil2
100de97b49
move cabac table to common
2014-10-30 12:42:09 +08:00
Martin Storsjö
7ce4da8a41
Use WelsLog instead of fprintf for normal runtime errors
2014-10-29 22:45:44 +02: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
Martin Storsjö
f2c1395ab6
Remove the pBuffer parameter from the entropy encoder stash functions
...
The parameter didn't make sense since it only pointed to the
pSliceBsa field, which isn't what should be used to stash
the cabac context.
2014-10-28 14:59:50 +02:00
Martin Storsjö
9a9f92bcfe
Don't stash the cabac state into the SBitStringAux buffer
...
This fixes crashes on some platforms, and fixes valgrind
errors.
2014-10-28 14:59:50 +02: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
sijchen
292d2511e2
Merge pull request #1457 from ruil2/enc_cabac
...
add encoder cabac support
2014-10-28 16:51:56 +08:00
ruil2
abc01e6b81
add encoder cabac support
2014-10-27 13:06:33 +08:00
dong zhang
d3c8ade8d0
fix Rc int32_t bitrate overflow
2014-10-27 09:54:44 +08:00
ruil2
2dbb757d30
Merge pull request #1451 from sijchen/for_format
...
Fixes and change naming
2014-10-24 15:18:55 +08:00
sijchen
34cb0d60aa
Merge pull request #1450 from mstorsjo/avoid-warnings
...
Add casts to avoid warnings about comparison between signed and unsigned
2014-10-24 14:41:51 +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
Sijia Chen
ea9b80adb3
fix a wrong range clip
2014-10-24 14:12:53 +08:00
Martin Storsjö
f0c6891627
Add casts to avoid warnings about comparison between signed and unsigned
2014-10-24 09:05:32 +03:00
Sijia Chen
50fd617e86
roll back the file which is mis-formatted by astyle
2014-10-24 13:04:35 +08:00
Sijia Chen
3cce92ea19
fix a small range of slice idx
2014-10-24 12:28:59 +08:00
sijchen
273e1227a5
Merge pull request #1440 from shihuade/APIUTV1.4
...
fix bug in set option return value
2014-10-24 09:00:56 +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
94a1d4426e
Merge pull request #1437 from sijchen/after_review2
...
[Encoder] add a thread name for easier profiling
2014-10-23 18:03:24 +08:00
huashi
8d5863a170
fix bug in set option return value
2014-10-23 17:51:35 +08:00
Sijia Chen
97298de90a
reformat cpp files for next release
2014-10-23 17:50:50 +08:00
Sijia Chen
41720f8df5
add a thread name for easier profiling
2014-10-23 16:38:05 +08:00
Sijia Chen
a765197b73
add interface and basic implementaion and UT for EncoderStatistics
2014-10-22 11:35:17 +08:00
Sijia Chen
cbe7891300
add clip in ParamTranscode for input para checking
2014-10-21 16:00:46 +08:00
ruil2
5762cbb8fc
Merge pull request #1419 from sijchen/fix_sm4_mt
...
[Encoder] improve the logic of locking in the function
2014-10-17 16:32:40 +08:00
ruil2
89454f0cf9
modify trace level and fix potential issues
2014-10-16 14:57:15 +08:00
Sijia Chen
2479abf5c0
improve the logic of locking in the function
2014-10-15 17:46:59 +08:00
Daniel J. Hofmann
d9e0f2b023
Wtautological-undefined-compare
2014-10-14 23:36:14 +02:00
Daniel J. Hofmann
ba535bda4d
Wextra-semi
2014-10-14 22:56:57 +02:00
Daniel J. Hofmann
1e62aafcde
Wc++11-extensions
2014-10-14 22:20:10 +02:00
Daniel J. Hofmann
4fc27714bd
Wc++11-compat-reserved-user-defined-literal
2014-10-14 22:16:42 +02:00
Ethan Hugg
52419bd13e
Merge pull request #1400 from mstorsjo/warning-fix
...
Fix compiler warnings
2014-10-02 12:26:45 -07:00
Sijia Chen
68fed53687
add checking of frame rate and temporal layer setting for encoder input param
...
Reviewed at https://rbcommons.com/s/OpenH264/r/836/
2014-09-30 17:54:24 +08:00
Martin Storsjö
311272d341
Use the right log format for printing 64 bit integers
2014-09-30 08:56:40 +03:00
ruil2
6b1630cc90
Merge pull request #1396 from lyao2/rc_trace2
...
add debug info for RC max bitrate control test
2014-09-29 17:09:28 +08:00
lyao2
3904c025cb
add debug info for RC max bitrate control test
2014-09-29 15:41:03 +08:00
Sijia Chen
6673a5f71e
1, fix a value in preprocess to avoid warning in UT
...
2, refactor to wrap the operation to m_pSpatialPic into WelsPreprocess
2014-09-28 13:12:16 +08:00
Sijia Chen
cf2cf9efd9
add basic strategy for lossy+no LTR route
2014-09-26 16:40:19 +08:00