ChenHengming
4c06405e3d
[mpi/mpp]: add format check function and modify mpp_dec_test for format check
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@925 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-16 09:12:30 +00:00
ChenHengming
589bb07317
[mpp]: add need_split flag to MppDec. When set this flag parser will do frame split internally. Default is disabled
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@922 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-16 07:25:08 +00:00
ChenHengming
4201f689c0
[format]: format coding style
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@907 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-13 09:47:19 +00:00
ChenHengming
c0866a76f9
[comment]: fix company name hand writing error
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@906 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-13 09:42:31 +00:00
ChenHengming
50277780fc
[mpp_thread]: fix compile error on windows and linux
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@774 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-19 06:35:22 +00:00
SunBo
19fd27ea1f
[mpp_packet] check mpp_packet_copy_init return value
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@611 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-20 06:49:18 +00:00
DingWei
ecf49af775
[vpu_api] add VPU_API_GET_VPUMEM_USED_COUNT
...
[h264d] remove dpb_info_old; check_dpb,and add h264d_reset
[mpp_buf_slot] add get_used_slot_count
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@600 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-05 03:10:03 +00:00
DingWei
a9b5219f97
[h264d] 1.h264d_init picbuf => refpic; astyle format
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@591 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-03-18 03:51:32 +00:00
DingWei
a3151e2aac
[vpu_api] add VPU_API_DEC_GET_STREAM_COUNT cmd to query packets stored in vpu which have not been decoded.
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@586 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-03-11 09:33:54 +00:00
ChenSiyong
45de45c61a
[mpp_dec]:add debug log for mpi thread destory
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@559 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-29 08:43:34 +00:00
ChenHengming
0f36c7e195
[mpp]: move init flag to private data, add comment for extra data
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@536 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 07:53:55 +00:00
ChenHengming
db7e4ff619
[mpp_info]: remove C++ info class and add C interface for mpp_info strings
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@534 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 03:27:54 +00:00
ChenSiyong
0b48769422
[mpp_packet]: used interal free when buffer alloc by mpppacket self
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@528 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-14 07:42:11 +00:00
ChenHengming
49a418e1b1
[lock]: use AutoMutex to replace Mutex::Autolock
...
[mpp_mem]: add lock to mem_list and add dump memory status function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@526 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-14 07:24:12 +00:00
ChenSiyong
1975d15c8d
[vpu_legacy]:eos set no contain in frame, return in ret
...
[mpp_dec]:when flush lock codec signal, fixed dead loop in seek status
[mpp_dec]:when flush check first packet if is config keep this packet to decoder avoid extract data has been flush cause decoder err
[h265d]: mark h265 dec error use check ref has error if ref error mark current dec frame error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@524 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-13 10:00:49 +00:00
ChenSiyong
9287e78131
[mppdec] add a notify call back interface for parser
...
[h265d]: notify eos to mpp_dec when no slot frame can used
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@520 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-22 02:00:33 +00:00
ChenSiyong
0aabc8d9d9
1、[h265d] skip decoder poc small then cra frame,fix seek picture mosaic
...
2、[h265d] skip hevcc case the steam is align with zero cause decoder fail
3、[mpp_dec] add fast dec path for mpp dec
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@507 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-10 21:44:51 +00:00
DingWei
351ba32579
remove warning/error in windows vs
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@501 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-03 14:26:52 +00:00
ChenSiyong
ba16ca1559
[mpp_dec]: add hal callback to parser
...
[h265d]:fix h265 stream eos cause play end
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@499 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 23:31:17 +00:00
ChenHengming
93248127ea
[mpp]: remove initial warning
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@498 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 23:11:30 +00:00
ChenHengming
f14d509778
[mpp]: detach listener on mpp deinit
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@496 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 23:06:03 +00:00
ChenHengming
d211b7d9c5
[mpp_buffer]: add signal function on mpp_buffer return to group
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@495 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 23:00:04 +00:00
ChenHengming
0c69cc591f
[mpp]: use __FUNCTION__ to replace __FILE__, add mpp_debug initial and move mpp_debug to osal
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@485 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 14:53:47 +00:00
DingWei
e493378d7f
[h264d] add as hvcC format support
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@461 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-17 04:37:39 +00:00
ChenHengming
23652564dc
[mpp_thread]: improve reset lock/condition implement
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@428 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-25 16:50:57 +00:00
ChenSiyong
138350d30e
[h265d]: dpb size change to MAX_DPB_SIZE
...
[vpu_legacy]: add vpu_mem alloc and rk_list.cpp to compatibility old version vpu
[vpu_legacy]: used dlopen to compatibility using old librk_vpuapi
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@419 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 22:36:08 +00:00
ChenHengming
4dc165b0cb
[mpp_enc]: add basic mpp_enc function
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@405 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 22:37:23 +00:00
ChenHengming
f6caca5e61
[mpp]: fix missing unlock on reset
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@404 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 22:28:44 +00:00
ChenHengming
3bbdd966b7
[mpp]: fix path error on mpp_enc
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@390 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-19 22:28:45 +00:00
ChenSiyong
838659a23c
[mpp]: add seek reset flow
...
[h265d]:add seek part code
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@381 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-15 15:38:34 +00:00
ChenHengming
005c1029db
[mpp]: when mpp deinit only release internal frame buffer group
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@378 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-13 19:39:51 +00:00
ChenHengming
df3995f9bf
[mpp_dec]: basic info change flow ready
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@377 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-13 16:15:35 +00:00
ChenHengming
eb3236c8d1
[mpp]: return get_frame error on non-block mode
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@373 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 23:21:50 +00:00
ChenHengming
ad0cc3e4f4
[mpp]: remove switch case warning
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@368 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 23:05:31 +00:00
ChenHengming
17f1b26cc3
[mpp]: add output block control
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@367 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 23:04:27 +00:00
ChenHengming
54ebf67129
[mpp_dec]: add input packet buffer clear to hal thread
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@365 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 22:47:57 +00:00
ChenHengming
9f2ce51ade
[mpp]: add packet/frame block flag and multi-frame output flag
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@363 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 22:29:38 +00:00
ChenHengming
511e6bbbb0
[codec_h265d]: merge csy's h265d module
...
[hal_task]: add input_packet to parser_prepare output, change stmbuf to input_index
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@352 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 15:56:08 +00:00
DingWei
f82298b20b
[h264d module] add prepare function; deal with error nalu case
...
[mpp.c] function marco define, updated;
[h265d module] update warnning
[all module] run A style
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@344 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-10 02:18:04 +00:00
ChenHengming
ea3f8b6f0d
[mpp_buffer]: change buffer group mode to internal/external
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@341 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-09 23:21:18 +00:00
ChenHengming
01b0d16abe
[mpp]: fix output order bug
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@332 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-07 23:16:20 +00:00
ChenHengming
c28734a33a
[mpp]: add error log on mpp create failed
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@314 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-28 21:02:21 +00:00
ChenHengming
1584b4915a
[mpp_dec]: add packet slot to mpp_dec
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@310 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-27 19:54:47 +00:00
ChenHengming
7a5a04ccd1
[mpp_pacet]: rename mpp_packet_copy to mpp_packet_copy_init
...
[mpp_dec]: put_packet will transfer pointer rather than implement
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@306 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-24 23:48:31 +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
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
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
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
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