Randy Li
5fa4ff0d48
[osal]: match system implementation with compiler marco
...
It would make the build system more simple, and the cross
toolchains would do the rest to you.
Toolchains like buildroot default not enable the __gnu_linux__
marco in the pre-processor will surfure from the systsm unknown
problem. You should enable the marco in building toolchains
or have a look on those scripts in build directory.
Change-Id: I8f6af3391aa3d94d602ec8d84ba5e43839859169
Signed-off-by: Randy Li <randy.li@rock-chips.com >
2017-05-04 14:29:29 +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
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
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
Herman Chen
673bc0eef4
[osal]: fix allocator error on x86_64
...
x86_64 is for simulation debug. It is just for working flow test.
Change-Id: I2d1cb50e52a104e58f6eaf3b27fd9dcf41b9ada6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2016-09-06 16:22:58 +08:00
ZhaoJun
28745421d5
[sofia-3gr-linux]: add sofia-3gr-linux platform support
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1096 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-25 08:32:27 +00:00
ChenHengming
981d51187b
[linux]: fix mpp_buffer_test error on linux
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@970 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-01 04:01:54 +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
218354e088
[osal]: fix import failed on window and linux
...
[mpp_buffer]: add mpp_buffer function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@884 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-07 09:36:27 +00:00
ChenHengming
788ae5dd63
[osal]: remove extra header in os_allocator.c
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@859 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-01 10:51:07 +00:00
ZhaoJun
3ae8f919c5
[osal]: add drm allocator for linux system
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@857 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-01 10:40:31 +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
ChenHengming
aa58d818ce
[osal]: add ion on android os_allocator
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@144 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 03:45:18 +00:00
ChenHengming
15eb6c5893
[osal/mpp_buffer]: remove MppBufferData and add MppBufferInfo for user interface, tested on window and linux
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@142 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 02:48:01 +00:00
ChenHengming
805db6b02d
[osal]: add NORMAL path on android
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@140 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-20 10:31:45 +00:00
ChenHengming
505e4dd8ae
[osal]: add allocator type to MppBufferAllocator, passed on window and linux
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@139 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-20 10:03:38 +00:00
ChenHengming
2e5aafaf44
[osal]: add normal mode mpp_buffer path to test and fix a lot of bug
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@134 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-20 03:23:36 +00:00
ChenHengming
7d0abbd3a8
[osal]: add mpp_allocator to mpp_buffer_impl
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@131 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-19 11:08:48 +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