mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
arm64 initial port using C
BUG=319 TESTED=GYP_DEFINES="OS=ios target_arch=armv7 target_subarch=64" GYP_CROSSCOMPILE=1 GYP_GENERATOR_FLAGS="output_dir=out_ios" ./build/gyp_chromium -f ninja --depth=. libyuv_test.gyp && ninja -j7 -C out_ios/Debug-iphoneos R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/10909004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@994 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
614c9fa853
commit
c99fa63f6b
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 990
|
Version: 994
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,6 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define LIBYUV_VERSION 990
|
#define LIBYUV_VERSION 994
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
'use_system_libjpeg%': 0,
|
'use_system_libjpeg%': 0,
|
||||||
'build_neon': 0,
|
'build_neon': 0,
|
||||||
'conditions': [
|
'conditions': [
|
||||||
[ '(target_arch == "armv7" or target_arch == "armv8" or (target_arch == "arm" and arm_version >= 7)) and (arm_neon == 1 or arm_neon_optional == 1)', {
|
[ '(target_arch == "armv7" or target_arch == "armv7s" or (target_arch == "arm" and arm_version >= 7)) and target_subarch != 64 and (arm_neon == 1 or arm_neon_optional == 1)', {
|
||||||
'build_neon': 1,
|
'build_neon': 1,
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
@ -66,6 +66,11 @@
|
|||||||
# Allows libyuv.a redistributable library without external dependencies.
|
# Allows libyuv.a redistributable library without external dependencies.
|
||||||
'standalone_static_library': 1,
|
'standalone_static_library': 1,
|
||||||
'conditions': [
|
'conditions': [
|
||||||
|
[ 'OS == "ios" and target_subarch == 64', {
|
||||||
|
'defines': [
|
||||||
|
'LIBYUV_DISABLE_NEON'
|
||||||
|
],
|
||||||
|
}],
|
||||||
# TODO(fbarchard): Use gyp define to enable jpeg.
|
# TODO(fbarchard): Use gyp define to enable jpeg.
|
||||||
[ 'OS != "ios"', {
|
[ 'OS != "ios"', {
|
||||||
'defines': [
|
'defines': [
|
||||||
|
|||||||
@ -51,6 +51,11 @@
|
|||||||
'-fexceptions',
|
'-fexceptions',
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
|
[ 'OS == "ios" and target_subarch == 64', {
|
||||||
|
'defines': [
|
||||||
|
'LIBYUV_DISABLE_NEON'
|
||||||
|
],
|
||||||
|
}],
|
||||||
[ 'OS != "ios"', {
|
[ 'OS != "ios"', {
|
||||||
'defines': [
|
'defines': [
|
||||||
'HAVE_JPEG',
|
'HAVE_JPEG',
|
||||||
@ -105,6 +110,13 @@
|
|||||||
'util/psnr.cc',
|
'util/psnr.cc',
|
||||||
'util/ssim.cc',
|
'util/ssim.cc',
|
||||||
],
|
],
|
||||||
|
'conditions': [
|
||||||
|
[ 'OS == "ios" and target_subarch == 64', {
|
||||||
|
'defines': [
|
||||||
|
'LIBYUV_DISABLE_NEON'
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
], # conditions
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'target_name': 'cpuid',
|
'target_name': 'cpuid',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user