DingWei
a6e84c414c
[h264d] move error_context structure to p_Dec from p_Vid
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@569 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-02-04 05:17:33 +00:00
DingWei
0f45c4ef01
[h264d] mpp_frame_init in dpb_malloc, instead of in init function
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@568 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-02-04 04:23:17 +00:00
DingWei
06333fa16b
[h264d] cancel warning in andorid
...
[vp9d] cancel warining in vs
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@567 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-02-04 04:11:45 +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
ChenHengming
9ec162eb03
[vpu]: use dts detection in legacy vpu iommu check
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@565 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-02-02 06:45:21 +00:00
ChenSiyong
42d89860a3
[vp9_d]fix compile error
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@564 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-02-01 09:51:12 +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
ChenHengming
8813d376c8
[android]: detect ion heap using sysfs proc infomation
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@562 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-30 07:39:33 +00:00
ChenHengming
f338b15f80
[mpp]: Add comments
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@561 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-29 12:01:44 +00:00
ChenHengming
8add393bd7
[mpp_buffer]: Fix possible race condition
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@560 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-29 11:39:18 +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
DingWei
0ca4146eb6
[h264d] define ASSERT,use do{}while(0)
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@558 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-29 06:41:03 +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
DingWei
fe81d5a183
[h264d] cancel wanning logs.
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@556 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-29 06:33:02 +00:00
ChenSiyong
d483860923
[h265h]:split mpp bit put from h265 hal
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@555 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-29 05:00:35 +00:00
ChenSiyong
e9fb16afa6
[bit read]:add function to set flag to check if need remove 0x3
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@554 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-29 03:47:59 +00:00
ChenHengming
41ab4b3b05
[android]: set default android ion heap to vmalloc heap
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@553 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-29 02:18:51 +00:00
DingWei
55719b8737
[h264d]1.set default value to 0 of sps and pps;2.add clear error flag operation;3.check every decoder picture is right to decode than set error info flag;3.clean decoder picture when is parse error and set error flag into current decoder picture;4.add flush slot buffer function to clean organ slot buffer when flush dpb;
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@552 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-29 00:47:24 +00:00
ChenHengming
75c4f0b8ac
[android]: use new ioctl to detect heap status
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@551 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-28 01:18:05 +00:00
ChenHengming
569d932fa1
[android]: add default heap mask to avoid racing condition
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@550 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-27 03:42:22 +00:00
ChenHengming
90f94f05ba
[android]: add ion heap detection to android os_allocator
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@549 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-27 03:15:47 +00:00
DingWei
31eb296833
[h264d]1.correct bug: clear error context for every frame; 2. Add function to clear frame slot status which in flush and reset functions.
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@548 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-26 01:22:07 +00:00
DingWei
2eaf9eccc3
[h264d]1. add mvc key and output frame; 2. correct cabac_size; 3. direct use slice_id instead of calculation
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@547 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-25 07:22:20 +00:00
DingWei
c8373c4a71
[h264d] 1. huawei case: repeat send bit-steams, then visits dpb-store which has emptied. modification: ignore dpb empty assert and set this dpb error.
...
2.Add hardware error callback to parse,then set errorinfo flag into out frame buffer.
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@546 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-24 02:46:06 +00:00
ChenHengming
a0ba2b11ce
[android]: add script to update library
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@545 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-24 01:33:19 +00:00
DingWei
ba4197c63c
[h264d] rkv_pkt: add code about registers file out.
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@544 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-23 09:16:35 +00:00
ChenHengming
95e12a21cf
[mpi]: remove redundant code
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@543 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-22 06:48:55 +00:00
ChenHengming
9cb4dde49e
[mpi]: add mpp context check to mpi functions
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@542 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-22 06:47:02 +00:00
ChenHengming
b13f60ba24
[mpi]: fix compile error on linux
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@541 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-21 03:13:16 +00:00
ChenHengming
40f3486470
[legacy]: fix mpicmd warning
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@540 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-21 03:06:00 +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
ChenHengming
9f274ee171
[cmake]: use release build for Android
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@538 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 08:33:55 +00:00
ChenHengming
b4c17ba9d3
[mpp_buffer]: allow NULL listener setting
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@537 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 07:58:46 +00:00
ChenHengming
0f36c7e195
[mpp]: move init flag to private data, add comment for extra data
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@536 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 07:53:55 +00:00
ChenHengming
cb0d12ec49
[mpi]: rename mpi_flush to mpi_reset
...
[h264d]: fix warning on strupr
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@535 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 07:36:48 +00:00
ChenHengming
db7e4ff619
[mpp_info]: remove C++ info class and add C interface for mpp_info strings
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@534 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 03:27:54 +00:00
ChenHengming
a1bd47c4c7
[mpi]: add version print to mpp_create
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@533 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 02:27:05 +00:00
ChenHengming
4830431996
[mpi]: use mpp_create / mpp_destroy pair to replace construct
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@532 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 02:01:10 +00:00
ChenHengming
41a1543648
[readme]: update directory and description in readme.txt
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@531 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-20 01:44:32 +00:00
ChenSiyong
4cf7c60c8f
[h265_syntx]:fix current dpbs has more ref then rps need cause decoder error
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@530 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-19 06:43:19 +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
ecb5caf3e4
[buf_slot]: remove warning on Linux
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@527 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-01-14 07:28:01 +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
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