/external/libvpx/libvpx/third_party/libyuv/source/ |
D | convert_from_argb.cc | 56 if (IS_ALIGNED(width, 16)) { in ARGBToI444() 58 if (IS_ALIGNED(src_argb, 16) && IS_ALIGNED(src_stride_argb, 16)) { in ARGBToI444() 67 if (IS_ALIGNED(width, 16)) { in ARGBToI444() 69 if (IS_ALIGNED(src_argb, 16) && IS_ALIGNED(src_stride_argb, 16) && in ARGBToI444() 70 IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16)) { in ARGBToI444() 80 if (IS_ALIGNED(width, 8)) { in ARGBToI444() 130 if (IS_ALIGNED(width, 16)) { in ARGBToI422() 132 if (IS_ALIGNED(src_argb, 16) && IS_ALIGNED(src_stride_argb, 16)) { in ARGBToI422() 142 if (IS_ALIGNED(width, 16)) { in ARGBToI422() 144 if (IS_ALIGNED(src_argb, 16) && IS_ALIGNED(src_stride_argb, 16) && in ARGBToI422() [all …]
|
D | scale_argb.cc | 56 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(dst_width, 4) && in ScaleARGBDown2() 57 IS_ALIGNED(src_argb, 16) && IS_ALIGNED(row_stride, 16) && in ScaleARGBDown2() 58 IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride, 16)) { in ScaleARGBDown2() 64 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(dst_width, 8) && in ScaleARGBDown2() 65 IS_ALIGNED(src_argb, 4) && IS_ALIGNED(row_stride, 4)) { in ScaleARGBDown2() 101 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(dst_width, 4) && in ScaleARGBDown4Box() 102 IS_ALIGNED(src_argb, 16) && IS_ALIGNED(row_stride, 16) && in ScaleARGBDown4Box() 103 IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride, 16)) { in ScaleARGBDown4Box() 107 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(dst_width, 8) && in ScaleARGBDown4Box() 108 IS_ALIGNED(src_argb, 4) && IS_ALIGNED(row_stride, 4)) { in ScaleARGBDown4Box() [all …]
|
D | planar_functions.cc | 45 if (TestCpuFlag(kCpuHasX86) && IS_ALIGNED(width, 4)) { in CopyPlane() 50 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width, 32) && in CopyPlane() 51 IS_ALIGNED(src_y, 16) && IS_ALIGNED(src_stride_y, 16) && in CopyPlane() 52 IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16)) { in CopyPlane() 62 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 32)) { in CopyPlane() 94 if (TestCpuFlag(kCpuHasX86) && IS_ALIGNED(width, 4)) { in CopyPlane_16() 99 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width, 32) && in CopyPlane_16() 100 IS_ALIGNED(src_y, 16) && IS_ALIGNED(src_stride_y, 16) && in CopyPlane_16() 101 IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16)) { in CopyPlane_16() 111 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 32)) { in CopyPlane_16() [all …]
|
D | convert_argb.cc | 84 if (IS_ALIGNED(width, 8)) { in I444ToARGB() 86 if (IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) { in I444ToARGB() 94 if (IS_ALIGNED(width, 8)) { in I444ToARGB() 146 if (IS_ALIGNED(width, 8)) { in I422ToARGB() 148 if (IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) { in I422ToARGB() 157 if (IS_ALIGNED(width, 16)) { in I422ToARGB() 165 if (IS_ALIGNED(width, 8)) { in I422ToARGB() 171 if (TestCpuFlag(kCpuHasMIPS_DSPR2) && IS_ALIGNED(width, 4) && in I422ToARGB() 172 IS_ALIGNED(src_y, 4) && IS_ALIGNED(src_stride_y, 4) && in I422ToARGB() 173 IS_ALIGNED(src_u, 2) && IS_ALIGNED(src_stride_u, 2) && in I422ToARGB() [all …]
|
D | convert.cc | 192 if (TestCpuFlag(kCpuHasX86) && IS_ALIGNED(width, 4)) { in CopyPlane2() 197 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width, 32) && in CopyPlane2() 198 IS_ALIGNED(src, 16) && in CopyPlane2() 199 IS_ALIGNED(src_stride_0, 16) && IS_ALIGNED(src_stride_1, 16) && in CopyPlane2() 200 IS_ALIGNED(dst, 16) && IS_ALIGNED(dst_stride, 16)) { in CopyPlane2() 210 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 32)) { in CopyPlane2() 288 if (IS_ALIGNED(halfwidth, 16)) { in X420ToI420() 290 if (IS_ALIGNED(src_uv, 16) && IS_ALIGNED(src_stride_uv, 16) && in X420ToI420() 291 IS_ALIGNED(dst_u, 16) && IS_ALIGNED(dst_stride_u, 16) && in X420ToI420() 292 IS_ALIGNED(dst_v, 16) && IS_ALIGNED(dst_stride_v, 16)) { in X420ToI420() [all …]
|
D | scale.cc | 57 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2() 61 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2() 65 if (IS_ALIGNED(src_ptr, 16) && in ScalePlaneDown2() 66 IS_ALIGNED(src_stride, 16) && IS_ALIGNED(row_stride, 16) && in ScalePlaneDown2() 67 IS_ALIGNED(dst_ptr, 16) && IS_ALIGNED(dst_stride, 16)) { in ScalePlaneDown2() 74 if (TestCpuFlag(kCpuHasMIPS_DSPR2) && IS_ALIGNED(src_ptr, 4) && in ScalePlaneDown2() 75 IS_ALIGNED(src_stride, 4) && IS_ALIGNED(row_stride, 4) && in ScalePlaneDown2() 76 IS_ALIGNED(dst_ptr, 4) && IS_ALIGNED(dst_stride, 4)) { in ScalePlaneDown2() 111 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2_16() 116 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(dst_width, 16)) { in ScalePlaneDown2_16() [all …]
|
D | rotate_argb.cc | 53 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(height, 4) && // Width of dest. in ARGBTranspose() 54 IS_ALIGNED(dst, 16) && IS_ALIGNED(dst_stride, 16)) { in ARGBTranspose() 58 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(height, 4) && // Width of dest. in ARGBTranspose() 59 IS_ALIGNED(src, 4)) { in ARGBTranspose() 106 if (TestCpuFlag(kCpuHasSSSE3) && IS_ALIGNED(width, 4) && in ARGBRotate180() 107 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16) && in ARGBRotate180() 108 IS_ALIGNED(dst, 16) && IS_ALIGNED(dst_stride, 16)) { in ARGBRotate180() 113 if (TestCpuFlag(kCpuHasAVX2) && IS_ALIGNED(width, 8)) { in ARGBRotate180() 118 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 4)) { in ARGBRotate180() 123 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width * 4, 32)) { in ARGBRotate180() [all …]
|
D | convert_from.cc | 179 if (IS_ALIGNED(width, 16)) { in I422ToYUY2() 186 if (IS_ALIGNED(width, 16)) { in I422ToYUY2() 225 if (IS_ALIGNED(width, 16)) { in I420ToYUY2() 232 if (IS_ALIGNED(width, 16)) { in I420ToYUY2() 285 if (IS_ALIGNED(width, 16)) { in I422ToUYVY() 292 if (IS_ALIGNED(width, 16)) { in I422ToUYVY() 331 if (IS_ALIGNED(width, 16)) { in I420ToUYVY() 338 if (IS_ALIGNED(width, 16)) { in I420ToUYVY() 402 if (IS_ALIGNED(halfwidth, 16)) { in I420ToNV12() 404 if (IS_ALIGNED(src_u, 16) && IS_ALIGNED(src_stride_u, 16) && in I420ToNV12() [all …]
|
D | rotate.cc | 816 if (TestCpuFlag(kCpuHasSSSE3) && IS_ALIGNED(width, 8)) { in TransposePlane() 822 IS_ALIGNED(width, 16) && in TransposePlane() 823 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16)) { in TransposePlane() 829 if (IS_ALIGNED(width, 4) && in TransposePlane() 830 IS_ALIGNED(src, 4) && IS_ALIGNED(src_stride, 4)) { in TransposePlane() 886 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 16)) { in RotatePlane180() 891 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width, 16) && in RotatePlane180() 892 IS_ALIGNED(src, 16) && IS_ALIGNED(src_stride, 16) && in RotatePlane180() 893 IS_ALIGNED(dst, 16) && IS_ALIGNED(dst_stride, 16)) { in RotatePlane180() 898 if (TestCpuFlag(kCpuHasSSSE3) && IS_ALIGNED(width, 16) && in RotatePlane180() [all …]
|
D | format_conversion.cc | 81 IS_ALIGNED(src_argb, 16) && IS_ALIGNED(src_stride_argb, 16)) { in ARGBToBayer() 83 if (IS_ALIGNED(width, 8)) { in ARGBToBayer() 90 if (IS_ALIGNED(width, 8)) { in ARGBToBayer() 321 if (IS_ALIGNED(width, 16)) { in BayerToI420() 324 if (IS_ALIGNED(dst_y, 16) && IS_ALIGNED(dst_stride_y, 16)) { in BayerToI420() 332 if (IS_ALIGNED(width, 8)) { in BayerToI420() 337 if (IS_ALIGNED(width, 16)) { in BayerToI420() 426 if (IS_ALIGNED(width, 8)) { in I420ToBayer() 434 if (IS_ALIGNED(width, 16)) { in I420ToBayer() 442 if (IS_ALIGNED(width, 8)) { in I420ToBayer() [all …]
|
D | scale_common.cc | 890 if (IS_ALIGNED(dst_width_bytes, 16)) { in ScalePlaneVertical() 892 if (IS_ALIGNED(src_argb, 16) && IS_ALIGNED(src_stride, 16) && in ScalePlaneVertical() 893 IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride, 16)) { in ScalePlaneVertical() 902 if (IS_ALIGNED(dst_width_bytes, 16)) { in ScalePlaneVertical() 904 if (IS_ALIGNED(src_argb, 16) && IS_ALIGNED(src_stride, 16) && in ScalePlaneVertical() 905 IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride, 16)) { in ScalePlaneVertical() 914 if (IS_ALIGNED(dst_width_bytes, 32)) { in ScalePlaneVertical() 922 if (IS_ALIGNED(dst_width_bytes, 16)) { in ScalePlaneVertical() 929 IS_ALIGNED(src_argb, 4) && IS_ALIGNED(src_stride, 4) && in ScalePlaneVertical() 930 IS_ALIGNED(dst_argb, 4) && IS_ALIGNED(dst_stride, 4)) { in ScalePlaneVertical() [all …]
|
D | compare.cc | 118 IS_ALIGNED(src_a, 16) && IS_ALIGNED(src_b, 16)) { in ComputeSumSquareError()
|
/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/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/openfst/src/include/fst/ |
D | const-fst.h | 218 hdr.SetFlags(hdr.GetFlags() | FstHeader::IS_ALIGNED); in Read() 220 if ((hdr.GetFlags() & FstHeader::IS_ALIGNED) && !AlignInput(strm)) { in Read() 235 if ((hdr.GetFlags() & FstHeader::IS_ALIGNED) && !AlignInput(strm)) { in Read()
|
D | fst.h | 108 IS_ALIGNED = 0x4, // Memory-aligned (where appropriate) enumerator 700 file_flags |= FstHeader::IS_ALIGNED; in WriteHeader() 728 file_flags |= FstHeader::IS_ALIGNED; in WriteFstHeader()
|