Commit Graph

3728 Commits

Author SHA1 Message Date
ChenHengming
28faf8b7a6 [mpp_buffer]: add more interface to mpp_buffer
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@178 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-23 16:15:51 +00:00
ChenHengming
d37c40d66f [codec]: improve MppBufSlot interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@177 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-28 08:00:06 +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
5824f9120c [mpp_mem]: fix realloc function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@175 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-28 02:07:32 +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
fa58085605 [mpp]: separate mpp_dec / mpp_enc / mpp_hal modules
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@173 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-27 08:37:01 +00:00
ChenHengming
ac2bd93769 [mpp_dec]: add mpp_dec.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@172 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-27 08:15:04 +00:00
ChenHengming
e02cd02bec [mpp_dec]: move decoder thread to mpp_dec
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@171 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-27 08:14:26 +00:00
ChenHengming
8249f27074 [astyle]: format coding style
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@170 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-27 08:05:56 +00:00
ChenHengming
d03943bcf1 [mpp_hal]: add mpp_hal.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@169 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-26 12:47:15 +00:00
ChenHengming
3612ed5876 [mpp/osal]: add codec thread and hal thread
1. add MppThread / Mutex / Condition class
2. add internal flag to MppBuffer
3. change MppBufferService from structure to class
4. add mpp_buffer_put on mpp_frame_put
5. add coding type to Mpp initial function
6. mpp codec / hal thread basic flow done, but reset is not added

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@168 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-26 12:46:38 +00:00
ChenHengming
174c68fb5e [mpp_buffer]: fix group_id mismatch issue
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@167 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-26 12:14:53 +00:00
ChenHengming
8057018fc7 [mpp]: fix accessor error on MppFrame and MppPacket
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@166 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-26 09:59:25 +00:00
ChenHengming
2e92a91f14 [mpp]: enable two thread
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@165 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-26 04:14:24 +00:00
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