Commit Graph

3830 Commits

Author SHA1 Message Date
ChenHengming
c9d4080335 [mpp_buffer]: fix mpp_buffer_test error on Android for normal buffer can not be import/release
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@971 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-01 04:48:52 +00:00
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
ChenSiyong
fa119620cd [mpp_dec] modify eos flow, fixed eos no notify to user
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@967 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-30 02:02:45 +00:00
ChenSiyong
12e12ae0f2 [mpp_packet] malloc packet more size then real need avoid 32bit read crash
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@966 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-30 01:59:44 +00:00
DingWei
3505440a68 [h264d] remove bug, which eliminate zeros in nalu tail;
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@964 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-29 07:13:21 +00:00
DingWei
1af53e292d [h264d] remove no-MMU case;
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@963 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-28 12:46:56 +00:00
ChenHengming
f178e39359 [hevc]: remove unused file
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@961 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-28 09:19:39 +00:00
ChenSiyong
902a9e6cff [m2vd] add mask for file debug
[m2vh] fixed m2vh vpu socket no release cuase fd leak
[vp8h] fixed vp8h vpu socket no release cause fd leak

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@958 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-27 07:29:47 +00:00
ChenHengming
f6648c1185 [buf_slot]: define 0xff to be the invalid slot index indicator
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@957 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-24 07:27:20 +00:00
ChenSiyong
5896aeda37 [vpu_legacy] fixed flush init check issue
[m2vd] add remove rkvb in split frame function

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@956 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-24 03:34:50 +00:00
ChenHengming
8fb04334b4 [buf_slot]: add slot global index to better understand of buffer slot behave
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@954 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-24 02:52:15 +00:00
ChenHengming
ff1a8f1fcb [mpp]: add internal pts mode flag for mpeg2/mpeg4
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@953 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-23 11:19:33 +00:00
ChenSiyong
85dd93fadf [vp8d] remove unused log in the parser & hal
[vp8d] realloc stream buf when buf is no enough
[vp9d] remove unused code & reset eos in reset status

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@951 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-23 03:36:46 +00:00
ChenSiyong
af8c3f8016 [m2v_d] remove unused include in file
[m2v_d] add eos notify to mpp_dec
[m2v_d] realloc stream buf when buf is no enough

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@950 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-23 03:34:25 +00:00
ChenSiyong
6385471dea [vpu_api_legacy]: add init_ok check for api legacy/vpu_api_legacy.cpp
[h265d_d] clear eos flag when reset 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@949 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-23 03:20:17 +00:00
ChenSiyong
8ade39c2c0 [vp8] add vp8 parser & hal for mpi
[m2vh] modify hal CMakeLists 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@946 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-21 10:23:38 +00:00
ChenSiyong
ebf573f623 [vpu_api_legacy] no return error in decode_sendstream when list is full
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@945 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-21 10:06:45 +00:00
ChenSiyong
89720baea2 [h265d] revert 882 modify for hevc modify
[mpg4_d] fix no mpg4d_api.h cause compile error

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@944 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-21 10:00:08 +00:00
DingWei
33f5243aee [h264d] remove warnning and code which is no used;
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@943 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-21 03:24:58 +00:00
DingWei
cc102579f6 [hal_task] add hal callback strut;
[h264d] remove register error judge to hal_wait from callback;
[h264d] update vdpu hal module, and set it mode as use_mpp_mode = 2;



git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@942 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-21 02:33:13 +00:00
ChenHengming
bf4936ac82 [mpg4d]: add hal_mpg4d_api.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@941 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-20 08:35:51 +00:00
ChenHengming
611a677fbc [mpg4d]: commit empty mpeg4 parser/hal with correct split function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@940 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-20 08:31:58 +00:00
ChenHengming
2fddc4cb9c [mpp]: remove compile warning on linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@939 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-20 08:17:45 +00:00
ChenHengming
b894e5b75b [mpp]: reject data access on mpp is not inited
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@938 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-20 08:02:47 +00:00
ChenHengming
1a1f2e9ae7 [mpp_dec]: update comment in mpp_dec_parser_thread
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@935 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-17 03:57:45 +00:00
ChenHengming
0444fde06c [mpg4d]: add mpeg4 DXVA syntax header
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@934 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-17 01:57:16 +00:00
ChenHengming
e9d3ac9861 [cmake]: add x86 android script for 3gr
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@933 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-17 00:59:29 +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
ba460b9e6b [mpp_buf_slot]: fix error when clear frame without buffer (this may happen on fake reference frame)
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@929 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-16 09:35:06 +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
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
dfe367b0ff [utils]: add mpp_frame write file function to utils
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@921 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-16 07:22:48 +00:00
DingWei
282bd2d59d [h264d] 宁夏IPTV; update: mpp_dec_flush call h264d_flush to flush out frames, not to remove;
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@919 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-15 10:28:21 +00:00
ChenHengming
c73483f729 [mpp_task]: update encoder secure task mode description
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@918 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-15 08:21:47 +00:00
ChenHengming
4a763f62d4 [h265d]: remove warning on Linux and move h265d_parser_test to mpp/test directory
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@917 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-15 08:17:59 +00:00
ChenHengming
dad9a72f52 [mpi]: add empty function for isp and task queue
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@914 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-14 12:29:48 +00:00
ChenHengming
6a552fb7e4 [mpp]: add header for advanced task api
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@913 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-14 12:12:52 +00:00
ChenHengming
c394441f63 [mpp_frame]: add check function to MppFrame
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@911 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-14 09:04:44 +00:00
ChenHengming
f5a03d1aa1 [mpp_packet]: add check function for MppPacket
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@910 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-14 08:34:38 +00:00
ChenHengming
866ddebce3 [readme]: update readme.txt
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@909 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-13 10:07:15 +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
053001c541 [common]: 1. add 32bit runtime function, 2. change uintXX_t to RK definition
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@905 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-12 07:11:52 +00:00
ChenHengming
2963d35770 [legacy]: fix dlopen error on 64bit system
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@904 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-12 07:03:59 +00:00
ChenHengming
74bdf736f0 [mpp_thread]: add mpp_log.h for mpp_assert in thread class
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@903 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-12 02:59:24 +00:00
DingWei
9fd35c7082 [h264d] when first start or seek, direct output first I frame; discard stream in when poc less than first I frame;
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@899 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-08 08:26:39 +00:00