Commit Graph

3625 Commits

Author SHA1 Message Date
ChenHengming
8ee2c19fe6 [mpp_hal]: use calloc to replace malloc for hal context
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@275 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 22:40:14 +00:00
ChenHengming
c8040fff54 [mpp_parser]: use calloc to replace malloc for parser context
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@274 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 22:39:22 +00:00
ChenHengming
802a0dfffb [mpp_dec]: remove extra header file
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@273 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 22:35:37 +00:00
ChenHengming
8c73379c3b [mpp_parser]: enable parser to mpp
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@272 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 22:03:11 +00:00
ChenHengming
55ad5dac73 [mpp_common]: use __inline to replace C++ inline
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@271 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 22:02:57 +00:00
ChenHengming
8a50e21e83 [mpp_parser]: add mpp_parser layer to parser abstraction
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@270 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 21:53:31 +00:00
ChenHengming
ced8fe0ca0 [mpp_log]: add mpp_abort on debug mode
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@269 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 21:50:46 +00:00
DingWei
c842339aaa [mpp_common.h] add dedine access()
others: deal with bugs which no file opened.
Tips: this version has passed allegro bitstreams.

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@268 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-14 19:40:34 +00:00
ChenHengming
9b393891a5 [common]: add chdir and mkdir to common.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@267 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-13 23:03:21 +00:00
ChenHengming
c95c72581b [mpp_hal]: update header macro
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@266 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-13 21:08:57 +00:00
DingWei
1cecb160de commit after Astyle.bat
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@265 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-13 20:20:33 +00:00
DingWei
e316c70971 Add three error type
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@264 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-13 20:19:10 +00:00
DingWei
93930b5ef9 add file: parse module and hal module
Tips: In his version, h264d_test pass via the way of single pthread.

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@263 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-13 20:16:23 +00:00
DingWei
f13afd665c 1. update cmakelist in hal part
2. update some functions

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@262 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-10 00:45:26 +00:00
ChenHengming
7de8ec2794 [mpp]: revert last commit for MppBuffer leak
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@261 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 23:38:57 +00:00
ChenHengming
9b02f1c33f [mpp]: use standard put/get packet internally
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@260 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 23:19:53 +00:00
DingWei
20d56dabbe 1. add file: bitread.h bitread.c, used in read syntax
parse.h parse.c, used in parse syntax,such as nalu pps sps ,and so on
2. h264d_global.h : add structs which are used
3. h264d_log.h h264d_log.c : use to debug
4. h264d_rwfile.h h264d_rwfile.c: are only used in h264d_test, which for module debug 
5. delete file: h264d_memory.h h264d_memory.c, used mpp_mem.h instead

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@259 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 23:02:56 +00:00
ChenHengming
e218b731ce [mpp_dec]: comment update
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@258 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 21:07:10 +00:00
ChenHengming
739e6072d6 [buf_slot]: rename macro and add more comment
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@257 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 20:48:57 +00:00
ChenHengming
fa62b01791 [buf_slot]: modify buffer slot management
1. add slot runtime log switch
2. add slot_assert for log and history dump
3. add extra MppFrame init/deinit so that the Mpp::get_frame will not share same MppFrame with buffer slot

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@256 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 20:34:03 +00:00
ChenHengming
0c5665534b [mpp_frame]: add mpp_frame_copy
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@255 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 20:31:15 +00:00
ChenHengming
3f1100ca08 [mpp]: add frame signal chain to mpp parser/hal thread and get_frame interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@254 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 16:04:33 +00:00
ChenHengming
7cc518a721 [mpp_list]: add condition to mpp_list
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@253 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 15:17:44 +00:00
ChenHengming
2fe4a8e8ca [mpp_packet]: add get_eos function to MppPacket
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@252 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 15:16:15 +00:00
ChenHengming
2f3fd60a7f [cmake]: fix compiling error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@251 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 15:14:41 +00:00
ChenHengming
7f616ebc53 [h264d]: move h264d common header file to common directory
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@250 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 15:10:31 +00:00
ChenHengming
b7dc24c031 [mpp]: move h264d header file to commom
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@249 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 15:05:51 +00:00
ChenHengming
3d77496900 [astyle]: fix compiling error after astyle formating
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@248 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 14:55:26 +00:00
ChenHengming
043cbc1827 [astyle]: astyle format
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@247 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-09 14:54:14 +00:00
DingWei
e57c114255 add h264_test.c
[rwfile.c] add __GUN__ defines 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@246 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-08 23:22:52 +00:00
DingWei
f43fe273b6 [CMakeLists]: add h264d module
[mpp_mem.h]: add mpp_calloc_size function 
[dec/h264/files]: 7 files for h264d part
[mpp_dec.cpp] change name h264d_parser to api_h264d_parser

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@245 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-08 22:49:52 +00:00
ChenHengming
a1de2384ea [buf_slot]: add check_entry_unused when dec hw_ref
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@244 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-08 21:58:25 +00:00
ChenHengming
63135dea1c [buf_slot]: add change buffer slot interface
1. rename set/clr ref to set/clr dpb_ref
2. rename set/clr decoding to set/clr hw_dst
3. add inc/dec hw_ref for hal task done

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@243 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-08 21:57:11 +00:00
ChenHengming
e537d6d41a [buf_slot]: remove extra variable
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@242 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-08 16:15:04 +00:00
ChenHengming
dfac415514 [buf_slot]: add buffer slot operation history log
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@241 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-08 16:08:30 +00:00
ChenHengming
7f55e1fc04 [mpp_list]: when deleting node if no data is provided just do nothing
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@240 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-08 15:26:04 +00:00
ChenHengming
647dfacae9 [mpp]: fix mpp_buffer_group_limit_config error in mpp.cpp
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@239 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-08 15:08:45 +00:00
ChenHengming
96b527361a [buf_slot]: add runtime log to buffer slot
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@238 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-08 14:39:00 +00:00
ChenHengming
a1d3275493 [buf_slot]: fix set_decoding assert, on field mode, the slot->frame could be valid
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@237 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 23:33:04 +00:00
ChenHengming
e0080ff5f8 [mpp]: add set_next to MppFrame, enable multiply frame output at one time
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@236 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 23:24:23 +00:00
ChenHengming
80f8dcf644 [mpp_buf_slot]: change buf_slot output way, add MppFrame to set_decoding function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@235 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 22:55:03 +00:00
ChenHengming
6e962a48f2 [buf_slot]: add display list to buffer slot
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@234 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 21:31:36 +00:00
ChenHengming
439b167969 [misc]: remove compile warning
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@233 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 16:18:32 +00:00
ChenHengming
56d1b6aaa6 [buf_slot]: remove debug assert
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@232 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 16:14:48 +00:00
ChenHengming
7facfbaa5c [mpp_list]: change mpp_list lock mechanism
1. add mutex function to mpp_list for auto lock
2. remove all lock in list operation, so lock need to be add externally
[hal_task]: use new mpp_list to implement task group
[mpp_dec/mpp_enc]: change mpp_list usage


git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@231 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 16:06:33 +00:00
ChenHengming
241f6865ad [osal]: add trylock to mutex class
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@230 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 15:29:49 +00:00
ChenHengming
5d255679a6 [osal]: add lock/unlock to mpp_list interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@229 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 15:20:10 +00:00
ChenHengming
53fbb9019a [mpp_dec]: clear task_hnd when hal task is done
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@228 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 14:26:35 +00:00
ChenHengming
a4bd7eae59 [mpp_hal]: add slots to hal initial configure
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@227 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 13:53:30 +00:00
ChenHengming
0956adf622 [buf_slot]: add get_decoding function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@226 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-07 00:14:16 +00:00