Commit Graph

21 Commits

Author SHA1 Message Date
Herman Chen
2005ed4f42 [test]: Remove vpu_api_test's dependence on mpp
Remove all mpp object from vpu.so
NOTE: link_directories should be before add_library or add_executable.

Change-Id: Idee25e1ccc2c3182f7b8c26c277d396e28654f3e
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
2020-05-21 09:40:23 +08:00
Herman Chen
ef72082c67 [legacy]: Fix vpu_api_test
1. Remove static libraries for mpp and vpu.
2. Fix vpu_api_test and use dlopen to access libvpu.
3. Fix issue on vepu22 dependence on rga.

vpu_api_test cmd:
enc: vpu_api_test -t 2 -w 1280 -h 720 -i a.yuv -coding 7 -o a.h264

Change-Id: I9682b17b90dce4a82400f5e2da3c955819f875bf
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2020-05-19 11:00:13 +08:00
Herman Chen
5d6b20385e [legacy]: Fix vpu_api_test memory leak issue
Data in DecoderOut_t is malloc from vpu_api_legacy. And Android OMX
component is following this rule for historical reason. We have to
change test case to support it.

Change-Id: I202525eecc461bd9507cfa2c376de11e2fc6fc9b
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-03-27 16:17:59 +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
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
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
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
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
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
bed52a856e [utils]: add show_options to utils
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@316 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-28 22:31:52 +00:00
ChenHengming
608671728d [astyle]: formating coding style
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@186 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-24 21:36:21 +00:00
DingWei
1099661cf5 fix vs compiling problem: defined variable should be in the top of function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@162 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-26 01:52:43 +00:00
ChenHengming
c2eb90fd1e [vpu_api_test]: fix compiling error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@161 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-26 01:16:41 +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
ChenHengming
7ee044f9f3 [vpu_api_test]: fix shadow warning on Android
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@87 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-12 08:16:56 +00:00
ChenHengming
c7ec6746b0 [vpu_api]: integrate vpu_mem interface to vpu_api.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@85 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-12 07:44:06 +00:00
ChenHengming
d8a5b75564 [vpu_api_test]: format file style
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@75 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-12 06:00:31 +00:00
ChenHengming
8b7b9dc198 [vpu_api_test]: remove warning on Linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@74 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-12 03:42:21 +00:00
ChenHengming
52d5ffb332 [vpu_api_test]: add vpu_api_demo for testing and add msleep to mpp_time.h
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@73 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-12 03:34:28 +00:00