Herman Chen
bae30008a7
[cmake]: Simplify cmake script
...
Change-Id: If5280bdb8d58d995d59f86c4cc5d51d4d5f74fe6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2018-02-02 11:22:11 +08:00
Herman Chen
b186d04390
[cmake]: Change to shorter RKPLATFORM macro
...
Change Android and Linux branches to use RKPLATFORM macro.
RKPLATFORM is shorter and it is not a cmake variable.
Change-Id: I09a6fe72e7dacedbb4b2b8e1a66b6f7ca625f019
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2017-12-19 19:46:36 +08:00
Jacob Chen
81759e832a
[build]: correct install directory and generate pkgconfig for linux
...
Change-Id: Id4f6b2278ee0fe50ffc9806fffc5b01267f723db
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com >
2017-12-19 10:51:24 +08:00
Ding Wei
785b0f220d
[cmake]: Partly merged Android and Linux branch
...
Use libmpp.so / libvpu.so on Android.
Use librockchip_mpp.so / librockchip_vpu.so
In early stage we use libmpp.so / libvpu.so on Android. later we found
it is better to use vendor name as library prefix. So we fix the name
rule on Linux platform.
But due to historical reason we can not change all sdk to use the same
name. So we choose to use this ugly method to define the name according
to different target platform.
Also we add version to library but Android has binary name issue so we
have to disable version on Android platform.
Change-Id: I785c3bc740f345e473f2d81c5cd2a4e32a1bf0bc
Signed-off-by: Ding Wei <leo.ding@rock-chips.com >
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Signed-off-by: Randy Li <randy.li@rock-chips.com >
2017-12-18 15:15:07 +08:00
Randy Li
7990b52e8d
[osal]: update the build system
...
The cross toolchains in Linux distributions are more prefer to
auto conf way, move those detecting from build system to toolchain
itself would be more welcome.
Change-Id: Ib42d9a0c65646b679ed14c96d16d1845c596f741
Signed-off-by: Randy Li <randy.li@rock-chips.com >
2017-06-06 08:38:31 +08:00
Randy Li
f98cd806ac
[build]: fix version generation from VCS for submodule
...
It is possible to use the project as the submodule of the
other project or having a top build rules project for it.
Change-Id: I6afb43392f10165005b7bf94a867936242dedd04
Signed-off-by: Randy Li <randy.li@rock-chips.com >
2017-04-16 14:04:29 +08:00
Herman Chen
f58ad55b5d
[cmake]: Fix compile error on windows
...
Change-Id: I6717e1dcf44887d38b176cf7d4a0657a7ce2a0ec
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2017-03-29 18:37:54 +08:00
Lin Kesheng
1d0413bd03
[coding-style]: implement git hook pre-commit
...
Change-Id: I0270d9c07655a965c5e4fda0cc03e44d0a5d8946
Signed-off-by: Lin Kesheng <lks@rock-chips.com >
2017-02-28 18:13:03 +08:00
Cody Xie
edaf21bab8
mpp : Install library to processor specific dir.
...
Change-Id: Ifa415d0611fa75eaa5bc0910e78b889fb2b99127
Signed-off-by: Cody Xie <xkd@rock-chips.com >
2016-11-24 16:48:26 +08:00
Cody Xie
3f0b6e50bd
mpp : Add install mpp public header files.
...
Headers will be installed to ${CMAKE_SOURCE_DIR}/out/inc by default.
Override INC_INSTALL_DIR to install to linux system dir.
"cmake -DINC_INSTALL_DIR=/usr/include/mpp ..."
Change-Id: I94cd4652e9ce728107b29e6715a50d51e68ceb8c
Signed-off-by: Cody Xie <xkd@rock-chips.com >
2016-11-24 16:46:12 +08:00
Herman Chen
c056a31049
[cmake]: fix missing version symbol on Android
...
Change-Id: Ie9137ddf807b37f8713cb3cbcd41bbf639477446
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2016-10-20 20:14:10 +08:00
Herman Chen
65df276a8d
[cmake]: Fix git not found issue
...
Change-Id: I887a019a08b74e86f4e69f066d5b6faebc6400cd
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2016-09-14 10:08:08 +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
c8e129cca3
[cmake]: do not hide symbol on debug mode
...
Change-Id: I55baf3178435a7ee76ba3fccac202faa2c04acfa
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2016-09-01 16:02:29 +08:00
Herman Chen
72a6e3b06a
[cmake]: add git and svn version script
...
Change-Id: Ia1f908986f503191c3e5a6bbe9dc5daa55648b40
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2016-08-22 10:45:29 +08:00
ChenHengming
560cc7b034
[cmake]: set visibility to hidden
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1200 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-16 08:01:35 +00:00
ChenHengming
213234cd77
[cmake]: disable visibility setup
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1199 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-16 06:54:23 +00:00
ChenHengming
c2cdea0a6d
[cmake]: set default visibility to hidden and enable mpp/vpu export function
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1195 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-15 10:35:30 +00:00
ChenHengming
2ea98e1f2e
[cmake]: add hardfp config for armv7-a architecture
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1176 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-08 08:32:52 +00:00
ChenHengming
06807e8a33
[cmake]: fix script for arm-linux
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1148 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-03 06:43:01 +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
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
GaoZhili
7c00f5b2a6
revert CMakeLists.txt file relative with ARMLINUX, and modify vpu_api_legacy.cpp to compatible with enc and dec
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1049 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-20 07:36:00 +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
f86974668f
[cmake]: disable multichar warning
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1026 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-15 00:51:38 +00:00
ChenHengming
d9ad2bd758
[cmake]: fix compile error on windows
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1024 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-14 11:10:15 +00:00
ChenHengming
f7a129e5b7
[meta]: fix compile warning and error
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1023 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-14 11:06:18 +00:00
ChenSiyong
8446a6f086
[linux] add ion.h for linux
...
[cmake] add RKPLATFORM set
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@842 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-05-27 09:55:22 +00:00
ChenHengming
c6d93bd1b9
[misc]: remove compile warning, and add utils directory for test cases
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@315 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-09-28 21:22:25 +00:00
DingWei
72251b9c56
[CMakeLists] In all CMakeLists, add properties folder which belonged
...
[mpi_test.c] Eliminate warning
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@184 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-24 21:07:22 +00:00
ChenHengming
8d6ace3794
[cmake]: add test to CMakeLists
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@152 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-24 01:38:37 +00:00
ChenHengming
122379210a
[cmake]: remove multibyte " in CMakeList.txt
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@91 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-13 00:55:11 +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
ChenHengming
bb1b5b4796
[cmake]: move pthread on window script to top layer for mpp_thread.h include directory
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@69 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-11 09:28:32 +00:00
ChenHengming
f2628db1aa
[mpp_info]: add mpp_info with svn information
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@50 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 06:15:12 +00:00
ChenHengming
ba806a522a
[cmake]: cmake script update
...
1. add svn author and date to cmake
2. change unit test install directory
2. use macro to add osal unit test
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@49 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 06:13:46 +00:00
ChenHengming
b830db1c0a
[cmake]: output svn_info to mpp directory
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@47 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-06 10:49:44 +00:00
ChenHengming
2328a54f0c
[cmake]: add MODULE_TAG scan script
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@46 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-06 09:11:54 +00:00
ChenHengming
3cfb36bca1
[cmake]: expand tab to space, add Android link configure for osal
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@22 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-04 07:17:56 +00:00
ChenHengming
46dd99fcab
[cmake]: add armv7-a arch detection
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@21 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-04 07:14:34 +00:00
ChenHengming
78462c589a
[cmake]: add armv7-a detection and host_package/host_programe macro for Android
...
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@16 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-03 10:26:41 +00:00
ChenHengming
bf2cb33dac
[cmake]: add svn version script
...
CMakeLists.txt will generate version.h for mpp include
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@7 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-28 10:50:48 +00:00
ChenHengming
58ca309470
[osal]: add rk_log, rk_list, rk_thread to osal directory
...
linux test ok
window can not compile, need more check
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@3 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-27 10:22:37 +00:00