/external/libyuv/files/source/ |
D | planar_functions.cc | 33 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 …]
|
D | convert_argb.cc | 76 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 …]
|
D | rotate_argb.cc | 43 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()
|
D | convert.cc | 153 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 …]
|
D | convert_from.cc | 53 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 …]
|
D | rotate.cc | 788 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 …]
|
D | scale_argb.cc | 804 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()
|
D | format_conversion.cc | 151 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()
|
D | compare.cc | 362 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()
|
D | scale.cc | 2304 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/ |
D | convert_argb.cc | 83 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 …]
|
D | convert_from_argb.cc | 55 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 …]
|
D | scale_argb.cc | 60 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 …]
|
D | convert_from.cc | 178 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 …]
|
D | planar_functions.cc | 46 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 …]
|
D | rotate.cc | 39 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 …]
|
D | scale.cc | 57 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 …]
|
D | convert.cc | 193 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 …]
|
D | rotate_argb.cc | 49 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()
|
D | scale_common.cc | 882 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/ |
D | unix_io.c | 96 #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/ |
D | jsimd_x86_64.c | 28 #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 */
|
D | jsimd_i386.c | 28 #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/ |
D | drd_pthread_intercepts.c | 352 #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/ |
D | row.h | 23 #define IS_ALIGNED(p, a) (!((uintptr_t)(p) & ((a) - 1))) macro
|