Commit Graph

447 Commits

Author SHA1 Message Date
ChenSiyong
dcaef9b5b6 [h265hal]:open iommu judge when config reg
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@447 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-03 19:55:18 +00:00
ChenSiyong
c0f2f82f00 [h265d test]: fix buffer slot change cause h265d can't work
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@446 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-03 19:41:28 +00:00
ChenSiyong
f00b75bde4 [h265d]: output all frame when reset avoid frame buffer no free
[codec_thread]:add hal lock when put processing task to task list avoid hal thread can't wake up at wait signal 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@445 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-03 01:30:44 +00:00
ChenHengming
3e32bcb489 [buf_slot]: add caller to dump_slot function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@444 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-02 21:05:56 +00:00
ChenHengming
e3e3ba7522 [cmake]: add vpu static library to libmpp_legacy on Android case
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@443 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-02 20:39:04 +00:00
ChenHengming
53d00b9db1 [cmake]: separate libvpu and libmpp, libvpu will all move to libmpp_legacy
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@442 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-02 20:23:26 +00:00
ChenHengming
1de081d88f [cmake]: add -ldl flag for dlopen on Android
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@441 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-02 14:56:41 +00:00
ChenHengming
37aa823210 [mpp_dec]: add try_proc_dec_task function to do the task process
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@440 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-01 23:03:05 +00:00
ChenHengming
f677c3c7b5 [mpp_dec]: move all thread control and task information to new DecTask structure
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@439 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-01 22:50:57 +00:00
ChenHengming
107e40bf82 [astyle]: coding style formating
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@438 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-01 20:10:35 +00:00
ChenHengming
9a59c44dd4 [mpp_buffer]: add caller record to mpp_buffer
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@437 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-01 19:45:15 +00:00
ChenHengming
751396b19e [cmake]: add share library script for mpp_legacy
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@436 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-01 19:28:09 +00:00
ChenHengming
46ef6e5ab1 [cmake]: add PROPERTIES FOLDER to h265d codec/hal
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@435 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-01 17:12:38 +00:00
ChenHengming
982099506b [mpp_buffer]: add more debug information
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@434 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-01 16:04:46 +00:00
ChenHengming
bd00b345a4 [mpp_dec]: fix stall on internal buffer mode
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@433 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-28 21:55:35 +00:00
ChenHengming
f5e6d82fa2 [h265d]: fix error update on parse sps, width and height update should happen on sps/pps activated.
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@432 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-28 21:55:04 +00:00
ChenSiyong
ef5f95d9e0 [mpp_dec]: check wait frame first,if no frame in group,will no generate task, fix seek case in deadloop for wait frame buf
[mpp_buffer]: add a discard value when group reset,post release used buffer

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@431 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-28 00:00:07 +00:00
ChenHengming
932e7f761c [hal_task]: add status counter for debug and status check
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@430 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-26 14:33:40 +00:00
ChenHengming
2047168cf8 [buf_slot/dummy_dec]: add hor/ver_stride to slot_set_prop function, require non-zero input
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@429 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-25 20:44:27 +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
ChenHengming
8fcf82c02e [mpp_dec]: remove compile warning on linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@427 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-22 22:33:17 +00:00
ChenHengming
54bbb35474 [mpp_dec]: revert wait condition
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@426 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-22 22:29:51 +00:00
ChenHengming
bb059975b6 [mpp_dec]: optimize parser thread control logic
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@425 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-22 22:17:40 +00:00
ChenHengming
bcf9d5cb60 [mpp_log]: remove unused function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@424 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-22 16:35:10 +00:00
ChenHengming
60d08d2144 [vpu_api]: fix compile error on windows
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@423 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-22 16:11:14 +00:00
ChenHengming
443b6048c1 [rk_list]: fix compile error on windows
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@422 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-22 16:07:48 +00:00
ChenHengming
02c5423d2c [buf_slot]: update stride calculation flow in h265d
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@421 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 23:35:59 +00:00
ChenHengming
a91660b37e [buf_slot]: change ver_align and hor_align to function pointer
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@420 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 23:03:27 +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
15cc4ec884 [mpp_buffer]: legacy buffer must be directly destroy on refcount == 0
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@418 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 20:08:51 +00:00
ChenHengming
37479fba8d [mpp_log]: reduce runtime call overhead
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@417 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 20:02:52 +00:00
ChenSiyong
545b107d5a [buf_slot]: add ver_align setup on hevc and add stride detection on set_prop
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@416 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 16:43:29 +00:00
ChenHengming
d9c3e10b9c [mpp_frame]: on frame copy only check the src
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@415 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 16:13:09 +00:00
ChenHengming
57b6b6a5b9 [mpp_dec]: remove test code
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@414 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 16:11:43 +00:00
ChenHengming
6c61d83a48 [buf_slot]: fix error on SLOTS_SET_FRAME_INFO
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@413 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 14:57:48 +00:00
ChenHengming
8c761eacc8 [mpp_allocator]: fix error print
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@412 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 14:41:16 +00:00
ChenHengming
40e6254a50 [vpu_api_legacy]: fix empty buffer on info change frame
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@411 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 14:33:28 +00:00
ChenHengming
c651fae624 [android]: add both libmpp and libmpp_legacy to Android.mk
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@410 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 14:07:33 +00:00
ChenHengming
187328184f [mpp_buffer]: remove extra print
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@409 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 14:04:51 +00:00
ChenHengming
b160c4e7c8 [mpp_dec]: enable set_default_width_height control
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@408 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 23:52:14 +00:00
ChenHengming
3898d120c6 [mpi_test]: reset env on test exit
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@407 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 23:22:30 +00:00
ChenHengming
4a75545881 [mpp_enc]: add packet signal to mpp_enc_control thread
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@406 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 22:54:23 +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
7708015713 [mpp_dec]: fix bug on info change and NULL task found
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@403 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 21:17:49 +00:00
ChenHengming
a2fbb24df2 [cmake]: revert mpp_legacy library output name
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@402 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 21:06:07 +00:00
ChenHengming
de6807d72e [cmake]: all test link to mpp_shared library, and change libmpp_legacy to libvpu
old vpuapi will call libvpu(libmpp_legacy), then mpp_legacy will go to old libvpu or dlopen libmpp

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@401 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 20:58:52 +00:00
ChenHengming
43155e04b1 [cmake]: add mpp share library generation
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@400 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 20:45:51 +00:00
ChenHengming
4a63765c1a [mpp_buffer]: can not use MppBufferService on its init
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@399 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 16:32:46 +00:00
ChenHengming
4a44bf10c4 [mpp_buffer]: add mpp_assert for group check
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@398 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 15:45:51 +00:00