Commit Graph

164 Commits

Author SHA1 Message Date
ChenHengming
3064dc36e5 [mpp]: add two thread to mpp
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@164 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-26 03:53:12 +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
DingWei
1099661cf5 fix vs compiling problem: defined variable should be in the top of function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@162 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-26 01:52:43 +00:00
ChenHengming
c2eb90fd1e [vpu_api_test]: fix compiling error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@161 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-26 01:16:41 +00:00
ChenHengming
f5c7532965 [mpp]: change packet/frame deinit function and always return ok for function get_frame/get_packet
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@160 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-25 08:14:44 +00:00
ChenHengming
005d6da4fc [mpp]: fix initial order issue
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@159 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-25 07:48:04 +00:00
ChenHengming
30d6a98bdf [mpp]: add basic mpp thread codec flow
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@158 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-25 07:38:05 +00:00
ChenHengming
b298253516 [mpi]: change mpp interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@157 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-25 01:40:36 +00:00
ChenHengming
f73ae488e9 [mpp_packet]: add extra data interface for mpp_packet handle
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@156 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-24 12:08:58 +00:00
ChenHengming
47cc88107f [mpi]: add vpu_api.h macro to rk_mpi.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@155 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-24 10:21:35 +00:00
ChenHengming
bf4da20ade [mpp_frame]: add interface to get next frame for multiple output case
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@154 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-24 10:07:34 +00:00
ChenHengming
3850b79cdc [test]: change deinit interface, add more detail to mpi_test
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@153 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-24 03:52:11 +00:00
ChenHengming
8d6ace3794 [cmake]: add test to CMakeLists
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@152 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-24 01:38:37 +00:00
ChenHengming
3fdc357e7d [mpp_frame]: use buffer handle in MppFrame
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@151 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-24 01:08:38 +00:00
ChenHengming
1666e01904 [mpp_frame]: add mpp_frame implement, add missing header file
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@150 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 10:57:27 +00:00
ChenHengming
bd72588e8f [mpp_frame]: add mpp_frame implement
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@149 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 10:56:46 +00:00
ChenHengming
e4b70ac8d3 [misc]: add more svn ignore
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@148 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 07:32:01 +00:00
ChenHengming
11a263d3a6 [osal/android]: fix ion heap id on 5.1
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@147 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 07:23:29 +00:00
ChenHengming
9e5b83bc72 [test]: fix bug in mpp_buffer_test
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@146 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 07:06:57 +00:00
ChenHengming
8848e46814 [mpp_buffer]: add ion to mpp_buffer test, start debug ion error path
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@145 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 06:49:35 +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
2c5ee82f4e [mpp_buffer]: add mpp_buffer_info_get interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@143 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 02:52:40 +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
3f6812f144 [misc]: use static api structure rather than malloc on
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@141 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 00:58:50 +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
e679ce5d19 [astyle]: astyle format
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@138 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-20 09:42:06 +00:00
ChenHengming
4007adfd28 [osal]: fix clerical mistakes
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@137 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-20 09:40:43 +00:00
ChenHengming
2ac248839b [osal]: change mpp_buffer working flow and buffer limitation interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@136 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-20 09:39:01 +00:00
ChenHengming
77632b3fa8 [android]: add ion open/close function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@135 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-20 03:53:32 +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
e78f44b2fb [osal]: fix os_allocator on Android
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@133 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-20 01:39:59 +00:00
ChenHengming
8378c2f847 [mpp_buffer]: add allocator to normal mode buffer, use orphan group instead of orphan buffer
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@132 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-20 01:38:12 +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
ChenHengming
0de1933334 [osal]: fix macro in os_mem.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@129 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-19 08:27:11 +00:00
ChenHengming
175afe8fbc [osal]: remove unused directory
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@128 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-19 07:22:21 +00:00
ChenHengming
c62655dcda [mpp_buffer]: rename function and add more comment
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@127 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-19 06:48:55 +00:00
ChenHengming
9791a62d8f [mpp_buffer]: add basic mpp_buffer management mechanism
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@126 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-19 06:30:12 +00:00
ChenHengming
81d5c94884 [misc]: move PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP macro
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@125 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-18 13:11:45 +00:00
ChenHengming
e370971ab7 [android]: fix PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP macro on Android
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@124 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-18 13:10:30 +00:00
ChenHengming
87f4cca33e [misc]: fix compiling error on Linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@123 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-18 13:07:40 +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
4ccc9a2342 [mpp_mem]: fix MODULE_TAG
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@121 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-18 06:07:49 +00:00
ChenHengming
ff1b44c75b [mpp_buffer]: add empty flow test for mpp_buffer
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@120 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-18 04:02:02 +00:00
ChenHengming
5c43c9333d [mpp_buffer]: change MppBuffer interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@119 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-18 02:53:44 +00:00
ChenHengming
6d719e3872 [mpp_buffer]: fix macro in mpp_buffer.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@118 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-17 11:31:12 +00:00
ChenHengming
01153f0f93 [mpp_packet]: add mpp_packet functions
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@117 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-17 11:27:18 +00:00
ChenHengming
c2544d0f9c [mpi]: add mpi unit test and rename mpp_env interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@116 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-17 10:09:20 +00:00
ChenHengming
fa4fbd822c [osal]: add mpp_ceil_log2 and mpp_clip function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@115 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-17 09:24:09 +00:00