GaoZhili
3fafb0fe4f
commit the avc encode code, now avc encode process is ok
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1048 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-20 07:22:25 +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
GaoZhili
3249378118
only format the unformated code to standard style
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1020 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-14 09:34:04 +00:00
ChenHengming
b8d2409710
[MppFrame]: define new frame type bit definition and fix mpeg2/mpeg4 frame type output error
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1017 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-13 10:32:13 +00:00
ChenHengming
0247fb3270
[legacy]: assign MppFrame mode to VPU_Frame frameType directly
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1015 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-13 07:02:48 +00:00
ChenSiyong
7c467a15cc
[legacy] rename VpuApi class to VpuApiLegacy avoid conflict to old vpuai
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1012 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-13 03:05:09 +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
5603c024fb
[vpu_api_legacy] reset eos flag in vpu_api when eos set in seek status
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@976 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-04 08:43:22 +00:00
ChenHengming
dba5c94f8e
[mpeg4d]: update mpeg4 parser and hal for vpu2
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@974 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-01 09:54:42 +00:00
ChenSiyong
5896aeda37
[vpu_legacy] fixed flush init check issue
...
[m2vd] add remove rkvb in split frame function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@956 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-24 03:34:50 +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
ChenSiyong
6385471dea
[vpu_api_legacy]: add init_ok check for api legacy/vpu_api_legacy.cpp
...
[h265d_d] clear eos flag when reset
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@949 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-23 03:20:17 +00:00
ChenSiyong
ebf573f623
[vpu_api_legacy] no return error in decode_sendstream when list is full
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@945 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-21 10:06:45 +00:00
ChenHengming
c31e7ada4a
[mpp]: change mpi_get_frame return value meaning:
...
return MPP_NOK means flow error
return MPP_OK does not mean there is available frame, need to check the MppFrame pointer
[mpp_dec_test]: reduce buffer size on reading to avoid one packet multiple frame input.
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@930 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-16 11:34:13 +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
ChenSiyong
607a3b43bf
[vpu_legacy] fix process width mask for video bit depth may cause window compile error
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@870 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-03 06:36:10 +00:00
ChenSiyong
a63afb68c5
[vpu_legacy] process with mask for video bit depth
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@869 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-03 06:28:44 +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
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
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
DingWei
93382fdca3
[h264d] remove problem which sps and pps is packeted in omx h264d_prepare.
...
[h264d] add h264d_flsh in h264d_prepare.
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@597 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-03-28 10:01:06 +00:00
DingWei
a9b5219f97
[h264d] 1.h264d_init picbuf => refpic; astyle format
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@591 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-03-18 03:51:32 +00:00
DingWei
1d64415b84
[vpu_api] add environment value : use_mpp_mode
...
[vpu_api_legacy] add environment value : vpu_api_debug
[h264d] add environment value : rkv_h264d_parse_debug && rkv_h264d_hal_debug
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@588 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-03-17 11:37:03 +00:00
DingWei
a3151e2aac
[vpu_api] add VPU_API_DEC_GET_STREAM_COUNT cmd to query packets stored in vpu which have not been decoded.
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@586 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-03-11 09:33:54 +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
ChenHengming
2422a5b2c3
[format]: coding style change
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@578 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-02-26 01:46:26 +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
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
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
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
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
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
ChenSiyong
22c93e4a1b
[h265d]:support 10bit info change
...
[mpp_frame]:support pixel_fmt seting
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@474 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-19 21:56:51 +00:00
ChenSiyong
5f9f4b4805
[h265d]:supprot key hevcc process
...
[mpp_dec]: remove display flag
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@460 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-16 21:11:43 +00:00
ChenSiyong
138350d30e
[h265d]: dpb size change to MAX_DPB_SIZE
...
[vpu_legacy]: add vpu_mem alloc and rk_list.cpp to compatibility old version vpu
[vpu_legacy]: used dlopen to compatibility using old librk_vpuapi
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@419 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 22:36:08 +00:00
ChenHengming
40e6254a50
[vpu_api_legacy]: fix empty buffer on info change frame
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@411 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-21 14:33:28 +00:00
ChenHengming
6ef612bf51
[buf_slot]: add basic info_change flow, pass test on mpi_test
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@392 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-19 22:49:18 +00:00
ChenSiyong
838659a23c
[mpp]: add seek reset flow
...
[h265d]:add seek part code
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@381 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-15 15:38:34 +00:00
ChenHengming
a3738346ff
[all]: fix compiling error and coding style formating
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@354 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 16:35:46 +00:00
ChenHengming
511e6bbbb0
[codec_h265d]: merge csy's h265d module
...
[hal_task]: add input_packet to parser_prepare output, change stmbuf to input_index
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@352 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 15:56:08 +00:00
ChenHengming
a94dc97f40
[misc]: remove __FUNCTION__
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@190 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-25 14:44:23 +00:00
ChenHengming
c16cbe7909
[misc]: change LOG_TAG to MODULE_TAG
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@109 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-14 07:45:42 +00:00
ChenHengming
3057548e07
[format]: use astyle to format all source file
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@96 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-13 02:26:39 +00:00