Commit Graph

19 Commits

Author SHA1 Message Date
Herman Chen
295aa22639 chore[mpp_mem]: Add mpp_realloc_size
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I896b4132e0fded153ee4d932b9c011bf3ba41c16
2024-08-29 17:53:01 +08:00
Herman Chen
a91439bef4 [mpp_buffer]: Add mem and buffer usage function
Change-Id: I356ef9311802868fe8d234dbff178ad8463985d0
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2021-04-20 14:39:52 +08:00
Herman Chen
82bc016bbb [oasl]: Add debug function to mpp_mem
1. Add memory node record.
2. Add runtime log with memory count and total size.
3. Add extra room for overflow detection.
4. Add memory poison after free to detect write after free.

Change-Id: I4f0fe7295f18a746c3b4c135681127a18337585e
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-01-29 11:47:31 +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
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
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
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
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
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
70090757a3 [osal]: add clear operation to mpp_free
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@210 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 23:29:40 +00:00
ChenHengming
363ec4d40b [codec]: add buf_slot module
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@176 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-28 07:11:07 +00:00
ChenHengming
c0b913d3b9 [mpp_buffer_impl]: add MppBufferGroup module to mpp_buffer_impl
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@122 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-18 12:57:16 +00:00
ChenHengming
70671a1cca [osal]: add const modifier to remove warning
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@113 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-17 09:14:05 +00:00
ChenHengming
f7c5b0487a [mpp_mem]: fix macro in header
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@104 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-14 01:47:23 +00:00
ChenHengming
63880b5333 [osal]: add mpp_calloc function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@101 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-13 09:30:27 +00:00
ChenHengming
e80180c728 [mpp_mem]: add mpp_realloc function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@98 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-13 09:15:31 +00:00
ChenHengming
c35cc7d345 [osal]: rename mpp_malloc to mpp_mem, add mpp_time function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@63 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 10:15:24 +00:00