/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
D | pyr_down.hpp | 73 const int src_y = 2 * y; in pyrDown() local 75 if (src_y >= 2 && src_y < src_rows - 2 && x >= 2 && x < src_cols - 2) in pyrDown() 80 sum = 0.0625f * src(src_y - 2, x); in pyrDown() 81 sum = sum + 0.25f * src(src_y - 1, x); in pyrDown() 82 sum = sum + 0.375f * src(src_y , x); in pyrDown() 83 sum = sum + 0.25f * src(src_y + 1, x); in pyrDown() 84 sum = sum + 0.0625f * src(src_y + 2, x); in pyrDown() 95 sum = 0.0625f * src(src_y - 2, left_x); in pyrDown() 96 sum = sum + 0.25f * src(src_y - 1, left_x); in pyrDown() 97 sum = sum + 0.375f * src(src_y , left_x); in pyrDown() [all …]
|
/external/opencv3/modules/cudawarping/src/cuda/ |
D | pyr_down.cu | 64 const int src_y = 2 * y; in pyrDown() local 66 if (src_y >= 2 && src_y < src.rows - 2 && x >= 2 && x < src.cols - 2) in pyrDown() 71 sum = 0.0625f * src(src_y - 2, x); in pyrDown() 72 sum = sum + 0.25f * src(src_y - 1, x); in pyrDown() 73 sum = sum + 0.375f * src(src_y , x); in pyrDown() 74 sum = sum + 0.25f * src(src_y + 1, x); in pyrDown() 75 sum = sum + 0.0625f * src(src_y + 2, x); in pyrDown() 86 sum = 0.0625f * src(src_y - 2, left_x); in pyrDown() 87 sum = sum + 0.25f * src(src_y - 1, left_x); in pyrDown() 88 sum = sum + 0.375f * src(src_y , left_x); in pyrDown() [all …]
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | convert_from.cc | 33 static int I420ToI4xx(const uint8* src_y, int src_stride_y, in I420ToI4xx() argument 49 ScalePlane(src_y, src_stride_y, src_y_width, src_y_height, in I420ToI4xx() 64 int I420ToI422(const uint8* src_y, int src_stride_y, in I420ToI422() argument 73 return I420ToI4xx(src_y, src_stride_y, in I420ToI422() 86 int I420ToI444(const uint8* src_y, int src_stride_y, in I420ToI444() argument 95 return I420ToI4xx(src_y, src_stride_y, in I420ToI444() 108 int I420ToI411(const uint8* src_y, int src_stride_y, in I420ToI411() argument 117 return I420ToI4xx(src_y, src_stride_y, in I420ToI411() 129 int I400Copy(const uint8* src_y, int src_stride_y, in I400Copy() argument 132 if (!src_y || !dst_y || in I400Copy() [all …]
|
D | row_common.cc | 985 void J400ToARGBRow_C(const uint8* src_y, uint8* dst_argb, int width) { in J400ToARGBRow_C() argument 989 uint8 y = src_y[0]; in J400ToARGBRow_C() 993 ++src_y; in J400ToARGBRow_C() 1089 void I444ToARGBRow_C(const uint8* src_y, in I444ToARGBRow_C() argument 1098 YuvPixel(src_y[0], u, v, rgb_buf + 0, rgb_buf + 1, rgb_buf + 2); in I444ToARGBRow_C() 1100 YuvPixel(src_y[1], u, v, rgb_buf + 4, rgb_buf + 5, rgb_buf + 6); in I444ToARGBRow_C() 1102 src_y += 2; in I444ToARGBRow_C() 1108 YuvPixel(src_y[0], src_u[0], src_v[0], in I444ToARGBRow_C() 1113 void I444ToARGBRow_C(const uint8* src_y, in I444ToARGBRow_C() argument 1120 YuvPixel(src_y[0], src_u[0], src_v[0], in I444ToARGBRow_C() [all …]
|
D | convert_argb.cc | 49 int I444ToARGB(const uint8* src_y, int src_stride_y, in I444ToARGB() argument 60 if (!src_y || !src_u || !src_v || in I444ToARGB() 106 I444ToARGBRow(src_y, src_u, src_v, dst_argb, width); in I444ToARGB() 108 src_y += src_stride_y; in I444ToARGB() 117 int I422ToARGB(const uint8* src_y, int src_stride_y, in I422ToARGB() argument 128 if (!src_y || !src_u || !src_v || in I422ToARGB() 174 IS_ALIGNED(src_y, 4) && IS_ALIGNED(src_stride_y, 4) && in I422ToARGB() 183 I422ToARGBRow(src_y, src_u, src_v, dst_argb, width); in I422ToARGB() 185 src_y += src_stride_y; in I422ToARGB() 194 int I411ToARGB(const uint8* src_y, int src_stride_y, in I411ToARGB() argument [all …]
|
D | row_neon.cc | 170 void I444ToARGBRow_NEON(const uint8* src_y, in I444ToARGBRow_NEON() argument 186 : "+r"(src_y), // %0 in I444ToARGBRow_NEON() 200 void I422ToARGBRow_NEON(const uint8* src_y, in I422ToARGBRow_NEON() argument 216 : "+r"(src_y), // %0 in I422ToARGBRow_NEON() 230 void I411ToARGBRow_NEON(const uint8* src_y, in I411ToARGBRow_NEON() argument 246 : "+r"(src_y), // %0 in I411ToARGBRow_NEON() 260 void I422ToBGRARow_NEON(const uint8* src_y, in I422ToBGRARow_NEON() argument 277 : "+r"(src_y), // %0 in I422ToBGRARow_NEON() 291 void I422ToABGRRow_NEON(const uint8* src_y, in I422ToABGRRow_NEON() argument 308 : "+r"(src_y), // %0 in I422ToABGRRow_NEON() [all …]
|
D | row_neon64.cc | 171 void I444ToARGBRow_NEON(const uint8* src_y, in I444ToARGBRow_NEON() argument 186 : "+r"(src_y), // %0 in I444ToARGBRow_NEON() 200 void I422ToARGBRow_NEON(const uint8* src_y, in I422ToARGBRow_NEON() argument 215 : "+r"(src_y), // %0 in I422ToARGBRow_NEON() 229 void I411ToARGBRow_NEON(const uint8* src_y, in I411ToARGBRow_NEON() argument 244 : "+r"(src_y), // %0 in I411ToARGBRow_NEON() 258 void I422ToBGRARow_NEON(const uint8* src_y, in I422ToBGRARow_NEON() argument 273 : "+r"(src_y), // %0 in I422ToBGRARow_NEON() 287 void I422ToABGRRow_NEON(const uint8* src_y, in I422ToABGRRow_NEON() argument 302 : "+r"(src_y), // %0 in I422ToABGRRow_NEON() [all …]
|
D | planar_functions.cc | 28 void CopyPlane(const uint8* src_y, int src_stride_y, in CopyPlane() argument 41 if (src_y == dst_y && src_stride_y == dst_stride_y) { in CopyPlane() 72 CopyRow(src_y, dst_y, width); in CopyPlane() 73 src_y += src_stride_y; in CopyPlane() 79 void CopyPlane_16(const uint16* src_y, int src_stride_y, in CopyPlane_16() argument 114 CopyRow(src_y, dst_y, width); in CopyPlane_16() 115 src_y += src_stride_y; in CopyPlane_16() 122 int I422Copy(const uint8* src_y, int src_stride_y, in I422Copy() argument 130 if (!src_y || !src_u || !src_v || in I422Copy() 138 src_y = src_y + (height - 1) * src_stride_y; in I422Copy() [all …]
|
D | rotate.cc | 350 int I420Rotate(const uint8* src_y, int src_stride_y, in I420Rotate() argument 360 if (!src_y || !src_u || !src_v || width <= 0 || height == 0 || in I420Rotate() 369 src_y = src_y + (height - 1) * src_stride_y; in I420Rotate() 380 return I420Copy(src_y, src_stride_y, in I420Rotate() 388 RotatePlane90(src_y, src_stride_y, in I420Rotate() 399 RotatePlane270(src_y, src_stride_y, in I420Rotate() 410 RotatePlane180(src_y, src_stride_y, in I420Rotate() 427 int NV12ToI420Rotate(const uint8* src_y, int src_stride_y, in NV12ToI420Rotate() argument 436 if (!src_y || !src_uv || width <= 0 || height == 0 || in NV12ToI420Rotate() 445 src_y = src_y + (height - 1) * src_stride_y; in NV12ToI420Rotate() [all …]
|
/external/libyuv/files/source/ |
D | convert_from.cc | 33 static int I420ToI4xx(const uint8* src_y, int src_stride_y, in I420ToI4xx() argument 49 ScalePlane(src_y, src_stride_y, src_y_width, src_y_height, in I420ToI4xx() 64 int I420ToI422(const uint8* src_y, int src_stride_y, in I420ToI422() argument 73 return I420ToI4xx(src_y, src_stride_y, in I420ToI422() 86 int I420ToI444(const uint8* src_y, int src_stride_y, in I420ToI444() argument 95 return I420ToI4xx(src_y, src_stride_y, in I420ToI444() 108 int I420ToI411(const uint8* src_y, int src_stride_y, in I420ToI411() argument 117 return I420ToI4xx(src_y, src_stride_y, in I420ToI411() 129 int I400Copy(const uint8* src_y, int src_stride_y, in I400Copy() argument 132 if (!src_y || !dst_y || in I400Copy() [all …]
|
D | convert_argb.cc | 49 static int I420ToARGBMatrix(const uint8* src_y, int src_stride_y, in I420ToARGBMatrix() argument 62 if (!src_y || !src_u || !src_v || !dst_argb || in I420ToARGBMatrix() 98 IS_ALIGNED(src_y, 4) && IS_ALIGNED(src_stride_y, 4) && in I420ToARGBMatrix() 107 I422ToARGBRow(src_y, src_u, src_v, dst_argb, yuvconstants, width); in I420ToARGBMatrix() 109 src_y += src_stride_y; in I420ToARGBMatrix() 120 int I420ToARGB(const uint8* src_y, int src_stride_y, in I420ToARGB() argument 125 return I420ToARGBMatrix(src_y, src_stride_y, in I420ToARGB() 135 int I420ToABGR(const uint8* src_y, int src_stride_y, in I420ToABGR() argument 140 return I420ToARGBMatrix(src_y, src_stride_y, in I420ToABGR() 150 int J420ToARGB(const uint8* src_y, int src_stride_y, in J420ToARGB() argument [all …]
|
D | row_neon.cc | 137 void I444ToARGBRow_NEON(const uint8* src_y, in I444ToARGBRow_NEON() argument 153 : "+r"(src_y), // %0 in I444ToARGBRow_NEON() 167 void I422ToARGBRow_NEON(const uint8* src_y, in I422ToARGBRow_NEON() argument 183 : "+r"(src_y), // %0 in I422ToARGBRow_NEON() 197 void I422AlphaToARGBRow_NEON(const uint8* src_y, in I422AlphaToARGBRow_NEON() argument 215 : "+r"(src_y), // %0 in I422AlphaToARGBRow_NEON() 230 void I411ToARGBRow_NEON(const uint8* src_y, in I411ToARGBRow_NEON() argument 246 : "+r"(src_y), // %0 in I411ToARGBRow_NEON() 260 void I422ToRGBARow_NEON(const uint8* src_y, in I422ToRGBARow_NEON() argument 276 : "+r"(src_y), // %0 in I422ToRGBARow_NEON() [all …]
|
D | row_neon64.cc | 130 void I444ToARGBRow_NEON(const uint8* src_y, in I444ToARGBRow_NEON() argument 146 : "+r"(src_y), // %0 in I444ToARGBRow_NEON() 160 void I422ToARGBRow_NEON(const uint8* src_y, in I422ToARGBRow_NEON() argument 176 : "+r"(src_y), // %0 in I422ToARGBRow_NEON() 190 void I422AlphaToARGBRow_NEON(const uint8* src_y, in I422AlphaToARGBRow_NEON() argument 208 : "+r"(src_y), // %0 in I422AlphaToARGBRow_NEON() 223 void I411ToARGBRow_NEON(const uint8* src_y, in I411ToARGBRow_NEON() argument 239 : "+r"(src_y), // %0 in I411ToARGBRow_NEON() 253 void I422ToRGBARow_NEON(const uint8* src_y, in I422ToRGBARow_NEON() argument 269 : "+r"(src_y), // %0 in I422ToRGBARow_NEON() [all …]
|
D | rotate.cc | 345 int I420Rotate(const uint8* src_y, int src_stride_y, in I420Rotate() argument 355 if (!src_y || !src_u || !src_v || width <= 0 || height == 0 || in I420Rotate() 364 src_y = src_y + (height - 1) * src_stride_y; in I420Rotate() 375 return I420Copy(src_y, src_stride_y, in I420Rotate() 383 RotatePlane90(src_y, src_stride_y, in I420Rotate() 394 RotatePlane270(src_y, src_stride_y, in I420Rotate() 405 RotatePlane180(src_y, src_stride_y, in I420Rotate() 422 int NV12ToI420Rotate(const uint8* src_y, int src_stride_y, in NV12ToI420Rotate() argument 431 if (!src_y || !src_uv || width <= 0 || height == 0 || in NV12ToI420Rotate() 440 src_y = src_y + (height - 1) * src_stride_y; in NV12ToI420Rotate() [all …]
|
D | row_common.cc | 956 void J400ToARGBRow_C(const uint8* src_y, uint8* dst_argb, int width) { in J400ToARGBRow_C() argument 960 uint8 y = src_y[0]; in J400ToARGBRow_C() 964 ++src_y; in J400ToARGBRow_C() 1291 void I444ToARGBRow_C(const uint8* src_y, in I444ToARGBRow_C() argument 1301 YuvPixel(src_y[0], u, v, rgb_buf + 0, rgb_buf + 1, rgb_buf + 2, in I444ToARGBRow_C() 1304 YuvPixel(src_y[1], u, v, rgb_buf + 4, rgb_buf + 5, rgb_buf + 6, in I444ToARGBRow_C() 1307 src_y += 2; in I444ToARGBRow_C() 1313 YuvPixel(src_y[0], src_u[0], src_v[0], in I444ToARGBRow_C() 1319 void I444ToARGBRow_C(const uint8* src_y, in I444ToARGBRow_C() argument 1327 YuvPixel(src_y[0], src_u[0], src_v[0], in I444ToARGBRow_C() [all …]
|
/external/libyuv/files/include/libyuv/ |
D | convert_from.h | 27 int I420ToI422(const uint8* src_y, int src_stride_y, 36 int I420ToI444(const uint8* src_y, int src_stride_y, 45 int I420ToI411(const uint8* src_y, int src_stride_y, 55 int I400Copy(const uint8* src_y, int src_stride_y, 60 int I420ToNV12(const uint8* src_y, int src_stride_y, 68 int I420ToNV21(const uint8* src_y, int src_stride_y, 76 int I420ToYUY2(const uint8* src_y, int src_stride_y, 83 int I420ToUYVY(const uint8* src_y, int src_stride_y, 90 int I420ToARGB(const uint8* src_y, int src_stride_y, 97 int I420ToBGRA(const uint8* src_y, int src_stride_y, [all …]
|
D | convert_argb.h | 39 int I420ToARGB(const uint8* src_y, int src_stride_y, 47 int I422ToARGB(const uint8* src_y, int src_stride_y, 55 int I444ToARGB(const uint8* src_y, int src_stride_y, 63 int J444ToARGB(const uint8* src_y, int src_stride_y, 71 int I444ToABGR(const uint8* src_y, int src_stride_y, 79 int I411ToARGB(const uint8* src_y, int src_stride_y, 87 int I420AlphaToARGB(const uint8* src_y, int src_stride_y, 96 int I420AlphaToABGR(const uint8* src_y, int src_stride_y, 105 int I400ToARGB(const uint8* src_y, int src_stride_y, 111 int J400ToARGB(const uint8* src_y, int src_stride_y, [all …]
|
D | row.h | 558 void I444ToARGBRow_NEON(const uint8* src_y, 564 void I422ToARGBRow_NEON(const uint8* src_y, 577 void I422ToARGBRow_NEON(const uint8* src_y, 583 void I411ToARGBRow_NEON(const uint8* src_y, 589 void I422ToRGBARow_NEON(const uint8* src_y, 595 void I422ToRGB24Row_NEON(const uint8* src_y, 601 void I422ToRGB565Row_NEON(const uint8* src_y, 607 void I422ToARGB1555Row_NEON(const uint8* src_y, 613 void I422ToARGB4444Row_NEON(const uint8* src_y, 619 void NV12ToARGBRow_NEON(const uint8* src_y, [all …]
|
D | planar_functions.h | 27 void CopyPlane(const uint8* src_y, int src_stride_y, 32 void CopyPlane_16(const uint16* src_y, int src_stride_y, 44 int I400ToI400(const uint8* src_y, int src_stride_y, 53 int I422Copy(const uint8* src_y, int src_stride_y, 64 int I444Copy(const uint8* src_y, int src_stride_y, 102 int I420ToI400(const uint8* src_y, int src_stride_y, 114 int I420Mirror(const uint8* src_y, int src_stride_y, 128 int I400Mirror(const uint8* src_y, int src_stride_y, 143 int NV12ToRGB565(const uint8* src_y, int src_stride_y, 151 int I422ToBGRA(const uint8* src_y, int src_stride_y, [all …]
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
D | convert_from.h | 27 int I420ToI422(const uint8* src_y, int src_stride_y, 36 int I420ToI444(const uint8* src_y, int src_stride_y, 45 int I420ToI411(const uint8* src_y, int src_stride_y, 55 int I400Copy(const uint8* src_y, int src_stride_y, 62 int I420ToNV12(const uint8* src_y, int src_stride_y, 70 int I420ToNV21(const uint8* src_y, int src_stride_y, 78 int I420ToYUY2(const uint8* src_y, int src_stride_y, 85 int I420ToUYVY(const uint8* src_y, int src_stride_y, 92 int I420ToARGB(const uint8* src_y, int src_stride_y, 99 int I420ToBGRA(const uint8* src_y, int src_stride_y, [all …]
|
D | row.h | 501 void I444ToARGBRow_NEON(const uint8* src_y, 506 void I422ToARGBRow_NEON(const uint8* src_y, 511 void I411ToARGBRow_NEON(const uint8* src_y, 516 void I422ToBGRARow_NEON(const uint8* src_y, 521 void I422ToABGRRow_NEON(const uint8* src_y, 526 void I422ToRGBARow_NEON(const uint8* src_y, 531 void I422ToRGB24Row_NEON(const uint8* src_y, 536 void I422ToRAWRow_NEON(const uint8* src_y, 541 void I422ToRGB565Row_NEON(const uint8* src_y, 546 void I422ToARGB1555Row_NEON(const uint8* src_y, [all …]
|
D | convert_argb.h | 41 int I420ToARGB(const uint8* src_y, int src_stride_y, 49 int I422ToARGB(const uint8* src_y, int src_stride_y, 57 int I444ToARGB(const uint8* src_y, int src_stride_y, 65 int I411ToARGB(const uint8* src_y, int src_stride_y, 73 int I400ToARGB(const uint8* src_y, int src_stride_y, 79 int J400ToARGB(const uint8* src_y, int src_stride_y, 88 int NV12ToARGB(const uint8* src_y, int src_stride_y, 95 int NV21ToARGB(const uint8* src_y, int src_stride_y, 120 int J420ToARGB(const uint8* src_y, int src_stride_y, 128 int J422ToARGB(const uint8* src_y, int src_stride_y,
|
D | planar_functions.h | 27 void CopyPlane(const uint8* src_y, int src_stride_y, 32 void CopyPlane_16(const uint16* src_y, int src_stride_y, 44 int I400ToI400(const uint8* src_y, int src_stride_y, 53 int I422Copy(const uint8* src_y, int src_stride_y, 64 int I444Copy(const uint8* src_y, int src_stride_y, 102 int I420ToI400(const uint8* src_y, int src_stride_y, 114 int I420Mirror(const uint8* src_y, int src_stride_y, 128 int I400Mirror(const uint8* src_y, int src_stride_y, 143 int NV12ToRGB565(const uint8* src_y, int src_stride_y, 150 int NV21ToRGB565(const uint8* src_y, int src_stride_y, [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_skin_detection.c | 57 const uint8_t *src_y = cpi->Source->y_buffer; in vp9_compute_skin_map() local 89 uint8_t ysource = src_y[ypos * src_ystride + ypos]; in vp9_compute_skin_map() 92 uint8_t ysource2 = src_y[(ypos + 1) * src_ystride + ypos]; in vp9_compute_skin_map() 95 uint8_t ysource3 = src_y[ypos * src_ystride + (ypos + 1)]; in vp9_compute_skin_map() 98 uint8_t ysource4 = src_y[(ypos + 1) * src_ystride + (ypos + 1)]; in vp9_compute_skin_map() 113 y[i * src_ystride + j] = src_y[i * src_ystride + j]; in vp9_compute_skin_map() 118 src_y += y_bsize; in vp9_compute_skin_map() 123 src_y += (src_ystride << shy) - (num_bl << shy); in vp9_compute_skin_map()
|
/external/libdrm/exynos/ |
D | exynos_fimg2d.c | 505 struct g2d_image *dst, unsigned int src_x, unsigned int src_y, in g2d_copy() argument 517 if (src_y + src->height > h) in g2d_copy() 518 src_h = src->height - src_y; in g2d_copy() 549 pt.data.y = src_y; in g2d_copy() 552 pt.data.y = src_y + h; in g2d_copy() 588 unsigned int src_x, unsigned int src_y, in g2d_move() argument 601 if (src_y + img->height > h) in g2d_move() 602 src_h = img->height - src_y; in g2d_move() 638 if (dst_y >= src_y) in g2d_move() 644 pt.data.y = src_y; in g2d_move() [all …]
|