Commit Graph

259 Commits

Author SHA1 Message Date
ChenHengming
981d51187b [linux]: fix mpp_buffer_test error on linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@970 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-01 04:01:54 +00:00
ChenHengming
563a08525a [mpp_buffer]: add output MppBuffer to mpp_buffer_commit interface. Also add misc group internally
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@969 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-01 02:41:11 +00:00
ChenHengming
f7341152cb [mpi_dec_test]: get_frame until return MppFrame is NULL
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@931 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-16 11:51:56 +00:00
ChenHengming
c31e7ada4a [mpp]: change mpi_get_frame return value meaning:
return MPP_NOK means flow error
return MPP_OK does not mean there is available frame, need to check the MppFrame pointer
[mpp_dec_test]: reduce buffer size on reading to avoid one packet multiple frame input.

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@930 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-16 11:34:13 +00:00
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
f65e805680 [mpi_dec_test]: fix warning on Linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@924 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-16 07:29:00 +00:00
ChenHengming
5cd404be1b [mpi_test]: add common mpi decoder test
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@923 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-16 07:26:32 +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
354ceb2e68 [legacy]: fix thumbnail buffer group multiple release issue
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@895 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-08 06:10:43 +00:00
DingWei
aec7175a62 [mpp] deal with problem in vs compile;
[mpp_dec] remove warning

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@847 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-30 09:56:31 +00:00
DingWei
653a6b5aa4 [mpi] add avs marco
[vpu_api] add avs marco
[avsd]    add avs interface
[test]    comment
[h264d]   move h264d_rw to codec 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@599 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-01 09:49:23 +00:00
ChenHengming
cb0d12ec49 [mpi]: rename mpi_flush to mpi_reset
[h264d]: fix warning on strupr

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@535 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 07:36:48 +00:00
ChenHengming
4830431996 [mpi]: use mpp_create / mpp_destroy pair to replace construct
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@532 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 02:01:10 +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
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
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
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
e8a195b429 [mpp_buffer]: update mpp_buffer_test
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@386 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-19 00:22:21 +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
5e4e1a55b1 [misc]: remove warning on Linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@355 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 16:48:55 +00:00
ChenHengming
d09f2d736e [mpp_buffer]: add buffer check on buffer size
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@349 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 14:55:18 +00:00
ChenHengming
8ebb8eb139 [mpp_buffer]: change buffer group function name to internal/external
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@342 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-09 23:38:46 +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
2e9d3efa04 [buf_slot]: add slots pointer to slot handle
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@322 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-29 21:32:30 +00:00
ChenHengming
bed52a856e [utils]: add show_options to utils
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@316 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-28 22:31:52 +00:00
ChenSiyong
bbc3b15c7b [android]:fix can't compile so
[h265d]:fix android compile error & fix fifo buf alloc may no enought


git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@312 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-27 21:16:40 +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
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
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
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
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
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
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
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
ChenHengming
c2eb90fd1e [vpu_api_test]: fix compiling error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@161 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-26 01:16:41 +00:00
ChenHengming
f5c7532965 [mpp]: change packet/frame deinit function and always return ok for function get_frame/get_packet
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@160 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-25 08:14:44 +00:00
ChenHengming
30d6a98bdf [mpp]: add basic mpp thread codec flow
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@158 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-25 07:38:05 +00:00
ChenHengming
b298253516 [mpi]: change mpp interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@157 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-25 01:40:36 +00:00
ChenHengming
bf4da20ade [mpp_frame]: add interface to get next frame for multiple output case
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@154 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-24 10:07:34 +00:00
ChenHengming
3850b79cdc [test]: change deinit interface, add more detail to mpi_test
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@153 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-24 03:52:11 +00:00
ChenHengming
8d6ace3794 [cmake]: add test to CMakeLists
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@152 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-24 01:38:37 +00:00
ChenHengming
9e5b83bc72 [test]: fix bug in mpp_buffer_test
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@146 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 07:06:57 +00:00
ChenHengming
8848e46814 [mpp_buffer]: add ion to mpp_buffer test, start debug ion error path
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@145 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 06:49:35 +00:00
ChenHengming
15eb6c5893 [osal/mpp_buffer]: remove MppBufferData and add MppBufferInfo for user interface, tested on window and linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@142 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-21 02:48:01 +00:00
ChenHengming
e679ce5d19 [astyle]: astyle format
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@138 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-20 09:42:06 +00:00
ChenHengming
2ac248839b [osal]: change mpp_buffer working flow and buffer limitation interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@136 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-20 09:39:01 +00:00
ChenHengming
2e5aafaf44 [osal]: add normal mode mpp_buffer path to test and fix a lot of bug
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@134 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-20 03:23:36 +00:00
ChenHengming
9791a62d8f [mpp_buffer]: add basic mpp_buffer management mechanism
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@126 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-19 06:30:12 +00:00
ChenHengming
ff1b44c75b [mpp_buffer]: add empty flow test for mpp_buffer
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@120 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-18 04:02:02 +00:00