Commit Graph

725 Commits

Author SHA1 Message Date
ChenHengming
1e60d55e70 [mpp_mem]: use snprintf to avoid NULL pointer
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@525 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-14 04:38:12 +00:00
ChenSiyong
1975d15c8d [vpu_legacy]:eos set no contain in frame, return in ret
[mpp_dec]:when flush lock codec signal, fixed dead loop in seek status
[mpp_dec]:when flush check first packet if is config keep this packet to decoder avoid extract data has been flush cause decoder err
[h265d]: mark h265 dec error use check ref has error if ref error mark current dec frame error

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@524 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-13 10:00:49 +00:00
ChenHengming
41fcb47315 [android]: use libvpu.so to replace libmpp_legacy.so in Android.mk
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@523 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-07 06:55:02 +00:00
ChenSiyong
be686dfd38 [android ion all]: fix allocator_ctx_ion no free when alloc close
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@522 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-05 03:02:46 +00:00
ChenHengming
46a3b365b3 [legacy]: initial both buf_size and size on create
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@521 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-25 08:10:49 +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
c69969c90a [h265h]:add frame end check flag
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@519 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-21 07:12:45 +00:00
ChenSiyong
a33f1048c0 [h265d]: do not set err mark when IDR frame
[h265h]: set miss ref to dec base when no ref used 
[h265h]: chg cabac error mask 0xfdfffffd to 0xfdffffff  this may cause other issue

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@518 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-18 09:49:58 +00:00
ChenSiyong
bbcd3badde [vpu_api]: fix open_ctx parm ctx is null, cause open ctx fail
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@517 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-17 08:04:40 +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
8868a5d2f7 [vpu_api] rewrite the dlopen part code, fixed dlopen may cause fd leak
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@515 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-17 02:32:47 +00:00
ChenSiyong
3415a524e6 [h265d]:mark err frame when ref miss
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@514 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-16 10:29:55 +00:00
ChenSiyong
4c86cfe54c [vpu_api] fix fd may no close
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@513 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-16 06:29:56 +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
DingWei
000fbfcf25 [h264d] add code to deal with B frame before I/Idr frame when write out frame
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@511 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-16 02:34:14 +00:00
DingWei
ee14d73dde [h264d] a) deal with bug which time stamp error when use function prepare_fast;
b) change fifo size in rkv_pkt


git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@510 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-16 01:21:19 +00:00
ChenSiyong
18fb65b844 [h265h]:all pps data used same pps_id
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@509 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-15 06:34:36 +00:00
ChenSiyong
3ac278a677 [h265h]:fix normal mode rps_ion mem no free
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@508 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-14 07:26:52 +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
99112e287a remove error and warning in Linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@506 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-10 21:32:20 +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
a5450d6fea [h264d] add parse_prepare_fast function; remove in_size variable
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@504 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-07 23:07:54 +00:00
DingWei
fcc4160a82 [h264d] memset bytes to 0 which stream add to 16 bytes align
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@503 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-07 19:58:11 +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
93248127ea [mpp]: remove initial warning
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@498 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 23:11:30 +00:00
ChenHengming
cdac24a654 [mpp_thread]: remove warning of timedwait
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@497 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 23:08:05 +00:00
ChenHengming
f14d509778 [mpp]: detach listener on mpp deinit
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@496 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 23:06:03 +00:00
ChenHengming
d211b7d9c5 [mpp_buffer]: add signal function on mpp_buffer return to group
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@495 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 23:00:04 +00:00
ChenHengming
e354461a1c [mpp_buffer]: remove mpp_buffer extension
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@494 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 22:55:08 +00:00
ChenHengming
3f7ef46a14 [osal]: add timedwait
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@493 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 22:49:45 +00:00
ChenHengming
7bbb1e1123 [h264d]: fix \n format
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@492 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 20:29:07 +00:00
ChenHengming
028ebc655c [mpp_time]: add limit mpp time diff print
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@491 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-12-02 14:44:06 +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
ChenHengming
6c69245d11 [h265d]: use malloc to replace calloc in h265d parser
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@488 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 17:09:31 +00:00
ChenHengming
3b510f1124 [osal]: fix time calc error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@487 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 16:16:30 +00:00
ChenHengming
1265c7f173 [osal]: add time differ function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@486 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 15:30:58 +00:00
ChenHengming
0c69cc591f [mpp]: use __FUNCTION__ to replace __FILE__, add mpp_debug initial and move mpp_debug to osal
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@485 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 14:53:47 +00:00
ChenSiyong
d6c8a8af56 [h265h]:fixed tiles case calc column_width & height issue case hardware decoder fail
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@484 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 14:19:26 +00:00
ChenHengming
85b3592ba8 [hal]: add hal timing function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@483 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 02:33:06 +00:00
ChenHengming
c54b4fd807 [h265d_test]: enlarge stream buffer to 2M for 10bit 60fps test
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@482 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 02:05:36 +00:00
DingWei
3a067bdc1d [h264d_dpb] add dpb comment
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@481 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-25 00:47:57 +00:00
DingWei
437f9e0266 [h264d] add vui_size in dpb_size, set max value
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@480 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-23 03:17:20 +00:00
DingWei
586e78a7bf [vpu_api] change 1080 to 1088
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@479 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-23 03:13:42 +00:00
DingWei
558c74346d [h264d] fifo_alloc, change malloc to alloc
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@478 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-21 00:29:56 +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