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

Side by Side Diff: source/row_any.cc

Issue 1388273002: Reimplement NV21ToARGB to allow different color matrix. (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: include scale_row.h for scaling macros Created 5 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') | source/row_common.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 2012 The LibYuv Project Authors. All rights reserved. 2 * Copyright 2012 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
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // Biplanar to RGB. 273 // Biplanar to RGB.
274 #ifdef HAS_NV12TOARGBROW_SSSE3 274 #ifdef HAS_NV12TOARGBROW_SSSE3
275 ANY21C(NV12ToARGBRow_Any_SSSE3, NV12ToARGBRow_SSSE3, 1, 1, 2, 4, 7) 275 ANY21C(NV12ToARGBRow_Any_SSSE3, NV12ToARGBRow_SSSE3, 1, 1, 2, 4, 7)
276 #endif 276 #endif
277 #ifdef HAS_NV12TOARGBROW_AVX2 277 #ifdef HAS_NV12TOARGBROW_AVX2
278 ANY21C(NV12ToARGBRow_Any_AVX2, NV12ToARGBRow_AVX2, 1, 1, 2, 4, 15) 278 ANY21C(NV12ToARGBRow_Any_AVX2, NV12ToARGBRow_AVX2, 1, 1, 2, 4, 15)
279 #endif 279 #endif
280 #ifdef HAS_NV12TOARGBROW_NEON 280 #ifdef HAS_NV12TOARGBROW_NEON
281 ANY21C(NV12ToARGBRow_Any_NEON, NV12ToARGBRow_NEON, 1, 1, 2, 4, 7) 281 ANY21C(NV12ToARGBRow_Any_NEON, NV12ToARGBRow_NEON, 1, 1, 2, 4, 7)
282 #endif 282 #endif
283 #ifdef HAS_NV21TOARGBROW_SSSE3
284 ANY21C(NV21ToARGBRow_Any_SSSE3, NV21ToARGBRow_SSSE3, 1, 1, 2, 4, 7)
285 #endif
286 #ifdef HAS_NV21TOARGBROW_AVX2
287 ANY21C(NV21ToARGBRow_Any_AVX2, NV21ToARGBRow_AVX2, 1, 1, 2, 4, 15)
288 #endif
289 #ifdef HAS_NV21TOARGBROW_NEON
290 ANY21C(NV21ToARGBRow_Any_NEON, NV12ToARGBRow_NEON, 1, 1, 2, 4, 7)
291 #endif
283 #ifdef HAS_NV12TORGB565ROW_SSSE3 292 #ifdef HAS_NV12TORGB565ROW_SSSE3
284 ANY21C(NV12ToRGB565Row_Any_SSSE3, NV12ToRGB565Row_SSSE3, 1, 1, 2, 2, 7) 293 ANY21C(NV12ToRGB565Row_Any_SSSE3, NV12ToRGB565Row_SSSE3, 1, 1, 2, 2, 7)
285 #endif 294 #endif
286 #ifdef HAS_NV12TORGB565ROW_AVX2 295 #ifdef HAS_NV12TORGB565ROW_AVX2
287 ANY21C(NV12ToRGB565Row_Any_AVX2, NV12ToRGB565Row_AVX2, 1, 1, 2, 2, 15) 296 ANY21C(NV12ToRGB565Row_Any_AVX2, NV12ToRGB565Row_AVX2, 1, 1, 2, 2, 15)
288 #endif 297 #endif
289 #ifdef HAS_NV12TORGB565ROW_NEON 298 #ifdef HAS_NV12TORGB565ROW_NEON
290 ANY21C(NV12ToRGB565Row_Any_NEON, NV12ToRGB565Row_NEON, 1, 1, 2, 2, 7) 299 ANY21C(NV12ToRGB565Row_Any_NEON, NV12ToRGB565Row_NEON, 1, 1, 2, 2, 7)
291 #endif 300 #endif
292 #undef ANY21C 301 #undef ANY21C
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 #endif 795 #endif
787 #ifdef HAS_UYVYTOUVROW_NEON 796 #ifdef HAS_UYVYTOUVROW_NEON
788 ANY12S(UYVYToUVRow_Any_NEON, UYVYToUVRow_NEON, 1, 4, 15) 797 ANY12S(UYVYToUVRow_Any_NEON, UYVYToUVRow_NEON, 1, 4, 15)
789 #endif 798 #endif
790 #undef ANY12S 799 #undef ANY12S
791 800
792 #ifdef __cplusplus 801 #ifdef __cplusplus
793 } // extern "C" 802 } // extern "C"
794 } // namespace libyuv 803 } // namespace libyuv
795 #endif 804 #endif
OLDNEW
« no previous file with comments | « source/planar_functions.cc ('k') | source/row_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698