Herman Chen
249f83f35b
[mpp_buffer]: Add caller to MppBuffer functions
...
Add caller parameter to all mpp_buffer functions.
Change-Id: Ibebd2a31b302988fe1ed480de575189ce57e41a5
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2016-12-15 16:56:39 +08:00
timkingh.huang
34698dcaf8
[tools]: add doxygen config file
...
1.The INPUT tag used to specify the files and/or directories that
contain documented source files is set to mpp/inc.
2.The OUTPUT_DIRECTORY tag used to specify the (relative or absolute)
path into which the generated documentation will be written is set
to mpp/doc.
3.Assuming that doxygen is configured correctly under Linux, if you
want to get documentation of pdf format, do as follow:
cd mpp/tools
doxygen mpp_doxyfile
cd ../doc/latex
make
4.mpp/doc/html contains documentation of html format.
5.modify notes of vpu_api.h and rk_mpi.h.
Change-Id: I02b09514ff44b4689ea99e3d99d2acc9eb58cd19
Signed-off-by: timkingh.huang <timkingh.huang@rock-chips.com >
2016-11-30 11:33:41 +08:00
leo.ding
7735655408
[avsd] add avsd hard decoder driver.
...
Change-Id: I4459a9b3ea71d6ab06d5b6ebe6226604bc8b7042
Signed-off-by: leo.ding <leo.ding@rock-chips.com >
2016-11-15 17:04:02 +08:00
Lin Kesheng
2f9b18b0bd
[hal_h264e_rkv]: remove compile warnings on windows
...
1. add new ioctl interface SendReg2 in vpu.c
2. use Sendreg2 interface in hal_h264e_rkv, exclude ioctl.h
Change-Id: Id79716e0fca96141b8665d59244569b6de9dd39a
Signed-off-by: Lin Kesheng <lks@rock-chips.com >
2016-11-11 16:21:24 +08:00
Lin Kesheng
fad35922fc
[h264e_rkv]: pack cfg into SEI and write to stream
...
1. add SEI writting interface
2. write extra_info_cfg and rc_cfg to SEI
3. stream_get_pos use s->buf_plus8 rather than s->p_start
Change-Id: I71de4d6f5dc31f21c0a32dc5ded275ced260d861
Signed-off-by: Lin Kesheng <lks@rock-chips.com >
2016-10-25 20:54:06 +08:00
Herman Chen
cd97a84407
[mpp_buffer]: fix macro hand writing error
...
Change-Id: I6a3799314c345defaaf28b1377d621f51fee4e1a
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2016-10-18 15:23:09 +08:00
Lin Kesheng
f04d6604f7
[h264e_rkv]: Implement OSD function
...
1. add description for OSD cmd in rk_mpi_cmd.h
2. judge if input MppBuffer for OSD is NULL
Change-Id: I6d674c81790d9cf57acdfa23f20c929b56f263e9
Signed-off-by: Lin Kesheng <lks@rock-chips.com >
2016-10-09 10:31:51 +08:00
Lin Kesheng
089660baa8
[hal_h264e_rkv]: support osd configuration
...
1. add osd control interface
2. remove h264e_hal_rkv_coveragetest_cfg.osd
3. add h264e_hal_test & mpi_enc_test for osd
4. use tool to format code
Change-Id: Iadb3453d8e6976e5f718253f762d144864419e94
Signed-off-by: Lin Kesheng <lks@rock-chips.com >
2016-10-08 11:19:11 +08:00
Herman Chen
c58df3f3f9
[mpp_enc]: Implement new encoder framework
...
1. Separate encoder configure to four parts
2. Add Preprocess / OSD / Extra configs
3. Implement mv_info interface
Change-Id: I2350a25c9f40b199cee8ef6c75ac6ca099f143c4
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Signed-off-by: Lin Kesheng <lks@rock-chips.com >
2016-09-27 11:08:08 +08:00
Herman Chen
1752473f33
[mpi]: fix -Wstrict-prototypes warning
...
Change-Id: If9549b213c6b5d5545186e1289a436957160924f
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2016-09-14 16:13:28 +08:00
herman.chen
a0c0639205
[meta]: modify metadata type and key definition
...
This is prepare for adding metadata key tree.
Change-Id: Ibd8f4a2c820cdeb5c59ade9a0f80d29e803143da
Signed-off-by: herman.chen <herman.chen@rock-chips.com >
2016-09-08 16:56:45 +08:00
Lin Kesheng
60373a6973
[all]: format code
...
use fromdos to change file type, remove ^M in code.
Change-Id: I000202dc51fcff57cc0771455baebea595115b1d
Signed-off-by: Lin Kesheng <lks@rock-chips.com >
2016-09-08 15:21:02 +08:00
Herman Chen
43bfdc6bdf
[format]: format coding style
...
Change-Id: I3d0e081f6636ca8162df4bda68618ec0ba37e7ae
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2016-08-23 09:16:22 +08:00
HuangTingjin
fdc9c5d4b4
[jpegd]: add implementation of jpegd_parser_control.
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1180 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-09 12:24:54 +00:00
ChenHengming
72d5d0fc93
[mpp_frame]: add more type for convenience
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1164 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-07 02:37:02 +00:00
ChenHengming
4428090348
[mpp_frame]: fix frame format macro backward compatible issue
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1160 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-05 08:15:04 +00:00
ChenHengming
f6aa0ebafa
[mpp_frame]: fix frame format macro backward compatible issue
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1159 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-05 07:14:32 +00:00
LinKesheng
ec463020e5
[hal_h264e]: 1. fix bugs in SDK debug; 2. support new Mppframeformat in mpp_frame.h.
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1158 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-04 13:23:50 +00:00
GaoZhili
530ac6b5d4
[h264e]: consummate the input format of encoder
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1154 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-04 07:15:49 +00:00
ChenHengming
560213eef9
[h264]: encoder and decoder share common definition
...
[h264e]: separate init and config into two functions and add mpp encoder config check function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1145 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-03 06:20:01 +00:00
ChenHengming
05e4178f9d
[mpp_enc]: implement more encoder control function
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1119 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-28 06:39:53 +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
abc3e78078
[mpp_enc]: remove mpp_enc_get_extra_data and mpp_enc_get_extra_data_size function and use control to get sps/pps of H.264 encoder
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1104 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-27 06:27:32 +00:00
ChenHengming
16b22667c6
[h264e]: pass mpp_cfg to internal H.264 encoder and fix errors in mpi_enc_test
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1101 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-26 12:29:08 +00:00
ZhaoJun
28745421d5
[sofia-3gr-linux]: add sofia-3gr-linux platform support
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1096 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-25 08:32:27 +00:00
ChenHengming
34d8d5b04e
[mpp_enc]: add more print to encoder configure process
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1070 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-22 01:49:39 +00:00
ChenHengming
d0e59132b1
[mpp_enc]: success on Android camera flow, encode_put_frame and encode_get_packet functions are ready
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1064 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-21 10:41:18 +00:00
ChenHengming
c102900a6b
[mpp_task]: add mpp_port_can_dequeue function for port status detection
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1062 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-21 10:03:09 +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
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
ee095068bc
[mpp_buffer]: add more mpp_buffer log information
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1043 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-19 09:38:21 +00:00
ChenHengming
ac9505c16c
[mpp_task]: add advanced task flow to mpp, mpi_enc_test can work without error
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1035 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-16 10:13:35 +00:00
ChenHengming
62e28b89ea
[mpp_task]: update task implement and add mpi_enc_test sample code
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1032 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-15 06:33:05 +00:00
ChenHengming
9715558eaa
[meta]: move mpp_meta.h to top inc and add mpp_task / mpp_meta to base CMakeLists.txt
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1028 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-15 02:52:42 +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
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
ChenHengming
ab2fb3de4c
[mpp_buffer]:
...
1. Separate mpp_buffer_import_with_tag into two macro for different usage.
2. Add more comment.
3. Change helper macro and function parameter order for better understanding.
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@972 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-01 06:44:01 +00:00
ChenHengming
563a08525a
[mpp_buffer]: add output MppBuffer to mpp_buffer_commit interface. Also add misc group internally
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@969 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-01 02:41:11 +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
c73483f729
[mpp_task]: update encoder secure task mode description
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@918 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-15 08:21:47 +00:00
ChenHengming
6a552fb7e4
[mpp]: add header for advanced task api
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@913 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-14 12:12:52 +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
ZhaoJun
3ae8f919c5
[osal]: add drm allocator for linux system
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@857 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-01 10:40:31 +00:00
ChenHengming
31a488585e
[mpp_packet]: add MppBuffer to MppPacket
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@852 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-01 01:36:37 +00:00
ChenHengming
cb1f526351
[mpp_buffer]: add mpp_buffer_get_size interface
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@849 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-31 07:44:01 +00:00
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
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
653a6b5aa4
[mpi] add avs marco
...
[vpu_api] add avs marco
[avsd] add avs interface
[test] comment
[h264d] move h264d_rw to codec
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@599 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-04-01 09:49:23 +00:00