Commit Graph

725 Commits

Author SHA1 Message Date
ChenHengming
e4873c8cb4 [mpp_buffer]: fix buffer count mismatch issue
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@790 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-20 01:13:03 +00:00
ChenSiyong
cd42263c6f [mpp_dec] fix compile waring
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@788 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-19 13:10:03 +00:00
ChenSiyong
12fb5d398f [mpp_dec] clr current frame status when reset come but current frame in wait dec pic status
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@787 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-19 12:57:12 +00:00
DingWei
8791e54b93 [h264d] remove warnning
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@786 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-19 12:11:30 +00:00
DingWei
cbacdb43bc [h264d] remove log H264D_DBG_DPB_FREE && H264D_DBG_DPB_DISPLAY; add used_for_reference in check_dpb_continuous;
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@785 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-19 11:46:22 +00:00
ChenHengming
e9c4a0470e [mpp_buffer]: fix legacy group runtime error on mpi test
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@780 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-19 08:21:21 +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
ChenSiyong
a3da4fd7ea [hal_vp9] fix group no put cause ion leak
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@773 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-19 03:34:33 +00:00
ChenHengming
7bd7a300e6 [osal]: better way to set thread name on android/linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@771 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-19 03:08:50 +00:00
ChenSiyong
f062c27851 [vp9d_parser] mov ref updata to parser_frame
[vp9d_hal] remove debug sleep in hal wait  

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@766 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-19 02:01:22 +00:00
DingWei
106772a2ea [h264d] add cur_err_flag; dpb_err_flag => had_err;
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@752 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-13 07:13:36 +00:00
DingWei
7dff7929b7 [h264d] U32 ->S32 variable; remove fake_short_term_pic;
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@750 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 13:15:55 +00:00
DingWei
6b6c07603c [h264d] revert
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@748 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 11:48:04 +00:00
DingWei
76a9e677b0 [h264d] when missing short reference, mark error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@747 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 10:45:36 +00:00
ChenHengming
916fcd2fbe [misc]: code clean up and remove unused functions
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@745 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 10:02:19 +00:00
ChenHengming
eca41f1d49 [android]: remove compile warning
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@744 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 09:54:47 +00:00
DingWei
8a4bff917a [h264d] H264D_DBG_WRITE_TS_EN rename H264D_DBG_WRITE_ES_EN;
[avsd]  remove warning

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@741 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 08:31:31 +00:00
ChenHengming
25f0206a4c [mpp_buffer]: use system environment to control buffer group force close operation
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@740 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 08:25:41 +00:00
DingWei
3b11473f23 [h264d] deal with bug: when reorder, mark the reference dpb error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@739 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 08:14:28 +00:00
ChenSiyong
39a40731d7 [h265h] optimize hal_h265d_output_scalinglist_packet function no process when qm no change
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@737 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 07:08:07 +00:00
ChenSiyong
2c8484e82a [mpp_bitput]optimize mpp_bitput function to reduce cpu used
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@736 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 07:04:36 +00:00
ChenSiyong
10087d6ac2 [h265d_parser] remove pps ctb_addr map process,no need mpp_hevc_slice_rpl process
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@735 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 07:00:40 +00:00
DingWei
b179f28c9d [avsd] add new libavs.a && libavs.so
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@732 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 01:55:08 +00:00
DingWei
3e13f2bd05 [avsd] rename lib_avsd_free to lib_avsd_destory; rename lib_avsd_malloc to lib_avsd_create; add AvsdOutframe_t;
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@731 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-12 01:37:47 +00:00
ChenHengming
630fef5a7a [mpp_buffer]: fix leak memory force release issue
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@728 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-11 13:39:46 +00:00
ChenHengming
d2947dc1c5 [mpp_buffer]: fix compiling error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@727 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-11 13:27:37 +00:00
ChenHengming
dc4f730de1 [mpp_buffer]: release group when force clear
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@726 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-11 12:07:34 +00:00
ChenHengming
0f8d4ba6db [mpp_buffer]: force release buffer on memory leak and add abort to dump leak statue
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@725 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-11 12:01:56 +00:00
ChenHengming
6653f8164f [libvpu]: only print iommu status once
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@724 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-11 10:57:25 +00:00
LinJinfa
8c12b4d429 Ignore iommu judgement for all the address using fd + offset mode despite
vpu memory allocate with CMA or VMALLOC heaps.


git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@723 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-11 10:33:49 +00:00
ChenSiyong
526b4c9388 [android os alloc] no used posix_memalign in android may be cause mem leak,when mem no align
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@720 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-11 04:35:00 +00:00
DingWei
8fda6c306d [h264d] remove drmp and reorder malloc buffer used in parse slice.
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@719 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-10 14:24:37 +00:00
ChenHengming
48cdcdffb0 [mpp_buffer]: when buffer group destroy and only legacy group remain check and dump legacy group status
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@718 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-10 12:41:06 +00:00
ChenHengming
00726d2a77 [mpp_mem]: Add mpp memory snapshot function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@717 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-10 11:36:29 +00:00
DingWei
324a0fb7d4 [avsd] change avs lib to xavs; add avsd_impl.h for libavs.so
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@703 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-09 07:54:35 +00:00
ChenHengming
3e75a1fe6d [h265d]: avoid drop I slice after IDR slice
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@700 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-08 16:50:29 +00:00
DingWei
6a6bba0f3a [h264d] h264d_callback, add NULL check; remove warning;
[vpu_api_legacy]   add timeUs when dump write yuv 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@699 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-07 15:30:46 +00:00
DingWei
f498795a98 [h264d] check_ref_pic_list, add NULL check; add frame_num discontinuous,when is not I frame, must considering that prev_frame_num == cur_frame_num or (pre_frame_num + 1) == cur_frame_num
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@698 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-07 15:22:14 +00:00
DingWei
ec0fc1cfce [h264d] remove start_mb_nr==0,used first slice default; in avcC, considers input one packet is full one frame;
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@697 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-07 15:19:10 +00:00
ChenHengming
e51e860b65 [legacy]: fix possible error release frame before display it.
This will cause error buffer to be displayed.

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@696 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-07 07:55:14 +00:00
DingWei
4fbb511549 [vpu_api_legacy] deal with avcC display blind bug
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@695 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-07 06:49:21 +00:00
DingWei
1d73d245d1 [vpu_api_legacy] add write right frame out to file, and rescale to 960x540
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@694 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-06 13:53:10 +00:00
DingWei
43e66dd9cd [hal_task] insert dpb_err_flag && used_for_ref_flag into valuable flags; when parse error, then dpb_err_flag is enable, and when next I slice or reorder right to disable.
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@693 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-06 13:45:09 +00:00
DingWei
eac419790d [h264d] h264d_api && h264d_dpb, add input parameters check
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@691 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-05 13:52:09 +00:00
DingWei
37ea663f1e [avsd] add time define
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@685 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-05 07:29:59 +00:00
DingWei
c5b702759c [avsd] add time calculate
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@682 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-05 05:58:35 +00:00
ChenSiyong
7bc71fda76 [h265d] fix sony_4k_HDR_camp.mp4 play issue due to scaling list format no compatible
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@679 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-04 09:37:55 +00:00
DingWei
01b4727ba4 [avsd]
1. change avs_impl CMakeLists.txt
2. add libavs.a && libavs.so, which used in avsd_api.c
3. update avsd_api.c && avsd_parse.c which interface of between libavs.a and mpp_dec 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@678 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-03 13:32:09 +00:00
DingWei
506ffb1e31 [h264d] deal with problem loop overflow in free_ref_pic_list_reordering, add error out, and discard current slice data
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@671 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-29 07:05:05 +00:00
ChenHengming
4f5c7b9906 [ppOp]: fix compiling error on Linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@670 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-28 08:59:44 +00:00