Home
last modified time | relevance | path

Searched refs:IS_ALIGNED (Results 1 – 25 of 26) sorted by relevance

12

/external/libyuv/files/source/
Dplanar_functions.cc33 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 64)) { in CopyPlane()
38 if (TestCpuFlag(kCpuHasX86) && IS_ALIGNED(width, 4)) { in CopyPlane()
43 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width, 32) && in CopyPlane()
44 IS_ALIGNED(src_y, 16) && IS_ALIGNED(src_stride_y, 16) && in CopyPlane()
45 IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16)) { in CopyPlane()
84 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 16)) { in MirrorPlane()
89 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width, 16)) { in MirrorPlane()
93 IS_ALIGNED(src_y, 16) && IS_ALIGNED(src_stride_y, 16)) { in MirrorPlane()
133 if (IS_ALIGNED(width, 16)) { in YUY2ToI422()
136 if (IS_ALIGNED(src_yuy2, 16) && IS_ALIGNED(src_stride_yuy2, 16)) { in YUY2ToI422()
[all …]
Dconvert_argb.cc76 if (IS_ALIGNED(width, 8)) { in I444ToARGB()
78 if (IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) { in I444ToARGB()
121 if (IS_ALIGNED(width, 16)) { in I422ToARGB()
128 if (IS_ALIGNED(width, 8)) { in I422ToARGB()
130 if (IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) { in I422ToARGB()
173 if (IS_ALIGNED(width, 8)) { in I411ToARGB()
175 if (IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) { in I411ToARGB()
213 IS_ALIGNED(width, 8) && in I400ToARGB_Reference()
214 IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) { in I400ToARGB_Reference()
246 IS_ALIGNED(width, 8) && in I400ToARGB()
[all …]
Drotate_argb.cc43 IS_ALIGNED(height, 4) && // width of dest. in ARGBTranspose()
44 IS_ALIGNED(dst, 16) && IS_ALIGNED(dst_stride, 16)) { in ARGBTranspose()
85 if (TestCpuFlag(kCpuHasSSSE3) && IS_ALIGNED(width, 4) && in ARGBRotate180()
86 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16) && in ARGBRotate180()
87 IS_ALIGNED(dst, 16) && IS_ALIGNED(dst_stride, 16)) { in ARGBRotate180()
93 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width * 4, 64)) { in ARGBRotate180()
103 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width * 4, 32) && in ARGBRotate180()
104 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16) && in ARGBRotate180()
105 IS_ALIGNED(dst, 16) && IS_ALIGNED(dst_stride, 16)) { in ARGBRotate180()
Dconvert.cc153 IS_ALIGNED(halfwidth, 16) && in I422ToI420()
154 IS_ALIGNED(src_u, 16) && IS_ALIGNED(src_stride_u, 16) && in I422ToI420()
155 IS_ALIGNED(src_v, 16) && IS_ALIGNED(src_stride_v, 16) && in I422ToI420()
156 IS_ALIGNED(dst_u, 16) && IS_ALIGNED(dst_stride_u, 16) && in I422ToI420()
157 IS_ALIGNED(dst_v, 16) && IS_ALIGNED(dst_stride_v, 16)) { in I422ToI420()
233 IS_ALIGNED(halfwidth, 16)) { in I444ToI420()
238 IS_ALIGNED(halfwidth, 16) && in I444ToI420()
239 IS_ALIGNED(src_u, 16) && IS_ALIGNED(src_stride_u, 16) && in I444ToI420()
240 IS_ALIGNED(src_v, 16) && IS_ALIGNED(src_stride_v, 16) && in I444ToI420()
241 IS_ALIGNED(dst_u, 16) && IS_ALIGNED(dst_stride_u, 16) && in I444ToI420()
[all …]
Dconvert_from.cc53 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(halfwidth, 64)) { in I420ToI422()
57 if (IS_ALIGNED(halfwidth, 4)) { in I420ToI422()
60 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(halfwidth, 32) && in I420ToI422()
61 IS_ALIGNED(src_u, 16) && IS_ALIGNED(src_stride_u, 16) && in I420ToI422()
62 IS_ALIGNED(src_v, 16) && IS_ALIGNED(src_stride_v, 16) && in I420ToI422()
63 IS_ALIGNED(dst_u, 16) && IS_ALIGNED(dst_stride_u, 16) && in I420ToI422()
64 IS_ALIGNED(dst_v, 16) && IS_ALIGNED(dst_stride_v, 16)) { in I420ToI422()
488 IS_ALIGNED(width, 16) && in I422ToYUY2()
489 IS_ALIGNED(src_y, 16) && IS_ALIGNED(src_stride_y, 16) && in I422ToYUY2()
490 IS_ALIGNED(dst_frame, 16) && IS_ALIGNED(dst_stride_frame, 16)) { in I422ToYUY2()
[all …]
Drotate.cc788 if (TestCpuFlag(kCpuHasSSSE3) && IS_ALIGNED(width, 8)) { in TransposePlane()
794 IS_ALIGNED(width, 16) && in TransposePlane()
795 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16)) { in TransposePlane()
848 IS_ALIGNED(width, 16) && in RotatePlane180()
849 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16) && in RotatePlane180()
850 IS_ALIGNED(dst, 16) && IS_ALIGNED(dst_stride, 16)) { in RotatePlane180()
856 IS_ALIGNED(width, 16) && in RotatePlane180()
857 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16) && in RotatePlane180()
858 IS_ALIGNED(dst, 16) && IS_ALIGNED(dst_stride, 16)) { in RotatePlane180()
864 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 64)) { in RotatePlane180()
[all …]
Dscale_argb.cc804 IS_ALIGNED(dst_width, 4) && in ScaleARGBDown2()
805 IS_ALIGNED(src_ptr, 16) && IS_ALIGNED(src_stride, 16) && in ScaleARGBDown2()
806 IS_ALIGNED(dst_ptr, 16) && IS_ALIGNED(dst_stride, 16)) { in ScaleARGBDown2()
832 assert(IS_ALIGNED(src_width, 2)); in ScaleARGBDownEven()
833 assert(IS_ALIGNED(src_height, 2)); in ScaleARGBDownEven()
839 IS_ALIGNED(dst_width, 4) && in ScaleARGBDownEven()
840 IS_ALIGNED(dst_ptr, 16) && IS_ALIGNED(dst_stride, 16)) { in ScaleARGBDownEven()
875 IS_ALIGNED(src_stride, 16) && IS_ALIGNED(src_ptr, 16)) { in ScaleARGBBilinear()
881 IS_ALIGNED(src_stride, 16) && IS_ALIGNED(src_ptr, 16)) { in ScaleARGBBilinear()
Dformat_conversion.cc151 IS_ALIGNED(width, 4) && in ARGBToBayer()
152 IS_ALIGNED(src_argb, 16) && IS_ALIGNED(src_stride_argb, 16)) { in ARGBToBayer()
382 IS_ALIGNED(width, 16) && in BayerToI420()
383 IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16)) { in BayerToI420()
388 if (TestCpuFlag(kCpuHasSSSE3) && IS_ALIGNED(width, 16)) { in BayerToI420()
471 if (TestCpuFlag(kCpuHasSSSE3) && IS_ALIGNED(width, 4)) { in I420ToBayer()
Dcompare.cc362 IS_ALIGNED(src_a, 16) && IS_ALIGNED(src_b, 16)) { in ComputeSumSquareError()
403 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width, 16) && in ComputeSumSquareErrorPlane()
404 IS_ALIGNED(src_a, 16) && IS_ALIGNED(stride_a, 16) && in ComputeSumSquareErrorPlane()
405 IS_ALIGNED(src_b, 16) && IS_ALIGNED(stride_b, 16)) { in ComputeSumSquareErrorPlane()
Dscale.cc2304 IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2()
2308 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2()
2311 if (IS_ALIGNED(src_ptr, 16) && IS_ALIGNED(src_stride, 16) && in ScalePlaneDown2()
2312 IS_ALIGNED(dst_ptr, 16) && IS_ALIGNED(dst_stride, 16)) { in ScalePlaneDown2()
2342 IS_ALIGNED(dst_width, 4)) { in ScalePlaneDown4()
2347 IS_ALIGNED(dst_width, 8) && in ScalePlaneDown4()
2348 IS_ALIGNED(src_ptr, 16) && IS_ALIGNED(src_stride, 16)) { in ScalePlaneDown4()
2378 IS_ALIGNED(dst_width, 4) && in ScalePlaneDown8()
2379 IS_ALIGNED(src_ptr, 16) && IS_ALIGNED(src_stride, 16)) { in ScalePlaneDown8()
2427 IS_ALIGNED(src_ptr, 16) && IS_ALIGNED(src_stride, 16) && filtering) { in ScalePlaneDown34()
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Dconvert_argb.cc83 if (IS_ALIGNED(width, 8)) { in I444ToARGB()
91 if (IS_ALIGNED(width, 16)) { in I444ToARGB()
99 if (IS_ALIGNED(width, 8)) { in I444ToARGB()
151 if (IS_ALIGNED(width, 8)) { in I422ToARGB()
159 if (IS_ALIGNED(width, 16)) { in I422ToARGB()
167 if (IS_ALIGNED(width, 8)) { in I422ToARGB()
173 if (TestCpuFlag(kCpuHasMIPS_DSPR2) && IS_ALIGNED(width, 4) && in I422ToARGB()
174 IS_ALIGNED(src_y, 4) && IS_ALIGNED(src_stride_y, 4) && in I422ToARGB()
175 IS_ALIGNED(src_u, 2) && IS_ALIGNED(src_stride_u, 2) && in I422ToARGB()
176 IS_ALIGNED(src_v, 2) && IS_ALIGNED(src_stride_v, 2) && in I422ToARGB()
[all …]
Dconvert_from_argb.cc55 if (IS_ALIGNED(width, 16)) { in ARGBToI444()
63 if (IS_ALIGNED(width, 8)) { in ARGBToI444()
71 if (IS_ALIGNED(width, 16)) { in ARGBToI444()
79 if (IS_ALIGNED(width, 32)) { in ARGBToI444()
87 if (IS_ALIGNED(width, 8)) { in ARGBToI444()
136 if (IS_ALIGNED(width, 16)) { in ARGBToI422()
144 if (IS_ALIGNED(width, 16)) { in ARGBToI422()
152 if (IS_ALIGNED(width, 16)) { in ARGBToI422()
160 if (IS_ALIGNED(width, 32)) { in ARGBToI422()
168 if (IS_ALIGNED(width, 8)) { in ARGBToI422()
[all …]
Dscale_argb.cc60 if (IS_ALIGNED(dst_width, 4)) { in ScaleARGBDown2()
72 if (IS_ALIGNED(dst_width, 8)) { in ScaleARGBDown2()
112 if (IS_ALIGNED(dst_width, 4)) { in ScaleARGBDown4Box()
120 if (IS_ALIGNED(dst_width, 8)) { in ScaleARGBDown4Box()
152 assert(IS_ALIGNED(src_width, 2)); in ScaleARGBDownEven()
153 assert(IS_ALIGNED(src_height, 2)); in ScaleARGBDownEven()
159 if (IS_ALIGNED(dst_width, 4)) { in ScaleARGBDownEven()
169 if (IS_ALIGNED(dst_width, 4)) { in ScaleARGBDownEven()
216 if (IS_ALIGNED(clip_src_width, 16)) { in ScaleARGBBilinearDown()
224 if (IS_ALIGNED(clip_src_width, 16)) { in ScaleARGBBilinearDown()
[all …]
Dconvert_from.cc178 if (IS_ALIGNED(width, 16)) { in I422ToYUY2()
186 if (IS_ALIGNED(width, 16)) { in I422ToYUY2()
225 if (IS_ALIGNED(width, 16)) { in I420ToYUY2()
233 if (IS_ALIGNED(width, 16)) { in I420ToYUY2()
286 if (IS_ALIGNED(width, 16)) { in I422ToUYVY()
294 if (IS_ALIGNED(width, 16)) { in I422ToUYVY()
333 if (IS_ALIGNED(width, 16)) { in I420ToUYVY()
341 if (IS_ALIGNED(width, 16)) { in I420ToUYVY()
405 if (IS_ALIGNED(halfwidth, 16)) { in I420ToNV12()
413 if (IS_ALIGNED(halfwidth, 32)) { in I420ToNV12()
[all …]
Dplanar_functions.cc46 CopyRow = IS_ALIGNED(width, 32) ? CopyRow_SSE2 : CopyRow_Any_SSE2; in CopyPlane()
51 CopyRow = IS_ALIGNED(width, 64) ? CopyRow_AVX : CopyRow_Any_AVX; in CopyPlane()
61 CopyRow = IS_ALIGNED(width, 32) ? CopyRow_NEON : CopyRow_Any_NEON; in CopyPlane()
92 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width, 32)) { in CopyPlane_16()
102 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 32)) { in CopyPlane_16()
235 if (IS_ALIGNED(width, 16)) { in MirrorPlane()
243 if (IS_ALIGNED(width, 16)) { in MirrorPlane()
251 if (IS_ALIGNED(width, 16)) { in MirrorPlane()
259 if (IS_ALIGNED(width, 32)) { in MirrorPlane()
267 IS_ALIGNED(src_y, 4) && IS_ALIGNED(src_stride_y, 4) && in MirrorPlane()
[all …]
Drotate.cc39 if (IS_ALIGNED(width, 8)) { in TransposePlane()
47 if (IS_ALIGNED(width, 16)) { in TransposePlane()
54 if (IS_ALIGNED(width, 4) && in TransposePlane()
55 IS_ALIGNED(src, 4) && IS_ALIGNED(src_stride, 4)) { in TransposePlane()
115 if (IS_ALIGNED(width, 16)) { in RotatePlane180()
123 if (IS_ALIGNED(width, 16)) { in RotatePlane180()
131 if (IS_ALIGNED(width, 16)) { in RotatePlane180()
139 if (IS_ALIGNED(width, 32)) { in RotatePlane180()
147 IS_ALIGNED(src, 4) && IS_ALIGNED(src_stride, 4) && in RotatePlane180()
148 IS_ALIGNED(dst, 4) && IS_ALIGNED(dst_stride, 4)) { in RotatePlane180()
[all …]
Dscale.cc57 if (IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2()
69 if (IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2()
81 if (IS_ALIGNED(dst_width, 32)) { in ScalePlaneDown2()
89 if (TestCpuFlag(kCpuHasMIPS_DSPR2) && IS_ALIGNED(src_ptr, 4) && in ScalePlaneDown2()
90 IS_ALIGNED(src_stride, 4) && IS_ALIGNED(row_stride, 4) && in ScalePlaneDown2()
91 IS_ALIGNED(dst_ptr, 4) && IS_ALIGNED(dst_stride, 4)) { in ScalePlaneDown2()
126 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2_16()
132 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2_16()
139 if (TestCpuFlag(kCpuHasMIPS_DSPR2) && IS_ALIGNED(src_ptr, 4) && in ScalePlaneDown2_16()
140 IS_ALIGNED(src_stride, 4) && IS_ALIGNED(row_stride, 4) && in ScalePlaneDown2_16()
[all …]
Dconvert.cc193 CopyRow = IS_ALIGNED(width, 32) ? CopyRow_SSE2 : CopyRow_Any_SSE2; in CopyPlane2()
198 CopyRow = IS_ALIGNED(width, 64) ? CopyRow_AVX : CopyRow_Any_AVX; in CopyPlane2()
208 CopyRow = IS_ALIGNED(width, 32) ? CopyRow_NEON : CopyRow_Any_NEON; in CopyPlane2()
285 if (IS_ALIGNED(halfwidth, 16)) { in X420ToI420()
293 if (IS_ALIGNED(halfwidth, 32)) { in X420ToI420()
301 if (IS_ALIGNED(halfwidth, 16)) { in X420ToI420()
308 IS_ALIGNED(src_uv, 4) && IS_ALIGNED(src_stride_uv, 4) && in X420ToI420()
309 IS_ALIGNED(dst_u, 4) && IS_ALIGNED(dst_stride_u, 4) && in X420ToI420()
310 IS_ALIGNED(dst_v, 4) && IS_ALIGNED(dst_stride_v, 4)) { in X420ToI420()
312 if (IS_ALIGNED(halfwidth, 16)) { in X420ToI420()
[all …]
Drotate_argb.cc49 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(height, 4)) { // Width of dest. in ARGBTranspose()
54 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(height, 4)) { // Width of dest. in ARGBTranspose()
100 if (IS_ALIGNED(width, 4)) { in ARGBRotate180()
108 if (IS_ALIGNED(width, 4)) { in ARGBRotate180()
116 if (IS_ALIGNED(width, 8)) { in ARGBRotate180()
123 CopyRow = IS_ALIGNED(width * 4, 32) ? CopyRow_SSE2 : CopyRow_Any_SSE2; in ARGBRotate180()
128 CopyRow = IS_ALIGNED(width * 4, 64) ? CopyRow_AVX : CopyRow_Any_AVX; in ARGBRotate180()
138 CopyRow = IS_ALIGNED(width * 4, 32) ? CopyRow_NEON : CopyRow_Any_NEON; in ARGBRotate180()
Dscale_common.cc882 if (IS_ALIGNED(dst_width_bytes, 16)) { in ScalePlaneVertical()
890 if (IS_ALIGNED(dst_width_bytes, 16)) { in ScalePlaneVertical()
898 if (IS_ALIGNED(dst_width_bytes, 32)) { in ScalePlaneVertical()
906 if (IS_ALIGNED(dst_width_bytes, 16)) { in ScalePlaneVertical()
913 IS_ALIGNED(src_argb, 4) && IS_ALIGNED(src_stride, 4) && in ScalePlaneVertical()
914 IS_ALIGNED(dst_argb, 4) && IS_ALIGNED(dst_stride, 4)) { in ScalePlaneVertical()
916 if (IS_ALIGNED(dst_width_bytes, 4)) { in ScalePlaneVertical()
956 if (IS_ALIGNED(dst_width_bytes, 16)) { in ScalePlaneVertical_16()
964 if (IS_ALIGNED(dst_width_bytes, 16)) { in ScalePlaneVertical_16()
972 if (IS_ALIGNED(dst_width_bytes, 32)) { in ScalePlaneVertical_16()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dunix_io.c96 #define IS_ALIGNED(n, align) ((((unsigned long) n) & \ macro
179 (IS_ALIGNED(buf, channel->align) && in raw_read_blk()
180 IS_ALIGNED(size, channel->align))) { in raw_read_blk()
250 (IS_ALIGNED(buf, channel->align) && in raw_write_blk()
251 IS_ALIGNED(size, channel->align))) { in raw_write_blk()
/external/libjpeg-turbo/simd/
Djsimd_x86_64.c28 #define IS_ALIGNED(ptr, order) (((size_t)ptr & ((1 << order) - 1)) == 0) macro
30 #define IS_ALIGNED_SSE(ptr) (IS_ALIGNED(ptr, 4)) /* 16 byte alignment */
Djsimd_i386.c28 #define IS_ALIGNED(ptr, order) (((unsigned)ptr & ((1 << order) - 1)) == 0) macro
30 #define IS_ALIGNED_SSE(ptr) (IS_ALIGNED(ptr, 4)) /* 16 byte alignment */
/external/valgrind/drd/
Ddrd_pthread_intercepts.c352 #define IS_ALIGNED(p) (((uintptr_t)(p) & (sizeof(*(p)) - 1)) == 0) macro
371 if (IS_ALIGNED(&mutex->__m_kind)) in DRD_()
378 if (IS_ALIGNED(&mutex->__data.__kind)) in DRD_()
/external/libyuv/files/include/libyuv/
Drow.h23 #define IS_ALIGNED(p, a) (!((uintptr_t)(p) & ((a) - 1))) macro

12