mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
Allow assemblers with a slightly different syntax to use the optimized neon routines. Removed extra constraints on the calling of the optimized routines. All neon routines can load unaligned and handle odd widths. Align allocated buffers in rotate_test.cc Add neon rotate file to gyp file for arm targets. Review URL: http://webrtc-codereview.appspot.com/253007 git-svn-id: http://libyuv.googlecode.com/svn/trunk@59 16f28f9a-4ce2-e073-06de-1de4eb20be90
80 lines
1.9 KiB
Python
80 lines
1.9 KiB
Python
# Copyright (c) 2011 The LibYuv project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'libyuv',
|
|
'type': 'static_library',
|
|
'include_dirs': [
|
|
'include',
|
|
'.',
|
|
],
|
|
'direct_dependent_settings': {
|
|
'include_dirs': [
|
|
'include',
|
|
'.',
|
|
],
|
|
},
|
|
'sources': [
|
|
# includes
|
|
'include/libyuv/basic_types.h',
|
|
'include/libyuv/convert.h',
|
|
'include/libyuv/general.h',
|
|
'include/libyuv/scale.h',
|
|
'include/libyuv/planar_functions.h',
|
|
|
|
# headers
|
|
'source/conversion_tables.h',
|
|
'source/cpu_id.h',
|
|
'source/rotate.h',
|
|
'source/rotate_priv.h',
|
|
'source/row.h',
|
|
'source/video_common.h',
|
|
|
|
# sources
|
|
'source/convert.cc',
|
|
'source/cpu_id.cc',
|
|
'source/format_conversion.cc',
|
|
'source/general.cc',
|
|
'source/planar_functions.cc',
|
|
'source/rotate.cc',
|
|
'source/row_table.cc',
|
|
'source/scale.cc',
|
|
'source/video_common.cc',
|
|
],
|
|
'conditions': [
|
|
['OS=="win"', {
|
|
'sources': [
|
|
'source/row_win.cc',
|
|
],
|
|
},{ # else
|
|
'sources': [
|
|
'source/row_posix.cc',
|
|
],
|
|
}],
|
|
['target_arch=="arm"',{
|
|
'conditions': [
|
|
['arm_neon==1', {
|
|
'sources' : [
|
|
'source/rotate_neon.cc',
|
|
],
|
|
}],
|
|
],
|
|
}],
|
|
]
|
|
},
|
|
], # targets
|
|
}
|
|
|
|
# Local Variables:
|
|
# tab-width:2
|
|
# indent-tabs-mode:nil
|
|
# End:
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|