Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: source/row_neon.cc

Issue 2399153004: libyuv::YUY2ToY for isolating Y channel of YUY2. (Closed)
Patch Set: coalesce for YUY2ToY Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/planar_functions.cc ('k') | unit_test/convert_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 The LibYuv Project Authors. All rights reserved. 2 * Copyright 2011 The LibYuv Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "libyuv/row.h" 11 #include "libyuv/row.h"
12 12
13 #include <stdio.h>
14
13 #ifdef __cplusplus 15 #ifdef __cplusplus
14 namespace libyuv { 16 namespace libyuv {
15 extern "C" { 17 extern "C" {
16 #endif 18 #endif
17 19
18 // This module is for GCC Neon 20 // This module is for GCC Neon
19 #if !defined(LIBYUV_DISABLE_NEON) && defined(__ARM_NEON__) && \ 21 #if !defined(LIBYUV_DISABLE_NEON) && defined(__ARM_NEON__) && \
20 !defined(__aarch64__) 22 !defined(__aarch64__)
21 23
22 // Read 8 Y, 4 U and 4 V from 422 24 // Read 8 Y, 4 U and 4 V from 422
(...skipping 2811 matching lines...) Expand 10 before | Expand all | Expand 10 after
2834 "r"(6) // %5 2836 "r"(6) // %5
2835 : "cc", "memory", "q0", "q1" // Clobber List 2837 : "cc", "memory", "q0", "q1" // Clobber List
2836 ); 2838 );
2837 } 2839 }
2838 #endif // defined(__ARM_NEON__) && !defined(__aarch64__) 2840 #endif // defined(__ARM_NEON__) && !defined(__aarch64__)
2839 2841
2840 #ifdef __cplusplus 2842 #ifdef __cplusplus
2841 } // extern "C" 2843 } // extern "C"
2842 } // namespace libyuv 2844 } // namespace libyuv
2843 #endif 2845 #endif
OLDNEW
« no previous file with comments | « source/planar_functions.cc ('k') | unit_test/convert_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698