1. Remove SVN version record.
2. CMakeLists will record max 10 git version.
3. Use mpp_show_history to control the history display.
4. Use strings libmpp.so | grep author to get history log from binary.
Change-Id: I5231ced4031d868fe1329488c914730dc91a3531
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
1. Detect NDK path and version
2. Enable cmake multithread compiling if version > 3.12
3. Support specifying args to build script
Change-Id: I2179aeb5460de6b8d39a867ba3a4200c51b61be7
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
Change CMAKE_SYSTEM_PROCESSOR from armv8 to armv8-a
Change-Id: I4e0021a44b933813d336383b5363170ecf2b7027
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
modify cmake script to allow multiple define about ndk variables.
It is a bug caused by low version ndk.
Change-Id: I92584f050b0cfd5397b7cf85a8963dbe492baa69
Signed-off-by: sliver.chen <sliver.chen@rock-chips.com>
Just like in the android arm/aarch directory.
Change-Id: I27fd97835c92e23e0422cfdcd381c540b9af8fd9
Signed-off-by: sliver.chen <sliver.chen@rock-chips.com>
Due to more platform using 4.4 kernel with drm we default enable
drm support on Android platform.
Change-Id: I4690d3d5f65a471b797d2474426836e6e357cf66
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
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>
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>
Those files are generated in Debian package building
system.
Change-Id: I4be4e583a36c43687b1b40af944722c3f3415ba5
Signed-off-by: Randy Li <randy.li@rock-chips.com>
It would make the build system more simple, and the cross
toolchains would do the rest to you.
Toolchains like buildroot default not enable the __gnu_linux__
marco in the pre-processor will surfure from the systsm unknown
problem. You should enable the marco in building toolchains
or have a look on those scripts in build directory.
Change-Id: I8f6af3391aa3d94d602ec8d84ba5e43839859169
Signed-off-by: Randy Li <randy.li@rock-chips.com>
Use mpp/codecs.cmake to enable/disable codecs in order to reduce library
size.
All decoder and encoder can be disbaled now. Default all open.
Change-Id: I3307460df12f2f3fc82898d823ab2da12002d6c6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
x86_64 is for simulation debug. It is just for working flow test.
Change-Id: I2d1cb50e52a104e58f6eaf3b27fd9dcf41b9ada6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
NOTE: there will be ndk error:
../libosal.a(os_env.c.o): In function `os_get_env_u32':
os_env.c:(.text.os_get_env_u32+0x20): undefined reference to `__system_property_get'
../libosal.a(os_env.c.o): In function `os_get_env_str':
os_env.c:(.text.os_get_env_str+0x34): undefined reference to `__system_property_get'
../libosal.a(os_env.c.o): In function `os_set_env_u32':
os_env.c:(.text.os_set_env_u32+0x34): undefined reference to `__system_property_set'
../libosal.a(os_env.c.o): In function `os_set_env_str':
os_env.c:(.text.os_set_env_str+0x8): undefined reference to `__system_property_set'
Solution here: http://www.bubuko.com/infodetail-1014879.html
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@613 6e48237b-75ef-9749-8fc9-41990f28c85a