Commit Graph

1911 Commits

Author SHA1 Message Date
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
ChenHengming
73aaec7604 [vp9d]: fix compiling error on Linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@669 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-28 08:49:52 +00:00
ChenHengming
c23eb79417 [h265d]: fix compiling error on Linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@624 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-28 07:03:51 +00:00
DingWei
e1892e490b [h264d] deal with bug, malloc size error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@623 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-27 14:28:43 +00:00
ChenSiyong
310599a68a [h265d]optimize hevc_extract_rbsp function reduce cpu used
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@622 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-26 06:23:56 +00:00
DingWei
e2f6ad6602 [h264d]
input stream must less than 10M,otherwise discard;
remove realloc when buffer is not enough, break function instead.

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@621 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-25 03:51:16 +00:00
DingWei
c9fe7c96ad [h264d]
add function check_dpb_discontinuous to remove error when B frame in two I frame;
add poc check, B frame, cur_poc must in [min_poc max_poc], I frame cur_poc > min_poc

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@620 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-22 09:32:45 +00:00
DingWei
3d026007ef [h264d]
update free_dpb_mark && write_picture && free_storable_picture;
when dpb_mark_malloc error, add failed;
update dpb error log;

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@619 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-22 09:24:52 +00:00
DingWei
b1cfcfa2ab [h264d] add write ts stream file
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@618 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-22 09:10:22 +00:00
DingWei
0c78daa356 [h264d]
h264d_callback, add strmd_error_detect_flag; 
h264d_parse change flag is_parser_end;
store_picture_in_dpb, when dpb full, remove fs[0], and write out;
reallloc_buffer, add log, and break;

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@617 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-22 09:02:07 +00:00
DingWei
80baa379f3 [h264d] when dpb error, then skip run hard
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@616 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-22 08:35:10 +00:00
DingWei
267062a5fa [mpp_dec] conceal prctl in vs
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@615 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-22 08:29:42 +00:00
DingWei
a974ae5efc [h264d] conceal comment
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@614 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-22 08:09:46 +00:00
ChenHengming
a0723a356e [Android]: Add 64bit script
NOTE: there will be ndk error:

../libosal.a(os_env.c.o): In function `os_get_env_u32':
os_env.c:(.text.os_get_env_u32+0x20): undefined reference to `__system_property_get'
../libosal.a(os_env.c.o): In function `os_get_env_str':
os_env.c:(.text.os_get_env_str+0x34): undefined reference to `__system_property_get'
../libosal.a(os_env.c.o): In function `os_set_env_u32':
os_env.c:(.text.os_set_env_u32+0x34): undefined reference to `__system_property_set'
../libosal.a(os_env.c.o): In function `os_set_env_str':
os_env.c:(.text.os_set_env_str+0x8): undefined reference to `__system_property_set'

Solution here: http://www.bubuko.com/infodetail-1014879.html


git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@613 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-22 02:56:03 +00:00
ChenHengming
2600979beb [Android]: fix 32bit script error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@612 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-22 02:50:20 +00:00