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

Side by Side Diff: Source/platform/graphics/cpu/arm/filters/NEONHelpers.h

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 University of Szeged 2 * Copyright (C) 2012 University of Szeged
3 * Copyright (C) 2012 Gabor Rapcsanyi 3 * Copyright (C) 2012 Gabor Rapcsanyi
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 uint16x4_t temporary1 = vmovn_u32(vcvtq_u32_f32(data)); 46 uint16x4_t temporary1 = vmovn_u32(vcvtq_u32_f32(data));
47 uint8x8_t temporary2 = vmovn_u16(vcombine_u16(temporary1, temporary1)); 47 uint8x8_t temporary2 = vmovn_u16(vcombine_u16(temporary1, temporary1));
48 *destination = vget_lane_u32(vreinterpret_u32_u8(temporary2), 0); 48 *destination = vget_lane_u32(vreinterpret_u32_u8(temporary2), 0);
49 } 49 }
50 50
51 } // namespace WebCore 51 } // namespace WebCore
52 52
53 #endif // HAVE(ARM_NEON_INTRINSICS) 53 #endif // HAVE(ARM_NEON_INTRINSICS)
54 54
55 #endif // NEONHelpers_h 55 #endif // NEONHelpers_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/cpu/arm/filters/FEGaussianBlurNEON.h ('k') | Source/platform/graphics/filters/FEGaussianBlur.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698