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
ChenHengming
0b1eb02603
[mpp_dec]: add hal flow detail to mpp_hal thread
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@225 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 22:41:25 +00:00
ChenHengming
6ac0a7cb50
[dummy_dec]: add sample buffer slot operation to dummy_dec, dec part is ok, but buffer release has error
...
[buf_slot]: fix initialization error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@224 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 21:29:28 +00:00
ChenHengming
4145133673
[mpi_test]: set mpi_test coding to MPP_VIDEO_CodingUnused, and change name of h264d parser api
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@223 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 20:16:16 +00:00
ChenHengming
1154f07cfc
[mpp_dec]: add info change and buffer allocation to mpp_dec, need dummy codec to debug
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@222 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 20:13:33 +00:00
ChenHengming
195314c1f6
[codec]: add dummy codec for test and demo
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@221 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 20:12:35 +00:00
ChenHengming
067bf62941
[mpp_hal]: add type to hal api to separate encoder and decoder
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@220 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 20:11:58 +00:00
ChenHengming
3247947305
[dummy]: add dummy codec and hal for test and demo
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@219 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 20:10:40 +00:00
ChenHengming
b51744b7ad
[hal_task]: add valid flag for parser output detection
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@218 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 19:33:28 +00:00
ChenHengming
0ee9994b44
[mpp_buf_slot]: add get_size interface for parser thread buffer allocation
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@217 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 19:23:40 +00:00
ChenHengming
0eb360054b
[mpp_packet]: move reset function to internal usage
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@216 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 16:37:32 +00:00
ChenHengming
a14b05dea2
[mpp_packet]: add reset interface
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@215 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 16:29:22 +00:00
ChenHengming
ab4aec04c6
[mpp_buf_slot]: add pts to buffer slot implement
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@214 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 16:28:42 +00:00
ChenHengming
a46c542696
[mpp_dec]: add parser deinit call on mpp_dec_deinit
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@213 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-06 14:26:20 +00:00
ChenHengming
7a07fb4461
[mpp_frame]: remove pointer clear operation
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@212 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-29 23:44:10 +00:00