Commit Graph

26 Commits

Author SHA1 Message Date
Herman Chen
cd9a1cca3f [misc]: Change interface header file dependency
Move MppCtx, MppParam, MppFrame, MppPacket, MppBuffer, MppBufferGroup,
MppTask and MppMeta to rk_type.h.

Later development need to bring in cross reference between these
objects. So we choose to move these declaration together.

Change-Id: I7ea39138ca87d6ca4cb86556464a5de89d172846
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2019-06-14 10:15:12 +08:00
Herman Chen
496808002d [mpp_impl]: Add tid to dump file
1. User often use multi-instance decoder. The dump file name should has
some way to avoid overlap file operation.
Also an extra stream length config file is added for decoder. For
decoder issue reproducing should stay the same with the real user input
stream seperation.
2. Add mpp operation record file for issue reproduction.
3. ops format is similiar to Android time log.

Change-Id: I4b3702fcb4ae1601579762a6d1d7cadc10861759
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-08-30 15:35:31 +08:00
Ding Wei
76b8c229a2 [mpp]: move dump data from vpu_api_legacy to mpp
tips:
add MppDumpInfo for dump input and output.

Change-Id: Ia2416309e0e6b78671c073ae08409d907e3d0e85
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-08-06 09:10:28 +08:00
Randy Li
50bdc4de6a [mpp]: turn off a lots of message
I think those information are very anxious and useless
in daily usage.

Change-Id: I946418a476a332588b1d9b9722bbd5e93213e8dc
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-11-30 11:32:17 +08:00
Herman Chen
4b41fdd8bc [mpp_platform]: Modify chip vcodec detection
1. Add video codec information and kernel driver device detection code for all
supported chips.
2. Add video codec type and device name detection test

Change-Id: I275c0e616acd80c9a4ad2fee00588479e47a92db
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2017-03-03 16:12:36 +08:00
Herman Chen
444e8b429f [mpp]: Fix compile warning for strict-prototypes
Change-Id: Ia430a5d157dc2d19c92a43ca15eab83f1ac540c6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2017-01-11 10:43:27 +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
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
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
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
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
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
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
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
ChenHengming
812ab44cfb [mpp_log]: revert mpp_dbg
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@192 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 14:58:04 +00:00
ChenHengming
44e83d5a09 [osal]: add log_f function to mpp_log
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@189 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 14:28:53 +00:00
ChenHengming
d9644ded0e [mpp_log]: change mpp_dbg to _mpp_dbg, redefine new mpp_dbg
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@174 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-28 01:55:19 +00:00
ChenHengming
cbf53d2929 [mpp_log]: add new mpp_dbg function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@106 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-14 03:57:26 +00:00
ChenHengming
b9ac93ef71 [mpp_log]: add mpp_assert function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@105 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-14 02:42:17 +00:00
ChenHengming
12cc808626 [mpp_log]: add mpp_dbg macro usage
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@97 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-13 06:43:11 +00:00
ChenHengming
848f7d93fe [all]: rename function names
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@60 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 09:14:00 +00:00
ChenHengming
1b5d44e56e [all]: rename file and macro from RK to MPP
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@59 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 09:00:27 +00:00