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
timkingh.huang
44852d9696
[mpi_dec_test]:add advanced decoding path
...
(1) when decoding mjpeg, switch to mpi_dec_test_decode_advanced
(2) add advanced decoding interface for mjpeg in vpu_api_legacy.cpp
Change-Id: Ib1848d1686c76826385f76405dda81dd0405cb62
Signed-off-by: timkingh.huang <timkingh.huang@rock-chips.com >
2016-10-08 08:57:41 +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
Lin Kesheng
3300d13c3c
[HAL_H264E_RKV]: complete buffers allocation
...
1. add HalEncTask.flags.err to decribe errors
2. support alloc error treatment
3. support frame rate configuration
4. user tool to format file mpi_enc_test.c
5. allocate buffer according to color space
Change-Id: I17a89039504390bf1f2ff664a0aa4075b04d33ee
Signed-off-by: Lin Kesheng <lks@rock-chips.com >
2016-09-20 16:52:20 +08:00
Herman Chen
5f7053520e
[test]: fix mpi_enc_test help info
...
Change-Id: I8eb8b8593e41dab607fe14619504904ba9c01b1b
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2016-09-13 11:00:39 +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
Herman Chen
a0c8a331ad
[mpi_enc_test]: add default test without input
...
Change-Id: Ia8e57e4d9e36b5bedac206bef5ab2abb47ea0b0f
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2016-09-08 16:41:56 +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
Jung Zhao
70e2ebdb2b
[drm]: add android drm allocator support
...
1. enable drm allocator in android
2. modify size calculating when alloc
Todo: wait for new interface of kernel to decide
use whether drm or ion as allocator
Change-Id: Ia6791d91d113b238be77088ae747012fb786d683
Signed-off-by: Jung Zhao <jung.zhao@rock-chips.com >
2016-08-29 14:26:49 +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
ChenHengming
4f7f69c1ae
[mpp]: fix compile error on windows
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1191 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-11 10:16:44 +00:00
GaoZhili
a9b047a379
[h264e_control]: fix the rate control bug
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1178 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-09 03:01:05 +00:00
ChenHengming
0e9872c5ac
[mpi_dec_test]: update decoder test case
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1171 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-07 09:39:36 +00:00
ChenHengming
b15604090a
[test]: add format option to mpi_enc_test
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1165 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-07 02:47:14 +00:00
ChenHengming
472d2b585b
[vpu_api]: fix MppFrameFormat translation error in vpuapi layer
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1162 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-05 10:10:26 +00:00
ChenHengming
64f28f24b2
[test]: fix error on no input file to open
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1144 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-02 12:53:16 +00:00
ChenHengming
41ae5d0e22
[mpp_enc]: fix vpu_api setformat error and add more log to vpu_api path
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1142 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-02 02:10:48 +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
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
ChenHengming
4db17e27c6
[mpi_dec_test]: fix compiling error
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1051 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-20 07:56:39 +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
GaoZhili
d8121b013e
judge whether the dequeued task is NULL in mpi_enc_test
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1040 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-19 01:40:43 +00:00
ChenHengming
410c4a5471
[mpp_buffer_test]: clear mpp_buffer_debug on mpp_buffer_test exit
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1039 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-19 01:21:43 +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
94b4f98b45
[test]: add buffer pointer verification to mpp_buffer_test
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1018 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-14 09:15:11 +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
981d51187b
[linux]: fix mpp_buffer_test error on linux
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@970 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-01 04:01:54 +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
f7341152cb
[mpi_dec_test]: get_frame until return MppFrame is NULL
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@931 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-16 11:51:56 +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
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
f65e805680
[mpi_dec_test]: fix warning on Linux
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@924 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-16 07:29:00 +00:00
ChenHengming
5cd404be1b
[mpi_test]: add common mpi decoder test
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@923 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-16 07:26:32 +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
ChenHengming
354ceb2e68
[legacy]: fix thumbnail buffer group multiple release issue
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@895 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-06-08 06:10:43 +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
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
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
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
ChenHengming
751396b19e
[cmake]: add share library script for mpp_legacy
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@436 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-11-01 19:28:09 +00:00
ChenHengming
3898d120c6
[mpi_test]: reset env on test exit
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@407 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 23:22:30 +00:00
ChenHengming
de6807d72e
[cmake]: all test link to mpp_shared library, and change libmpp_legacy to libvpu
...
old vpuapi will call libvpu(libmpp_legacy), then mpp_legacy will go to old libvpu or dlopen libmpp
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@401 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-20 20:58:52 +00:00
ChenHengming
e8a195b429
[mpp_buffer]: update mpp_buffer_test
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@386 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-19 00:22:21 +00:00
ChenHengming
df3995f9bf
[mpp_dec]: basic info change flow ready
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@377 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-13 16:15:35 +00:00
ChenHengming
eb3236c8d1
[mpp]: return get_frame error on non-block mode
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@373 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 23:21:50 +00:00
ChenHengming
5e4e1a55b1
[misc]: remove warning on Linux
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@355 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-10-12 16:48:55 +00:00