Commit Graph

31 Commits

Author SHA1 Message Date
leo.ding
8d42511773 [osal]: linux: add -ldl -lct to link relative library
Change-Id: I4058c948a93f6e615843bcafd31bbf8568305b0c
Signed-off-by: leo.ding <leo.ding@rock-chips.com>
2017-07-04 19:27:26 +08:00
Randy Li
7990b52e8d [osal]: update the build system
The cross toolchains in Linux distributions are more prefer to
auto conf way, move those detecting from build system to toolchain
itself would be more welcome.

Change-Id: Ib42d9a0c65646b679ed14c96d16d1845c596f741
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-06-06 08:38:31 +08:00
Randy Li
428a6bec57 [osal]: rename the directory of windows allocator
A typo fixup.

Change-Id: I2b08b8debe17cdcbd5512d16cee9272f07151cc9
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-03-29 09:37:00 +08:00
Herman Chen
e2f0da0a89 [allocator]: Transform allocator normal to std
1. Use allocator std to replace default normal allocator on all OS.
2. Use wrapper to simplify mpp_allocator.

Change-Id: I13314a9eec3c5b39bc5ad8ddb3033ac2da79ba8f
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2016-12-15 17:20:14 +08:00
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
Jung Zhao
deb649610c [drm]: add macro control in os_allocator.c
1. fix compiling error of previous commit
2. can enable drm on x86 pc linux platform

Change-Id: I06271fe0efcaa7de2531c7fb3e21bf9c75781beb
Signed-off-by: Jung Zhao <jung.zhao@rock-chips.com>
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2016-10-07 17:37:05 +08:00
Jung Zhao
e9b7563de2 [drm]: disable drm allocator by default
Change-Id: Id2262b3e7154f17aad93c9304d54fbd0c4dd532f
Signed-off-by: Jung Zhao <jung.zhao@rock-chips.com>
2016-10-07 16:56:40 +08:00
Jung Zhao
70e2ebdb2b [drm]: add android drm allocator support
1. enable drm allocator in android
2. modify size calculating when alloc

Todo: wait for new interface of kernel to decide
use whether drm or ion as allocator

Change-Id: Ia6791d91d113b238be77088ae747012fb786d683
Signed-off-by: Jung Zhao <jung.zhao@rock-chips.com>
2016-08-29 14:26:49 +08:00
ChenHengming
7965f5dfd9 [android]: fix android binary runtime error due to error bionic libc linking
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@992 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-08 07:33:03 +00:00
ChenHengming
b1066150e9 [android]: use static library in android rather than share library
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@898 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-08 08:17:08 +00:00
ChenHengming
838c7e6e41 [linux]: add drm allocator support to linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@858 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-01 10:45:04 +00:00
ChenHengming
d4b871ef15 [oasl]: move ion allocator to new directory for linux reuse
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@808 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-24 08:41:18 +00:00
DingWei
72251b9c56 [CMakeLists] In all CMakeLists, add properties folder which belonged
[mpi_test.c] Eliminate warning

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@184 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-24 21:07:22 +00:00
ChenHengming
027f647eb8 [mpp]: add mpp_thread.cpp, add mutex_destroy to mpp_allocator, add codec thread and hal thread prototype
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@163 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-26 03:19:32 +00:00
ChenHengming
f22f5635ab [osal]: add mpp_allocator and os_allocator for mpp_buffer
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@130 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-19 10:37:38 +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
5ab2877839 [osal]: add mpp_common.h for macro
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@108 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-14 07:12:50 +00:00
ChenHengming
bb1b5b4796 [cmake]: move pthread on window script to top layer for mpp_thread.h include directory
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@69 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-11 09:28:32 +00:00
ChenHengming
367fa3d4e7 [mpp_mem]: rename os_malloc to os_men
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@64 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 10:17:51 +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
ChenHengming
8e0e2c3f75 [cmake/android]: fix mpp_info C++ STL compile error on Android
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@61 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 09:20:40 +00:00
ChenHengming
c89c44512f [all]: change osal file name prefix from rk_ to mpp_
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@58 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 08:50:52 +00:00
ChenHengming
d122d27ea8 [misc]: add rk_err.h to rk_type.h, remove osal install script
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@53 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 06:32:40 +00:00
ChenHengming
6d3a322412 [rk_env]: add environment variable function and test case on window
unit test passed on window test case

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@30 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-05 03:25:28 +00:00
ChenHengming
c0c5222152 [rk_malloc]: add malloc function and test case on window
unit test passed

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@27 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-05 02:15:38 +00:00
ChenHengming
3cfb36bca1 [cmake]: expand tab to space, add Android link configure for osal
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@22 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-04 07:17:56 +00:00
ChenHengming
79a7af4e4f [rk_log]: add os_log function on window
separate os_log and platform log function

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@10 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-29 07:13:02 +00:00
ChenHengming
bf2cb33dac [cmake]: add svn version script
CMakeLists.txt will generate version.h for mpp include

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@7 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-28 10:50:48 +00:00
ChenHengming
6f8eb89bc6 [osal/rk_thread]: fix compiling error on rk_thread
add window debug run note to readme.txt

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@6 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-28 03:00:50 +00:00
ChenHengming
3819a8823a [osal]: fix compiling error on window
1. remove void typedef
2. fix pthread path definition on window
3. fox thread_test compiling error

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@5 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-28 01:13:46 +00:00
ChenHengming
58ca309470 [osal]: add rk_log, rk_list, rk_thread to osal directory
linux test ok
window can not compile, need more check

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@3 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-27 10:22:37 +00:00