Commit Graph

130 Commits

Author SHA1 Message Date
ChenHengming
a8f26705ee [log]: reduce some logs
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1116 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-28 06:18:59 +00:00
ZhaoJun
120b82550e [sofia-3gr-linux]: some modifications for intel-iotg
1. add input block flags OMX_BUFFERFLAG_SYNC
2. change max index number to 32
3. mv sofia-3gr makefile to build/linux/x86 directory

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1113 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-28 03:13:16 +00:00
ChenHengming
9bfca7cbc1 [mpp_dec]: avoid increase reference on invalid buffer
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1112 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-28 01:52:52 +00:00
ChenHengming
d2de3cbfe5 [mpp_dec]: move mpp_buffer_inc_ref from decode_getoutframe to mpp_put_frame
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1109 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-28 01:20:34 +00:00
ChenHengming
e05f63378b [h264e]: fix flow error on h264e vpu_api interface
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1057 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-21 02:03:04 +00:00
ChenHengming
1a2551ec3e [mpp_enc]: fix crash in vpu_api_legacy.cpp
[mpi]: use new control macro system

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1050 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-20 07:54:31 +00:00
ChenHengming
781c812ce5 [frame/packet]: increase mpp_buffer reference count when mpp_buffer is set to mpp_frame or mpp_packet
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1045 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-19 10:40:26 +00:00
DingWei
f658df00fb [h264d] add yuv422 format support.
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@993 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-08 10:15:05 +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
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
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
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
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
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
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
ChenSiyong
4927270bbc [mpp] fixed compile warning in linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@841 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-27 09:51:39 +00:00
ChenSiyong
8fbbaa07f7 [mpp_dec] add flush and push_display when found info change at hal_thread
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@831 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-26 08:51:58 +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
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
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
ChenSiyong
d37093f490 [mpp_dec] add thread name for hal & parser
[mpp_dec] add prepare need consume time debug for parser

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@609 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-16 04:07:08 +00:00
DingWei
ecf49af775 [vpu_api] add VPU_API_GET_VPUMEM_USED_COUNT
[h264d]  remove dpb_info_old; check_dpb,and add h264d_reset
[mpp_buf_slot]  add get_used_slot_count

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@600 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-05 03:10:03 +00:00
ChenSiyong
44c858f648 [mpp_dec]:used one founction to reused que dispaly part codec
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@582 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-03-02 03:50:05 +00:00
ChenSiyong
67f1f690eb [mppdec]: disable debug log
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@581 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-03-02 02:36:04 +00:00
ChenSiyong
5cf3dcb2dd [mpp_dec] add que display mux for frame que fixed thread async cause push frame que error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@580 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-03-02 02:33:00 +00:00
ChenSiyong
24c3d7712e [mpp_dec]:add default horstride verstrid config for first frame info set
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@579 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-02-26 03:49:52 +00:00
ChenSiyong
798c63424b [vp9d]:add reset for vp9 dec
[buffer_slot]: used default align when generate default vir stride 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@573 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-02-15 10:18:10 +00:00
DingWei
b246211b2d [mpp_dec] move discard flag out of mpp_dec.cpp to vpu_api_legacy.cpp
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@566 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-02-04 03:53:10 +00:00
ChenSiyong
5199ffc6d3 [vp9_d] update first version vp9 hardware driver
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@563 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-02-01 09:39:54 +00:00
ChenSiyong
45de45c61a [mpp_dec]:add debug log for mpi thread destory
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@559 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-29 08:43:34 +00:00
ChenSiyong
a03baeee9b [slot_frame]: mpp_buf_slot_get_prop fouction check (SLOT_FRAME) mppframe ptr status when no NULL no alloc again
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@557 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-29 06:37:06 +00:00
ChenHengming
4bf0d086a3 [astyle]: format coding style
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@539 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 09:45:56 +00:00
ChenSiyong
e4d3871dbf [mpp_dec]:fixed destroy lock
[vpu_mem]: add return fail when mallocliner buffer fail 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@529 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-15 09:27:07 +00:00
ChenSiyong
0b48769422 [mpp_packet]: used interal free when buffer alloc by mpppacket self
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@528 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-14 07:42:11 +00:00
ChenHengming
49a418e1b1 [lock]: use AutoMutex to replace Mutex::Autolock
[mpp_mem]: add lock to mem_list and add dump memory status function

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@526 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-14 07:24:12 +00:00
ChenSiyong
9287e78131 [mppdec] add a notify call back interface for parser
[h265d]: notify eos to mpp_dec when no slot frame can used

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@520 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-22 02:00:33 +00:00
ChenSiyong
37434a0aca [mpp_dec] clear the error info in info change frame
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@516 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-17 04:27:11 +00:00
ChenSiyong
d99cac1e91 1、[mpp_dec] format code style
2、[mpp_dec] add slot reset process when info change no finish,fix crash when end play

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@512 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-16 03:35:08 +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
DingWei
21230b11bc [vpu_api] add VPU_FRAME_ERR enums
[mpp_frame] add error info functions
[h264d]     add callback function;
            update SEI function;
            DivX && YUV444 unsupport return

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@505 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-09 21:28:43 +00:00
DingWei
de4e9ae078 [mpp_frame] add mpp_discard && poc variable and function interface
[mpp_dec]    add discard flag into dequeue link
[h264d]      a) add marco H264D_LOG && H264D_ERR
             b) add YUV444 format ERROR
             c) add DivX ERROR in SEI user unregister data
             d) add MVC output support

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@502 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-06 14:29:45 +00:00
DingWei
351ba32579 remove warning/error in windows vs
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@501 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-03 14:26:52 +00:00
DingWei
2aa567d87b [mpp_dec] remove warnning
[h264d]   remove warnning

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@500 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-03 02:34:52 +00:00
ChenSiyong
ba16ca1559 [mpp_dec]: add hal callback to parser
[h265d]:fix h265 stream eos cause play end 

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@499 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 23:31:17 +00:00
ChenHengming
f84b6ee407 git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@490 6e48237b-75ef-9749-8fc9-41990f28c85a 2015-11-30 15:15:19 +00:00
DingWei
5c5689f8b8 [h265d] add has_get_eos value
[mpp_dec]  add mpp_buffer dequeue in parse thread
[h264d]    deal with nal_size bug; set hor_stride=256(2n+1)

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@489 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 20:33:15 +00:00
DingWei
c849fde844 [h264d] add support 10bit
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@477 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-20 23:03:49 +00:00
DingWei
d7fbbe4402 [vpu_api] add flush function before close_context, deal with memory leak bug
[h264d]   add out_flag in write_store_picture function
[hal_h264_api]  add vpu_client variable

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@476 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-20 17:24:30 +00:00