Haibo Zhu
79891067e9
Debug for codenomicon bits, when one picture contains diff types of slices(I, P),may request null ref list.
2014-07-10 20:17:18 -07:00
huili2
209c607020
add return info for all cases
2014-07-09 23:06:40 -07:00
huili2
adb0fa498f
astyle all cpp files
2014-07-08 20:01:42 -07:00
huili2
581f8fdf79
decrease dec log size
2014-07-08 19:46:01 -07:00
huili2
6897398175
Merge pull request #1112 from huili2/EC_IDR_request
...
mark decoder always ECed status until correct IDR comes
2014-07-09 09:33:38 +08:00
huili2
1a58488aeb
new IDR inserted as GREY
2014-07-08 17:58:23 -07:00
huili2
ce43674703
mark decoder always ECed status until correct IDR comes
2014-07-08 08:42:31 -07:00
dongzha
6489e7b38a
Merge pull request #1096 from huili2/early_stop_parse_rec_bug
...
stop early error for parse/recon MB
2014-07-08 12:49:42 +08:00
huili2
1ec213d5a7
stop early error for parse/recon MB
2014-07-07 21:27:44 -07:00
ruil2
589e40aa67
Merge pull request #1094 from huili2/ec_grey_replace_green
...
use grey instead of green in EC without ref
2014-07-07 17:39:37 +08:00
huili2
fb6379eeb1
use grey instead of green in EC without ref
2014-07-07 02:24:51 -07:00
HaiboZhu
f22a9e890f
Merge pull request #1093 from huili2/ec_return_error
...
LTR feedback check in decoder
2014-07-07 15:58:20 +08:00
huili2
60314ff570
LTR feedback check in decoder
2014-07-06 19:17:50 -07:00
huili2
5a60d0fef4
Merge pull request #1090 from HaiboZhu/Debug_ExpandBsBuffer
...
Remove warning
2014-07-07 10:17:41 +08:00
Haibo Zhu
863852259d
Remove warning
2014-07-06 19:04:59 -07:00
huili2
f1a0a81226
dpb uninitial crash for EC
2014-07-04 20:40:41 -07:00
Haibo Zhu
8e400f19d2
Debug about the ExpandBsBuffer (have no Bs buffer offset reset)
2014-07-04 04:19:16 -07:00
huili2
3f5f0d6a57
add missing ASM in EC
2014-07-03 18:43:52 -07:00
Martin Storsjö
4af37a7d21
Move common tables and definitions into the common library
2014-06-30 09:03:10 +03:00
Martin Storsjö
44ebe7dea4
Rename a decoder macro to the name used in the encoder
2014-06-30 09:03:10 +03:00
Martin Storsjö
578060373a
Rename data types in the decoder to match the name used in the encoder
2014-06-30 09:03:10 +03:00
Martin Storsjö
eb7cdf2bda
Rename some decoder tables to match the name used in the encoder
2014-06-30 09:03:10 +03:00
Martin Storsjö
4aa22da812
Remove an unused constant
2014-06-30 09:03:10 +03:00
zhilwang
2b038fa73b
Merge pull request #1037 from mstorsjo/unify-align-macros
...
Unify macros for alignment
2014-06-30 10:09:05 +08:00
Martin Storsjö
f300476468
Use the ALIGNED_DECLARE macro instead of __align16
2014-06-29 00:36:02 +03:00
Martin Storsjö
b406f4471a
Fix a typo in arm64 assembly macros, ARCH64 -> AARCH64
2014-06-27 23:52:20 +03:00
dongzha
f8ca91f317
Merge pull request #1025 from huili2/EC_return_error
...
add return error if data lost
2014-06-27 15:56:02 +08:00
huili2
b55f1bdfe2
add return error if data lost
2014-06-26 22:20:58 -07:00
ruil2
1ffcd36c70
change void* to explicit type definition
2014-06-27 11:34:47 +08:00
ruil2
fa138e866a
trace fix
2014-06-27 10:52:03 +08:00
ruil2
275d7efbc9
Merge pull request #1021 from mstorsjo/remove-unused-declarations
...
Remove some unused declarations and tables
2014-06-27 09:03:02 +08:00
Martin Storsjö
f7ba0e4d1c
Make some tables const where easily possible
2014-06-26 15:24:30 +03:00
Martin Storsjö
1f88cbf49e
Remove an unused global non-const table
2014-06-26 15:19:20 +03:00
huili2
dc3fae4477
astyle all
2014-06-25 18:50:41 -07:00
Martin Storsjö
b76714719e
Print an intX_t by casting to int64_t
...
The internal intX_t is either int32_t or int64_t depending on
platform bitness. Since there is no existing printf format for
such an integer, cast it to an int64_t and use the right
printf format for that instead.
This avoids warnings when building with clang.
2014-06-25 09:19:23 +03:00
Martin Storsjö
30058e091f
Remove the executable bit from aarch64 assembly source files
2014-06-22 21:36:22 +03:00
huili2
fa0eee2470
Merge pull request #990 from zhilwang/arm64-intrapred
...
Add Arm64 neon Intra-pred code
2014-06-21 07:03:24 +08:00
huili2
777a3951aa
Merge pull request #995 from huili2/permit_mb_re-con
...
enable MB re-decoding
2014-06-21 07:02:27 +08:00
huili2
f9152e6f40
fix crash 1027692
2014-06-20 02:21:54 -07:00
huili2
95012b0af6
enable MB re-decoding
2014-06-20 02:01:02 -07:00
dongzha
dd5b9b89f6
Merge pull request #991 from huili2/reorder_output_EC
...
put EC before output
2014-06-20 16:19:14 +08:00
Haibo Zhu
daf67d607f
add win 64 warnings remove
2014-06-19 18:31:39 -07:00
ruil2
1111757977
Merge pull request #967 from dongzha/Deblock_AArch64
...
add arm 64 deblock code and Unit Test code
2014-06-16 17:19:25 +08:00
root
67afd91888
put EC before output
2014-06-15 23:14:31 -07:00
zhiliang wang
cfc2b95f59
Refine some code
2014-06-13 16:06:45 +08:00
zhiliang wang
947e3c64fe
Add arm64 code for intra-pred
2014-06-13 15:21:48 +08:00
dongzha
53f77ee7b5
Merge pull request #954 from huili2/instant_dec
...
enable no-delay decoding for MSlice
2014-06-13 10:58:25 +08:00
Martin Storsjö
b2cf56c618
Set a log context in the decoder
2014-06-11 08:08:55 +03:00
Martin Storsjö
4e428ab020
Add a log context to the encoder and decoder contexts
...
This will allow setting non-global logging callbacks, that
are different for each encoder or decoder instance.
2014-06-11 08:08:29 +03:00
huili2
6f0cdd14f8
enable no-delay decoding for MSlice
2014-06-10 19:25:57 -07:00
dongzhang
0e0c8b5569
add arm 64 deblock code and Unit Test code
2014-06-10 11:23:51 +08:00
ruil2
4c12f8970c
cleanup trace module
2014-06-10 10:24:45 +08:00
HaiboZhu
08377f37f3
Merge pull request #916 from huili2/dynamic_dec_au_size
...
enable dynamic AU size in decoder
2014-06-06 14:27:08 +08:00
Licai Guo
ba1716d846
remove unused argument pBlock
2014-06-03 06:36:07 -07:00
Martin Storsjö
57f6bcc4b0
Convert all tabs to spaces in assembly sources, unify indentation
...
Previously the assembly sources had mixed indentation consisting
of both spaces and tabs, making it quite hard to read unless
the right tab size was used in the editor.
Tabs have been interpreted as 4 spaces in most cases, matching
the surrounding code.
2014-06-01 01:35:43 +03:00
Martin Storsjö
faaf62afad
Get rid of double spaces in macro declarations
2014-06-01 01:13:01 +03:00
Martin Storsjö
ac03b8b503
Avoid unnecessary tabs in macro declarations
2014-06-01 01:13:01 +03:00
Martin Storsjö
1884c06652
Remove a redundant definition of WELSEMMS
...
The same definition already exists in asm_inc.asm.
2014-06-01 01:13:01 +03:00
ruil2
14e5d740cd
clean up expand picture.
2014-05-30 11:05:31 +08:00
huili2
bed18c26c3
enable dynamic AU size in decoder
2014-05-29 18:15:16 -07:00
huili2
0adb3e1b9c
remove macro NO_WAITING_AU for always on
2014-05-28 17:56:56 -07:00
huili2
20295c68fd
expand the bs buffer size
2014-05-21 00:35:25 -07:00
huili2
7c6debbef6
add single function for new seq detection
2014-05-19 19:55:06 -07:00
HaiboZhu
0c326fa302
Merge pull request #845 from huili2/bs_buffer_modif
...
modify bs buffer size to double the AU size at decoder
2014-05-15 16:30:18 +08:00
Martin Storsjö
e9e4d0a073
Remove unnecessary writing of nal length in the decoder
...
The written nal length doesn't seem to be used at all.
2014-05-15 09:44:35 +03:00
huili2
b63332de80
modify bs buffer size to double the AU size
2014-05-14 19:43:14 -07:00
huili2
eb1276013b
clear active PS when only IDR meets
2014-05-12 22:02:39 -07:00
huili2
51c918f212
for PS error logic for EC
2014-05-09 01:12:08 -07:00
huili2
1839910bb0
fix order of new AU and new Seq
2014-05-07 17:56:31 -07:00
huili2
5ed24f216b
astyle all files
2014-05-05 19:30:21 -07:00
huili2
5e6ef17412
fix new sequence&EC order, and prefix parse bug
2014-04-29 20:00:12 -07:00
HaiboZhu
c27c02bc0a
Merge pull request #764 from dongzha/Deblock
...
Remove useless code
2014-04-29 14:50:22 +08:00
dongzha
4f8edb946d
Merge pull request #763 from huili2/ec_bug_fix
...
fix some bugs of EC
2014-04-29 14:27:58 +08:00
dongzhang
793c80df8b
Remove useless code
2014-04-29 14:14:47 +08:00
huili2
f148a8a7ae
Merge pull request #755 from licaiguo/refine-pNzc
...
refine pNzc set access
2014-04-28 16:21:36 +08:00
huili2
0cd3f9d952
fix some bugs of EC
2014-04-28 00:48:38 -07:00
huili2
9d1af8c378
Merge pull request #751 from huili2/NewSeq_replace_I
...
use new seq instead of I slice
2014-04-28 13:40:15 +08:00
Licai Guo
669d704fac
refine pNzc set access
2014-04-26 16:36:16 -07:00
huili2
0c544962d8
use new seq instead of I slice
2014-04-25 01:46:00 -07:00
huili2
c65d250817
fix bug of new seq check
2014-04-24 22:11:42 -07:00
huili2
593e291d19
fix typo of IDR loss
2014-04-24 02:26:40 -07:00
huili2
c4ab780d21
Merge pull request #732 from licaiguo/forJS
...
specify accurate align information for ST32
2014-04-24 16:50:00 +08:00
Licai Guo
fe23d53acc
Merge pull request #744 from huili2/ec_IdrLoss
...
enable the case for IDR loss
2014-04-24 16:47:36 +08:00
Licai Guo
41698901c1
Merge pull request #743 from huili2/ec_refidx_return
...
prevent from return if ref_idx is error
2014-04-24 16:47:20 +08:00
huili2
314005435e
enable the case for IDR loss
2014-04-23 23:13:12 -07:00
Licai Guo
bada2d35bf
fix bNewSeqBegin logic
2014-04-23 18:50:11 -07:00
Martin Storsjö
a842f14a3c
Remove .orig files left over from running astyle
2014-04-23 09:24:23 +03:00
huili2
13db7fea7b
prevent from return if ref_idx is error
2014-04-22 22:43:40 -07:00
dongzhang
ad9e2dab4f
Add Motion Compehension ARM64 Neon Code
2014-04-23 13:26:28 +08:00
Licai Guo
b47606a4ff
Merge pull request #733 from dongzha/ExpandPic_ARM64
...
Add expand picture support for ARM64 NEON
2014-04-23 09:57:39 +08:00
dongzhang
2444327a6c
Add expand picture support for ARM64 NEON
...
Remove duplicate MACROS
2014-04-23 09:14:32 +08:00
Licai Guo
17c00f03d6
specify accurate align information for ST32,
...
remove redundant init
2014-04-22 00:30:39 -07:00
Licai Guo
9c5402837e
Merge pull request #730 from huili2/rm_warn_dec_core
...
remove warning from decoder_core.cpp
2014-04-22 15:15:35 +08:00
Licai Guo
5a845f97d3
Merge pull request #731 from huili2/ec_dec_error
...
prevent from return if slice decoding error for EC
2014-04-22 15:15:25 +08:00
huili2
afe8a44d5b
Merge pull request #726 from licaiguo/refine-auready
...
refine Check AU boundary
2014-04-22 15:03:28 +08:00
huili2
5c064ed275
prevent from return if slice decoding error for EC
2014-04-21 23:27:48 -07:00
huili2
bf9f25d2e8
remove warning from decoder_core.cpp
2014-04-21 23:20:30 -07:00
Licai Guo
97c65b396d
refine Check AU boundary
2014-04-21 18:21:07 -07:00
Licai Guo
883e89e0d2
Merge pull request #720 from huili2/ec_add_ref_mgt
...
add DPB management if frame loss happens
2014-04-21 14:38:37 +08:00
Licai Guo
7dfc49ec39
Merge pull request #718 from huili2/LTR_feedback_info
...
modify sequence to fix bug for LTR feedback info
2014-04-21 14:38:16 +08:00
huili2
d031509474
add DPB management if frame loss happens
2014-04-20 22:59:25 -07:00
huili2
0c45cbb1ec
modify sequence to fix bug for LTR feedback info
2014-04-20 22:22:24 -07:00
ruil2
c01b0f4f92
Merge pull request #716 from licaiguo/ForJS
...
Specify accurate align information for mc copy and intrapred c functions
2014-04-21 11:05:38 +08:00
Licai Guo
4e041d625f
Minor optimzation on iRun for cavlc
2014-04-20 00:33:48 -07:00
Licai Guo
5ba3ead015
specify accurate align information for intrapred c functions
2014-04-19 00:56:00 -07:00
Licai Guo
039a547804
give accurate align information for mc copy functions
...
this can improve the performance for target like javascript
2014-04-19 00:33:23 -07:00
huili2
7d99aa4e22
Merge pull request #713 from licaiguo/overwriteactivesps
...
overwriteactivesps
2014-04-18 13:16:18 +08:00
Licai Guo
79ed744923
overwriteactivesps
2014-04-17 02:25:41 -07:00
huili2
bc2c4b0db0
add EC frame/slice copy.
2014-04-16 01:44:35 -07:00
Licai Guo
e8d8bdc48e
Merge pull request #689 from huili2/add_file_CopyMB_EC
...
divide copy_mb functions into new file for decoder use from encoder and ...
2014-04-15 16:20:08 +08:00
huili2
4ab8c88e98
divide copy_mb functions into new file for decoder use from encoder and add files for EC in decoder only.
2014-04-14 20:17:41 -07:00
Licai Guo
16cfb0a937
add track sps change for each layer
2014-04-14 00:17:44 -07:00
Licai Guo
4ba216b000
Merge pull request #655 from huili2/EC_interface
...
add interface for error concealment, to be continued
2014-04-09 09:12:22 +08:00
Martin Storsjö
3dcd458ffd
Remove trailing whitespace in the source files
2014-04-08 18:13:23 +03:00
huili2
79c0cec248
add interface for error concealment, to be continued
2014-04-07 22:53:39 -07:00
Ethan Hugg
c644879cf9
Merge pull request #598 from varunbpatil/compiler_warnings
...
Remove compiler warnings
2014-04-01 10:57:19 -07:00
Licai Guo
9ac1cd0a17
add layer sps/pps to decoder context
2014-03-30 18:50:34 -07:00
Varun B Patil
6663743f4c
Remove compiler warnings
2014-03-30 15:13:29 +05:30
Licai Guo
e0ef0cabdd
Merge pull request #555 from huili2/remove_unused_func
...
rephrase blockzero function complexity and remove useless functions
2014-03-20 15:57:50 +08:00
wayne liu
06c534d9f2
rephrase blockzero function complexity and remove useless functions
2014-03-19 23:43:55 -07:00
Licai Guo
a688f5278a
fix most of the warnings
2014-03-19 01:16:08 -07:00
volvet
7313ecdbd0
Merge pull request #538 from mstorsjo/use-apple-builtin-define
...
Use __APPLE__ instead of APPLE_IOS for apple/arm specific features
2014-03-19 09:45:56 +08:00
Licai Guo
4bbe61a783
Merge pull request #537 from mstorsjo/rename-x86-asm
...
Rename the asm subdirectories to x86
2014-03-19 08:51:39 +08:00
Licai Guo
d897d362ab
Merge pull request #532 from huili2/WELS_CLIP1
...
Modify MACRO WELS_CLIP1 as inline functions
2014-03-19 08:50:04 +08:00
Martin Storsjö
9586c59b9e
Use __APPLE__ instead of APPLE_IOS in the arm assembly sources
2014-03-18 23:15:49 +02:00
Martin Storsjö
ed9c03408f
Rename the asm subdirectories to x86
...
This is consistent with having the arm assembly in a subdirectory
called arm.
2014-03-18 23:09:45 +02:00
Ethan Hugg
197423f271
Merge pull request #520 from ylatuya/master
...
Fix compiler warnings and remove dead code
2014-03-18 13:28:02 -07:00
Andoni Morales Alastruey
8be8fe1775
Fix compiler warning -Werror=maybe-uninitialized
2014-03-18 19:15:25 +01:00
Andoni Morales Alastruey
e9e332bf4c
Fix -Werror=sign-compare compiler warnings
2014-03-18 19:15:25 +01:00
Andoni Morales Alastruey
ae60f1bee9
Fix compiler warnings and remove dead code
...
Fix several -Werror=unused-variable and -Werror=unused-but-set-variable
and removed dead code found with this warnings
2014-03-18 19:15:25 +01:00
huili2
090e8cc1ed
modify WELS_CLIP1 to be inline functions
2014-03-18 01:54:25 -07:00
volvet
b21411ad7c
Merge pull request #511 from mstorsjo/remove-unused-define
...
Remove the unused FORMAT_COFF define
2014-03-18 16:11:22 +08:00
volvet
fb1958ad13
Merge pull request #519 from mstorsjo/push-xmm-registers
...
Backup/restore the xmm6-xmm15 SSE registers within asm functions on win64
Reviewed by zhiliang
2014-03-18 15:04:54 +08:00
Martin Storsjö
3cf52554f7
Backup/restore the xmm6-xmm15 SSE registers within asm functions on win64
...
According to the Win64 ABI, these registers need to be preserved,
and compilers are allowed to rely on their content to stay
available - not only for float usage but for any usage, anywhere,
in the calling C++ code.
This adds a macro which pushes the clobbered registers onto the
stack if targeting win64 (and a matching one which restores them).
The parameter to the macro is the number of xmm registers used
(e.g. if using xmm0 - xmm7, the parameter is 8), or in other
words, the number of the highest xmm register used plus one.
This is similar to how the same issue is handled for the NEON
registers q4-q7 with the vpush instruction, except that they needed
to be preserved on all platforms, not only on one particular platform.
This allows removing the XMMREG_PROTECT_* hacks, which can
easily fail if the compiler chooses to use the callee saved
xmm registers in an unexpected spot.
2014-03-17 13:44:33 +02:00
Martin Storsjö
eec968234d
Fold ALIGN 16 and the function label into WELS_EXTERN
...
This simplifies the structure for all x86 assembly functions,
reducing the amount of duplicated code structure.
2014-03-17 13:35:00 +02:00
Martin Storsjö
f96918283f
Remove commented out code for old, 32-bit only x86 assembly function prologues/epilogues
2014-03-17 11:20:11 +02:00
Licai Guo
b5a4d706b9
Merge pull request #496 from mstorsjo/use-sign-extend-macro
...
Use the SIGN_EXTENSION macro where possible
2014-03-17 16:31:03 +08:00
Licai Guo
2c796337ba
Merge pull request #510 from huili2/remove_basemb
...
remove BASE_MB related code
2014-03-17 08:46:25 +08:00
Martin Storsjö
fc260b39e0
Remove the unused FORMAT_COFF define
...
Nothing in the project currently sets FORMAT_COFF - the other generic
branch works just fine on windows.
2014-03-16 17:54:55 +02:00
Martin Storsjö
eb238e6549
Use the SIGN_EXTENSION macro where possible
...
This shortens the x86 assembly by 134 lines in total.
2014-03-16 17:54:24 +02:00
Martin Storsjö
ce8da27287
Format x86 assembly constants in a yasm compatible manner
...
This is similar to what was done in a6463be0cc
- yasm requires
these constants to have a zero after $.
2014-03-15 14:38:28 +02:00
huili2
b1f596fd69
remove BASE_MB related code
2014-03-14 02:03:41 -07:00
Licai Guo
f589c580eb
clean redundant checks in decoder
2014-03-13 23:56:54 -07:00
Licai Guo
8492aac917
Merge pull request #486 from huili2/nzc_bug_fix
...
nzc bug fix and clear
2014-03-14 13:11:45 +08:00
huili2
734e60aeeb
add according to review opinion
2014-03-13 20:21:10 -07:00
Licai Guo
5bffb627d6
nzc bug fix and clear
2014-03-13 19:31:28 -07:00
Martin Storsjö
811c647c0e
Remap registers to avoid clobbering the neon registers q4-q7
...
According to the calling convention, the registers q4-q7 should be
preserved by functions. The caller (generated by the compiler) could
be using those registers anywhere for any intermediate data.
Functions that use 12 or less of the qX registers can avoid
violating the calling convention by simply using other registers instead
of the callee saved registers q4-q7.
This change only remaps the registers used within functions - therefore
this does not affect performance at all. E.g. in functions using
registers q0-q7, we now use q0-q3 and q8-q11 instead.
2014-03-10 22:07:25 +02:00
Licai Guo
731a1466e6
Merge pull request #469 from huili2/svc_sh_bug_fix
...
modify and correct SVC slice header parse
2014-03-10 22:09:44 +08:00
Licai Guo
091315f84c
modify and correct SVC slice header parse
2014-03-10 02:37:41 -07:00
Licai Guo
4cc059bf5b
Merge pull request #461 from mstorsjo/fix-asm-comments
...
Remove unnecessary/stray keywords in function signature comments in x86 assembly
2014-03-10 12:29:22 +08:00