Commit Graph

1911 Commits

Author SHA1 Message Date
ChenHengming
673aedf73a [mpp]: remove unused variable
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@211 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 23:32:05 +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
b56729adb9 [mpp_dec]: init parser first to get task_count then init hal
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@209 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 23:08:15 +00:00
ChenHengming
3adfc995bd [mpp_hal]: add more hal api function
[misc]: remove anonymous struct name

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@208 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 23:03:13 +00:00
ChenHengming
34779b7d74 [mpp_hal]: add hal_h264d_api to mpp_hal
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@207 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 22:47:09 +00:00
ChenHengming
533661dd0e [hal_task]: rename variable
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@206 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 21:55:35 +00:00
ChenHengming
7a2fee57a4 [hal_task]: use hal_task to replace mpp_syntax
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@205 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 21:45:11 +00:00
ChenHengming
6bc369d41b [hal_task]: rename mpp_syntax function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@204 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 20:51:37 +00:00
ChenHengming
2dc2df6bfd [hal_task]: change mpp_syntax to hal_task
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@203 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 20:15:23 +00:00
ChenHengming
21cf26f948 [mpp_packet]: use pos to replace offset and length
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@202 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 17:08:02 +00:00
ChenHengming
b6275d3bee [cmake]: fix mpp library link error on Linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@201 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 16:51:14 +00:00
ChenHengming
b0132eda60 [mpp_syntax]: add syntax to decoder loop and replace task function
1. add syntax handle to resolve the reference problem
2. move syntax group from dec to hal. dec only use syntax's reference pointer
3. change codec api init function interface from **ctx to *ctx

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@200 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 16:45:34 +00:00
ChenHengming
5f0c47d4e7 [mpp_packet]: use mpp_err_f function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@199 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 16:40:50 +00:00
ChenHengming
2f3a719bd1 [mpp]: add mpp hierarchy picture
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@198 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 22:38:47 +00:00
ChenHengming
93cd85ea23 [misc]: remove warning
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@197 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 22:27:40 +00:00
ChenHengming
98665c1ede [mpp]: separate mpp_dec into parser and hal
1. add syntax group for hal dec task management
2. separate mpp_dec and mpp_enc in mpp.cpp
3. separate decoder parser thread / decoder hal thread and encoder control thread / encoder hal thread

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@196 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 22:22:40 +00:00
ChenHengming
1417648f19 [mpp_list]: use __inline to replace inline in order to avoid C file compiling error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@195 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 21:13:49 +00:00
ChenHengming
b6e93ab257 [mpp]: add hal and dec module to mpp
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@194 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 15:26:32 +00:00
ChenHengming
ef5a60731c [mpp_thread]: fix invalid thread_join when thread is not started
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@193 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 15:24:28 +00:00
ChenHengming
812ab44cfb [mpp_log]: revert mpp_dbg
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@192 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 14:58:04 +00:00
ChenHengming
95448ffabb [astyle]: formating code
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@191 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 14:48:06 +00:00
ChenHengming
a94dc97f40 [misc]: remove __FUNCTION__
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@190 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 14:44:23 +00:00
ChenHengming
44e83d5a09 [osal]: add log_f function to mpp_log
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@189 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 14:28:53 +00:00
ChenHengming
245ecd5124 [codec]: add h264d_api to mpp_dec
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@188 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-24 23:29:27 +00:00
DingWei
4605effdd3 [codec:h264d_api] add codec module api interface
[hal:hal_h264d_api] add hal module api interface 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@187 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-24 22:13:52 +00:00
ChenHengming
608671728d [astyle]: formating coding style
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@186 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-24 21:36:21 +00:00
ChenHengming
95704e887c [syntax]: update h264d_syntax
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@185 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-24 21:15:00 +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
aa046a7158 [mpp/dec/hal]: add header file for dec and hal, add syntax header
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@183 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-24 20:38:52 +00:00
ChenHengming
679288a7d4 [mpp_buffer]: add offset to read/write function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@182 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-24 00:14:59 +00:00
ChenHengming
687a6f3556 [syntax]: add dxva_syntax.h and modify h264d_syntax.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@181 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-23 23:53:22 +00:00
DingWei
5f7d53eec4 add h264 decoder syntax.h,which is liked dxva interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@180 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-23 16:53:46 +00:00
ChenHengming
1aa89735fa [codec]: add mpp_slot module
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@179 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-23 16:18:09 +00:00
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