/external/libvpx/libvpx/third_party/libyuv/source/ |
D | planar_functions.cc | 31 int width, int height) { in CopyPlane() argument 35 if (height < 0) { in CopyPlane() 36 height = -height; in CopyPlane() 37 dst_y = dst_y + (height - 1) * dst_stride_y; in CopyPlane() 43 width *= height; in CopyPlane() 44 height = 1; in CopyPlane() 78 for (y = 0; y < height; ++y) { in CopyPlane() 89 int width, int height) { in CopyPlane_16() argument 95 width *= height; in CopyPlane_16() 96 height = 1; in CopyPlane_16() [all …]
|
D | convert_argb.cc | 31 int width, int height) { in ARGBCopy() argument 33 width <= 0 || height == 0) { in ARGBCopy() 37 if (height < 0) { in ARGBCopy() 38 height = -height; in ARGBCopy() 39 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBCopy() 44 width * 4, height); in ARGBCopy() 54 int width, int height) { in I420ToARGBMatrix() argument 63 width <= 0 || height == 0) { in I420ToARGBMatrix() 67 if (height < 0) { in I420ToARGBMatrix() 68 height = -height; in I420ToARGBMatrix() [all …]
|
D | convert_from.cc | 72 int width, int height) { in I420ToI422() argument 74 const int dst_uv_height = Abs(height); in I420ToI422() 81 width, height, in I420ToI422() 94 int width, int height) { in I420ToI444() argument 96 const int dst_uv_height = Abs(height); in I420ToI444() 103 width, height, in I420ToI444() 116 int width, int height) { in I420ToI411() argument 118 const int dst_uv_height = Abs(height); in I420ToI411() 125 width, height, in I420ToI411() 133 int width, int height) { in I400Copy() argument [all …]
|
D | convert_from_argb.cc | 29 int width, int height) { in ARGBToI444() argument 35 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in ARGBToI444() 38 if (height < 0) { in ARGBToI444() 39 height = -height; in ARGBToI444() 40 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBToI444() 48 width *= height; in ARGBToI444() 49 height = 1; in ARGBToI444() 93 for (y = 0; y < height; ++y) { in ARGBToI444() 110 int width, int height) { in ARGBToI422() argument 118 width <= 0 || height == 0) { in ARGBToI422() [all …]
|
D | rotate.cc | 27 int width, int height) { in TransposePlane() argument 28 int i = height; in TransposePlane() 79 int width, int height) { in RotatePlane90() argument 83 src += src_stride * (height - 1); in RotatePlane90() 85 TransposePlane(src, src_stride, dst, dst_stride, width, height); in RotatePlane90() 91 int width, int height) { in RotatePlane270() argument 97 TransposePlane(src, src_stride, dst, dst_stride, width, height); in RotatePlane270() 103 int width, int height) { in RotatePlane180() argument 106 const uint8* src_bot = src + src_stride * (height - 1); in RotatePlane180() 107 uint8* dst_bot = dst + dst_stride * (height - 1); in RotatePlane180() [all …]
|
D | convert.cc | 70 int width, int height) { in I420Copy() argument 72 int halfheight = (height + 1) >> 1; in I420Copy() 75 width <= 0 || height == 0) { in I420Copy() 79 if (height < 0) { in I420Copy() 80 height = -height; in I420Copy() 81 halfheight = (height + 1) >> 1; in I420Copy() 82 src_y = src_y + (height - 1) * src_stride_y; in I420Copy() 91 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420Copy() 108 int width, int height) { in I422ToI420() argument 116 width, height, in I422ToI420() [all …]
|
/external/libyuv/files/source/ |
D | planar_functions.cc | 34 int height) { in CopyPlane() argument 38 if (height < 0) { in CopyPlane() 39 height = -height; in CopyPlane() 40 dst_y = dst_y + (height - 1) * dst_stride_y; in CopyPlane() 45 width *= height; in CopyPlane() 46 height = 1; in CopyPlane() 80 for (y = 0; y < height; ++y) { in CopyPlane() 95 int height) { in CopyPlane_16() argument 100 width *= height; in CopyPlane_16() 101 height = 1; in CopyPlane_16() [all …]
|
D | convert_argb.cc | 34 int height) { in ARGBCopy() argument 35 if (!src_argb || !dst_argb || width <= 0 || height == 0) { in ARGBCopy() 39 if (height < 0) { in ARGBCopy() 40 height = -height; in ARGBCopy() 41 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBCopy() 46 height); in ARGBCopy() 61 int height) { in I420ToARGBMatrix() argument 67 if (!src_y || !src_u || !src_v || !dst_argb || width <= 0 || height == 0) { in I420ToARGBMatrix() 71 if (height < 0) { in I420ToARGBMatrix() 72 height = -height; in I420ToARGBMatrix() [all …]
|
D | convert_from.cc | 84 int height) { in I420ToI422() argument 86 const int dst_uv_height = Abs(height); in I420ToI422() 89 dst_v, dst_stride_v, width, height, dst_uv_width, in I420ToI422() 109 int height) { in I420ToI444() argument 111 const int dst_uv_height = Abs(height); in I420ToI444() 114 dst_v, dst_stride_v, width, height, dst_uv_width, in I420ToI444() 125 int height) { in I400Copy() argument 126 if (!src_y || !dst_y || width <= 0 || height == 0) { in I400Copy() 130 if (height < 0) { in I400Copy() 131 height = -height; in I400Copy() [all …]
|
D | convert_from_argb.cc | 34 int height) { in ARGBToI444() argument 40 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in ARGBToI444() 43 if (height < 0) { in ARGBToI444() 44 height = -height; in ARGBToI444() 45 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBToI444() 51 width *= height; in ARGBToI444() 52 height = 1; in ARGBToI444() 120 for (y = 0; y < height; ++y) { in ARGBToI444() 142 int height) { in ARGBToI422() argument 148 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in ARGBToI422() [all …]
|
D | convert.cc | 82 int height) { in I420Copy() argument 84 int halfheight = (height + 1) >> 1; in I420Copy() 85 if (!src_u || !src_v || !dst_u || !dst_v || width <= 0 || height == 0) { in I420Copy() 89 if (height < 0) { in I420Copy() 90 height = -height; in I420Copy() 91 halfheight = (height + 1) >> 1; in I420Copy() 92 src_y = src_y + (height - 1) * src_stride_y; in I420Copy() 101 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420Copy() 125 int height) { in I422ToI420() argument 129 dst_v, dst_stride_v, width, height, src_uv_width, height); in I422ToI420() [all …]
|
D | rotate.cc | 30 int height) { in TransposePlane() argument 31 int i = height; in TransposePlane() 108 int height) { in RotatePlane90() argument 112 src += src_stride * (height - 1); in RotatePlane90() 114 TransposePlane(src, src_stride, dst, dst_stride, width, height); in RotatePlane90() 123 int height) { in RotatePlane270() argument 129 TransposePlane(src, src_stride, dst, dst_stride, width, height); in RotatePlane270() 138 int height) { in RotatePlane180() argument 141 const uint8* src_bot = src + src_stride * (height - 1); in RotatePlane180() 142 uint8* dst_bot = dst + dst_stride * (height - 1); in RotatePlane180() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format_zs.h | 37 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 41 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 45 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 49 …, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height); 53 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 57 …nsigned dst_stride, const uint32_t *src_row, unsigned src_stride, unsigned width, unsigned height); 61 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 65 …, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height); 69 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 73 …nsigned dst_stride, const uint32_t *src_row, unsigned src_stride, unsigned width, unsigned height); [all …]
|
D | u_format_yuv.h | 127 unsigned width, unsigned height); 132 unsigned width, unsigned height); 137 unsigned width, unsigned height); 142 unsigned width, unsigned height); 151 unsigned width, unsigned height); 156 unsigned width, unsigned height); 161 unsigned width, unsigned height); 166 unsigned width, unsigned height); 176 unsigned width, unsigned height); 180 unsigned width, unsigned height); [all …]
|
D | u_format_zs.c | 117 unsigned width, unsigned height) in util_format_s8_uint_unpack_s_8uint() argument 120 for(y = 0; y < height; ++y) { in util_format_s8_uint_unpack_s_8uint() 130 unsigned width, unsigned height) in util_format_s8_uint_pack_s_8uint() argument 133 for(y = 0; y < height; ++y) { in util_format_s8_uint_pack_s_8uint() 143 unsigned width, unsigned height) in util_format_z16_unorm_unpack_z_float() argument 146 for(y = 0; y < height; ++y) { in util_format_z16_unorm_unpack_z_float() 161 unsigned width, unsigned height) in util_format_z16_unorm_pack_z_float() argument 164 for(y = 0; y < height; ++y) { in util_format_z16_unorm_pack_z_float() 180 unsigned width, unsigned height) in util_format_z16_unorm_unpack_z_32unorm() argument 183 for(y = 0; y < height; ++y) { in util_format_z16_unorm_unpack_z_32unorm() [all …]
|
D | u_format_s3tc.c | 86 int width, int height, in util_format_dxtn_pack_stub() argument 243 unsigned width, unsigned height, in util_format_dxtn_rgb_unpack_rgba_8unorm() argument 249 for(y = 0; y < height; y += bh) { in util_format_dxtn_rgb_unpack_rgba_8unorm() 272 unsigned width, unsigned height) in util_format_dxt1_rgb_unpack_rgba_8unorm() argument 276 width, height, in util_format_dxt1_rgb_unpack_rgba_8unorm() 284 unsigned width, unsigned height) in util_format_dxt1_rgba_unpack_rgba_8unorm() argument 288 width, height, in util_format_dxt1_rgba_unpack_rgba_8unorm() 296 unsigned width, unsigned height) in util_format_dxt3_rgba_unpack_rgba_8unorm() argument 300 width, height, in util_format_dxt3_rgba_unpack_rgba_8unorm() 308 unsigned width, unsigned height) in util_format_dxt5_rgba_unpack_rgba_8unorm() argument [all …]
|
D | u_format_s3tc.h | 55 int width, int height, 76 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 79 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 85 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 88 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 94 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 97 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 103 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 106 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 112 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); [all …]
|
/external/webrtc/talk/media/base/ |
D | videoadapter_unittest.cc | 98 const int in_height = abs(captured_frame->height); in OnFrameCaptured() 104 in_height == adapted_format.height); in OnFrameCaptured() 119 stats.adapted_height = adapted_format_.height; in GetStats() 147 int height) { in VerifyAdaptedResolution() argument 149 EXPECT_EQ(height, stats.adapted_height); in VerifyAdaptedResolution() 180 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); in TEST_F() 195 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); in TEST_F() 212 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); in TEST_F() 229 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); in TEST_F() 247 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); in TEST_F() [all …]
|
/external/webrtc/talk/media/webrtc/ |
D | simulcast.cc | 41 int height; member 85 void MaybeExchangeWidthHeight(int* width, int* height) { in MaybeExchangeWidthHeight() argument 88 if (*width < *height) { in MaybeExchangeWidthHeight() 90 *width = *height; in MaybeExchangeWidthHeight() 91 *height = temp; in MaybeExchangeWidthHeight() 95 int FindSimulcastFormatIndex(int width, int height) { in FindSimulcastFormatIndex() argument 96 MaybeExchangeWidthHeight(&width, &height); in FindSimulcastFormatIndex() 100 height >= kSimulcastFormats[i].height) { in FindSimulcastFormatIndex() 107 int FindSimulcastFormatIndex(int width, int height, size_t max_layers) { in FindSimulcastFormatIndex() argument 108 MaybeExchangeWidthHeight(&width, &height); in FindSimulcastFormatIndex() [all …]
|
/external/libvpx/libvpx/test/ |
D | temporal_filter_test.cc | 50 for (int height = 0; height < h; ++height) { in reference_filter() local 52 int diff = a.TopLeftPixel()[height * a.stride() + width] - in reference_filter() 53 b.TopLeftPixel()[height * b.stride() + width]; in reference_filter() 54 diff_sq.TopLeftPixel()[height * diff_sq.stride() + width] = diff * diff; in reference_filter() 60 for (int height = 0; height < h; ++height) { in reference_filter() local 65 if (height == 0 || height == (h - 1)) { in reference_filter() 81 const int y = height + idy; in reference_filter() 102 count->TopLeftPixel()[height * count->stride() + width] += sum; in reference_filter() 103 accumulator->TopLeftPixel()[height * accumulator->stride() + width] += in reference_filter() 104 sum * b.TopLeftPixel()[height * b.stride() + width]; in reference_filter() [all …]
|
/external/libyuv/files/include/libyuv/ |
D | planar_functions.h | 32 int height); 40 int height); 47 int height, 59 int height); 70 int height); 79 int height); 99 int height); 117 int height); 130 int height); 143 int height); [all …]
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
D | planar_functions.h | 29 int width, int height); 34 int width, int height); 39 int width, int height, 47 int width, int height); 54 int width, int height); 60 int width, int height); 73 int width, int height); 84 int width, int height); 92 int width, int height); 100 int width, int height); [all …]
|
/external/tensorflow/tensorflow/python/layers/ |
D | convolutional_test.py | 41 height, width = 7, 9 42 images = random_ops.random_uniform((5, height, width, 3), seed=1) 47 height, width = 7, 9 48 images = random_ops.random_uniform((5, height, width, 3), seed=1) 56 height, width = 7, 9 57 images = random_ops.random_uniform((5, height, width, 3), seed=1) 65 height, width = 7, 9 66 images = random_ops.random_uniform((5, height, width, 4)) 71 [5, height - 2, width - 2, 32]) 76 height, width = 7, 9 [all …]
|
/external/swiftshader/src/OpenGL/libGL/ |
D | Image.cpp | 39 Image::Image(Texture *parentTexture, GLsizei width, GLsizei height, GLenum format, GLenum type) in Image() argument 40 …: sw::Surface(getParentResource(parentTexture), width, height, 1, 0, 1, selectInternalFormat(forma… in Image() 41 , parentTexture(parentTexture), width(width), height(height), format(format), type(type) in Image() 47 …Image::Image(Texture *parentTexture, GLsizei width, GLsizei height, sw::Format internalFormat, int… in Image() argument 48 …: sw::Surface(getParentResource(parentTexture), width, height, 1, 0, multiSampleDepth, internalFor… in Image() 49 …, parentTexture(parentTexture), width(width), height(height), format(0 /*GL_NONE*/), type(0 /*GL_N… in Image() 91 return height; in getHeight() 238 …Data(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GL… in loadImageData() argument 252 loadAlphaImageData(xoffset, yoffset, width, height, inputPitch, input, buffer); in loadImageData() 255 loadLuminanceImageData(xoffset, yoffset, width, height, inputPitch, input, buffer); in loadImageData() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | array4d.h | 60 Array4D(int64 planes, int64 depth, int64 height, int64 width) in Array4D() argument 61 : Array<T>(std::vector<int64>{planes, depth, height, width}) {} in Array4D() 64 Array4D(int64 planes, int64 depth, int64 height, int64 width, T value) in Array4D() argument 65 : Array<T>(std::vector<int64>{planes, depth, height, width}, value) {} in Array4D() 73 Array4D(int64 planes, int64 depth, int64 height, int64 width, in Array4D() argument 75 : Array4D(planes, depth, height, width) { in Array4D() 103 int64 height() const { return this->dim(2); } in height() function 109 CHECK_EQ(value.height(), height()); in FillWithYX() 113 for (int64 height = 0; height < this->height(); ++height) { in FillWithYX() local 115 (*this)(plane, depth, height, width) = value(height, width); in FillWithYX() [all …]
|