Commit Graph

100 Commits

Author SHA1 Message Date
Herman Chen
2fc024529e [osal]: add environment detection function
1. add software runtime detection
2. add hardware platform detection

Change-Id: I75736ae85130325029023d948e4d756e27953af8
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2016-11-08 18:22:29 +08:00
Lin Kesheng
60373a6973 [all]: format code
use fromdos to change file type, remove ^M in code.

Change-Id: I000202dc51fcff57cc0771455baebea595115b1d
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
2016-09-08 15:21:02 +08:00
ChenHengming
4f7f69c1ae [mpp]: fix compile error on windows
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1191 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-11 10:16:44 +00:00
ChenHengming
e179717e0b [mpp]: update mpp debug log
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1124 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-28 11:52:51 +00:00
ChenHengming
1a2551ec3e [mpp_enc]: fix crash in vpu_api_legacy.cpp
[mpi]: use new control macro system

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1050 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-20 07:54:31 +00:00
GaoZhili
3fafb0fe4f commit the avc encode code, now avc encode process is ok
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1048 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-20 07:22:25 +00:00
GaoZhili
3249378118 only format the unformated code to standard style
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1020 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-14 09:34:04 +00:00
ChenHengming
4201f689c0 [format]: format coding style
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@907 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-13 09:47:19 +00:00
ChenHengming
c0866a76f9 [comment]: fix company name hand writing error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@906 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-13 09:42:31 +00:00
ChenHengming
053001c541 [common]: 1. add 32bit runtime function, 2. change uintXX_t to RK definition
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@905 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-12 07:11:52 +00:00
ChenHengming
74bdf736f0 [mpp_thread]: add mpp_log.h for mpp_assert in thread class
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@903 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-12 02:59:24 +00:00
ChenHengming
fa0d33ab9f [osal]: fix mpp_allocator handwriting error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@878 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-06 12:19:38 +00:00
ChenHengming
d24e6800f1 [mpp_log]: use dynamic abort to replace static compiled mpp_abort
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@864 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-02 10:08:19 +00:00
ChenHengming
50277780fc [mpp_thread]: fix compile error on windows and linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@774 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-19 06:35:22 +00:00
ChenHengming
7bd7a300e6 [osal]: better way to set thread name on android/linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@771 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-19 03:08:50 +00:00
ChenHengming
00726d2a77 [mpp_mem]: Add mpp memory snapshot function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@717 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-10 11:36:29 +00:00
DingWei
1ecd3ceaf2 [h265d] add hevc-10bit-4K fast-mode errorinfo mark
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@606 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-16 03:17:10 +00:00
ChenHengming
8199200963 [astyle]: format coding style on linux and remove warning
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@592 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-03-18 06:15:42 +00:00
ChenSiyong
5cf3dcb2dd [mpp_dec] add que display mux for frame que fixed thread async cause push frame que error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@580 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-03-02 02:33:00 +00:00
ChenSiyong
42d89860a3 [vp9_d]fix compile error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@564 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-02-01 09:51:12 +00:00
ChenHengming
cdac24a654 [mpp_thread]: remove warning of timedwait
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@497 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 23:08:05 +00:00
ChenHengming
3f7ef46a14 [osal]: add timedwait
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@493 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 22:49:45 +00:00
ChenHengming
028ebc655c [mpp_time]: add limit mpp time diff print
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@491 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 14:44:06 +00:00
ChenHengming
1265c7f173 [osal]: add time differ function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@486 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 15:30:58 +00:00
ChenHengming
0c69cc591f [mpp]: use __FUNCTION__ to replace __FILE__, add mpp_debug initial and move mpp_debug to osal
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@485 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 14:53:47 +00:00
ChenHengming
85b3592ba8 [hal]: add hal timing function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@483 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 02:33:06 +00:00
DingWei
d57009240d [h264d] update module, which change the dxva interface the same as mircosoft
[hal_h264d]  add on2 hard module, which all intra stream && AVC && seek are OK
[h264d_test] update the demo can be run and ouput raw yuv, which is right 
[vpu_api]    add AVC interface
[mpp_buf_slot] add a return variable value
[mpp_log]    delete some marco define and put these to h264d_log.h

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@448 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-04 14:29:38 +00:00
ChenHengming
107e40bf82 [astyle]: coding style formating
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@438 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-01 20:10:35 +00:00
ChenHengming
23652564dc [mpp_thread]: improve reset lock/condition implement
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@428 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-25 16:50:57 +00:00
ChenHengming
bcf9d5cb60 [mpp_log]: remove unused function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@424 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-22 16:35:10 +00:00
ChenHengming
37479fba8d [mpp_log]: reduce runtime call overhead
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@417 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 20:02:52 +00:00
DingWei
f00ab5693a [vpu_pkt && vpu_reg] add vdpu register setting
[h265d]  deal with warning in vs
[mpp_log] add log function and line
[Astyle]  run Astyle.bat

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@395 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 14:33:14 +00:00
ChenSiyong
838659a23c [mpp]: add seek reset flow
[h265d]:add seek part code

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@381 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-15 15:38:34 +00:00
DingWei
2991f53836 [mpp_log] add FUN_CHECK MEM_CHECK FLE_CHECK macro define from h264d_log.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@375 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-13 00:21:49 +00:00
ChenHengming
e3f49b11aa [allocator]: add import and release function to os/mpp allocator
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@339 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-09 21:59:41 +00:00
DingWei
3c814a49e7 1.add marco define MPP_FREE()
2.delete h264d_bitread.c and h264d_bitread.h, combine it to mpp_bitread.h
3.all stream have passed

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@319 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-29 00:46:18 +00:00
ChenHengming
43f0baf2e9 [hal_task]: change task mechanism to status
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@313 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-28 16:52:30 +00:00
ChenHengming
084b4d0c7d [mpp_mem]: remove pointer clear in mpp_free
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@309 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-27 16:52:33 +00:00
ChenHengming
9daf53a3cd [misc]: move MODULE_TAG definition
[mpp_common]: add entry of error and normal return

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@299 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-24 15:25:10 +00:00
ChenHengming
55ad5dac73 [mpp_common]: use __inline to replace C++ inline
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@271 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 22:02:57 +00:00
ChenHengming
ced8fe0ca0 [mpp_log]: add mpp_abort on debug mode
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@269 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 21:50:46 +00:00
DingWei
c842339aaa [mpp_common.h] add dedine access()
others: deal with bugs which no file opened.
Tips: this version has passed allegro bitstreams.

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@268 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 19:40:34 +00:00
ChenHengming
9b393891a5 [common]: add chdir and mkdir to common.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@267 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-13 23:03:21 +00:00
ChenHengming
7cc518a721 [mpp_list]: add condition to mpp_list
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@253 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 15:17:44 +00:00
ChenHengming
043cbc1827 [astyle]: astyle format
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@247 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 14:54:14 +00:00
DingWei
f43fe273b6 [CMakeLists]: add h264d module
[mpp_mem.h]: add mpp_calloc_size function 
[dec/h264/files]: 7 files for h264d part
[mpp_dec.cpp] change name h264d_parser to api_h264d_parser

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@245 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-08 22:49:52 +00:00
ChenHengming
7facfbaa5c [mpp_list]: change mpp_list lock mechanism
1. add mutex function to mpp_list for auto lock
2. remove all lock in list operation, so lock need to be add externally
[hal_task]: use new mpp_list to implement task group
[mpp_dec/mpp_enc]: change mpp_list usage


git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@231 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 16:06:33 +00:00
ChenHengming
241f6865ad [osal]: add trylock to mutex class
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@230 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 15:29:49 +00:00
ChenHengming
5d255679a6 [osal]: add lock/unlock to mpp_list interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@229 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 15:20:10 +00:00
ChenHengming
a46c542696 [mpp_dec]: add parser deinit call on mpp_dec_deinit
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@213 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 14:26:20 +00:00