/external/libvpx/libvpx/third_party/libyuv/source/ |
D | convert_argb.cc | 30 int width, int height) { in ARGBCopy() argument 32 width <= 0 || height == 0) { in ARGBCopy() 36 if (height < 0) { in ARGBCopy() 37 height = -height; in ARGBCopy() 38 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBCopy() 43 width * 4, height); in ARGBCopy() 53 int width, int height) { in I444ToARGB() argument 62 width <= 0 || height == 0) { in I444ToARGB() 66 if (height < 0) { in I444ToARGB() 67 height = -height; in I444ToARGB() [all …]
|
D | planar_functions.cc | 30 int width, int height) { in CopyPlane() argument 36 width *= height; in CopyPlane() 37 height = 1; in CopyPlane() 71 for (y = 0; y < height; ++y) { in CopyPlane() 81 int width, int height) { in CopyPlane_16() argument 87 width *= height; in CopyPlane_16() 88 height = 1; in CopyPlane_16() 113 for (y = 0; y < height; ++y) { in CopyPlane_16() 128 int width, int height) { in I422Copy() argument 132 width <= 0 || height == 0) { in I422Copy() [all …]
|
D | convert_from.cc | 70 int width, int height) { in I420ToI422() argument 72 const int dst_uv_height = Abs(height); in I420ToI422() 79 width, height, in I420ToI422() 92 int width, int height) { in I420ToI444() argument 94 const int dst_uv_height = Abs(height); in I420ToI444() 101 width, height, in I420ToI444() 114 int width, int height) { in I420ToI411() argument 116 const int dst_uv_height = Abs(height); in I420ToI411() 123 width, height, in I420ToI411() 131 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 116 if (!src_argb || !dst_y || !dst_u || !dst_v || 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 | 69 int width, int height) { in I420Copy() argument 71 int halfheight = (height + 1) >> 1; in I420Copy() 74 width <= 0 || height == 0) { in I420Copy() 78 if (height < 0) { in I420Copy() 79 height = -height; in I420Copy() 80 halfheight = (height + 1) >> 1; in I420Copy() 81 src_y = src_y + (height - 1) * src_stride_y; in I420Copy() 90 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420Copy() 107 int width, int height) { in I422ToI420() argument 115 width, height, in I422ToI420() [all …]
|
D | rotate_argb.cc | 43 uint8* dst, int dst_stride, int width, int height) { in ARGBTranspose() argument 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() 60 ScaleARGBRowDownEven(src, 0, src_pixel_step, dst, height); in ARGBTranspose() 67 uint8* dst, int dst_stride, int width, int height) { in ARGBRotate90() argument 71 src += src_stride * (height - 1); in ARGBRotate90() 73 ARGBTranspose(src, src_stride, dst, dst_stride, width, height); in ARGBRotate90() 77 uint8* dst, int dst_stride, int width, int height) { in ARGBRotate270() argument 83 ARGBTranspose(src, src_stride, dst, dst_stride, width, height); in ARGBRotate270() 87 uint8* dst, int dst_stride, int width, int height) { in ARGBRotate180() argument [all …]
|
/external/libyuv/files/source/ |
D | planar_functions.cc | 30 int width, int height) { in CopyPlane() argument 51 for (int y = 0; y < height; ++y) { in CopyPlane() 64 int width, int height) { in I420ToI400() argument 65 if (!src_y || !dst_y || width <= 0 || height == 0) { in I420ToI400() 69 if (height < 0) { in I420ToI400() 70 height = -height; in I420ToI400() 71 src_y = src_y + (height - 1) * src_stride_y; in I420ToI400() 74 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420ToI400() 81 int width, int height) { in MirrorPlane() argument 101 for (int y = 0; y < height; ++y) { in MirrorPlane() [all …]
|
D | convert_from.cc | 34 int width, int height) { in I420ToI422() argument 37 width <= 0 || height == 0) { in I420ToI422() 41 if (height < 0) { in I420ToI422() 42 height = -height; in I420ToI422() 43 dst_y = dst_y + (height - 1) * dst_stride_y; in I420ToI422() 44 dst_u = dst_u + (height - 1) * dst_stride_u; in I420ToI422() 45 dst_v = dst_v + (height - 1) * dst_stride_v; in I420ToI422() 73 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420ToI422() 78 for (y = 0; y < height - 1; y += 2) { in I420ToI422() 84 if (height & 1) { in I420ToI422() [all …]
|
D | convert_argb.cc | 33 int width, int height) { in ARGBCopy() argument 35 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 width * 4, height); in ARGBCopy() 56 int width, int height) { in I444ToARGB() argument 59 width <= 0 || height == 0) { in I444ToARGB() 63 if (height < 0) { in I444ToARGB() 64 height = -height; in I444ToARGB() [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_s3tc.h | 52 int width, int height, 73 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 76 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 82 …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); 91 …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); 100 …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); 109 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, 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() 164 unsigned width, unsigned height) in util_format_z16_unorm_pack_z_float() argument 167 for(y = 0; y < height; ++y) { in util_format_z16_unorm_pack_z_float() 186 unsigned width, unsigned height) in util_format_z16_unorm_unpack_z_32unorm() argument 189 for(y = 0; y < height; ++y) { in util_format_z16_unorm_unpack_z_32unorm() [all …]
|
D | u_format_s3tc.c | 82 int width, int height, in util_format_dxtn_pack_stub() argument 246 unsigned width, unsigned height, in util_format_dxtn_rgb_unpack_rgba_8unorm() argument 252 for(y = 0; y < height; y += bh) { in util_format_dxtn_rgb_unpack_rgba_8unorm() 270 unsigned width, unsigned height) in util_format_dxt1_rgb_unpack_rgba_8unorm() argument 274 width, height, in util_format_dxt1_rgb_unpack_rgba_8unorm() 281 unsigned width, unsigned height) in util_format_dxt1_rgba_unpack_rgba_8unorm() argument 285 width, height, in util_format_dxt1_rgba_unpack_rgba_8unorm() 292 unsigned width, unsigned height) in util_format_dxt3_rgba_unpack_rgba_8unorm() argument 296 width, height, in util_format_dxt3_rgba_unpack_rgba_8unorm() 303 unsigned width, unsigned height) in util_format_dxt5_rgba_unpack_rgba_8unorm() argument [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/third_party/libyuv/include/libyuv/ |
D | planar_functions.h | 29 int width, int height); 34 int width, int height); 39 int width, int height, 46 int width, int height); 59 int width, int height); 70 int width, int height); 78 int width, int height); 86 int width, int height); 92 int width, int height); 98 int width, int height); [all …]
|
D | convert_from_argb.h | 26 int width, int height); 32 int width, int height); 38 int width, int height); 44 int width, int height); 50 int width, int height); 56 int width, int height); 62 int width, int height); 72 const uint8* dither4x4, int width, int height); 78 int width, int height); 84 int width, int height); [all …]
|
/external/skia/src/gpu/ |
D | GrRectanizer_pow2.cpp | 11 bool GrRectanizerPow2::addRect(int width, int height, SkIPoint16* loc) { in addRect() argument 13 (unsigned)height > (unsigned)this->height()) { in addRect() 17 int32_t area = width * height; // computed here since height will be modified in addRect() 19 height = GrNextPow2(height); in addRect() 20 if (height < kMIN_HEIGHT_POW2) { in addRect() 21 height = kMIN_HEIGHT_POW2; in addRect() 24 Row* row = &fRows[HeightToRowIndex(height)]; in addRect() 25 SkASSERT(row->fRowHeight == 0 || row->fRowHeight == height); in addRect() 28 if (!this->canAddStrip(height)) { in addRect() 31 this->initRow(row, height); in addRect() [all …]
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | api_images.c | 96 VGint width, VGint height, in vegaCreateImage() argument 105 if (width <= 0 || height <= 0) { in vegaCreateImage() 110 height > vegaGeti(VG_MAX_IMAGE_HEIGHT)) { in vegaCreateImage() 114 if (width * height > vegaGeti(VG_MAX_IMAGE_PIXELS)) { in vegaCreateImage() 126 return image_to_handle(image_create(format, width, height)); in vegaCreateImage() 147 VGint width, VGint height) in vegaClearImage() argument 156 if (width <= 0 || height <= 0) { in vegaClearImage() 163 if (x + width < 0 || y + height < 0) in vegaClearImage() 166 image_clear(img, x, y, width, height); in vegaClearImage() 175 VGint width, VGint height) in vegaImageSubData() argument [all …]
|
/external/libyuv/files/include/libyuv/ |
D | planar_functions.h | 27 int width, int height, 37 int width, int height); 45 int width, int height); 52 int width, int height); 60 int width, int height); 70 int width, int height); 76 int width, int height); 83 int width, int height); 90 int width, int height); 100 int width, int height); [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_tile.c | 40 unsigned width, unsigned height) in micro_tile_8_x_4_8bit() argument 49 for (row = 0; row < height; row += tile_height) in micro_tile_8_x_4_8bit() 58 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_8_x_4_8bit() 71 unsigned width, unsigned height) in micro_tile_4_x_4_16bit() argument 80 for (row = 0; row < height; row += tile_height) in micro_tile_4_x_4_16bit() 89 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_4_x_4_16bit() 102 unsigned width, unsigned height) in micro_tile_8_x_2_16bit() argument 111 for (row = 0; row < height; row += tile_height) in micro_tile_8_x_2_16bit() 120 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_8_x_2_16bit() 133 unsigned width, unsigned height) in micro_tile_4_x_2_32bit() argument [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tile.c | 40 unsigned width, unsigned height) in micro_tile_8_x_4_8bit() argument 49 for (row = 0; row < height; row += tile_height) in micro_tile_8_x_4_8bit() 58 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_8_x_4_8bit() 71 unsigned width, unsigned height) in micro_tile_4_x_4_16bit() argument 80 for (row = 0; row < height; row += tile_height) in micro_tile_4_x_4_16bit() 89 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_4_x_4_16bit() 102 unsigned width, unsigned height) in micro_tile_8_x_2_16bit() argument 111 for (row = 0; row < height; row += tile_height) in micro_tile_8_x_2_16bit() 120 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_8_x_2_16bit() 133 unsigned width, unsigned height) in micro_tile_4_x_2_32bit() argument [all …]
|
/external/webrtc/webrtc/common_video/libyuv/ |
D | webrtc_libyuv.cc | 69 size_t CalcBufferSize(VideoType type, int width, int height) { in CalcBufferSize() argument 71 assert(height >= 0); in CalcBufferSize() 80 int half_height = (height + 1) >> 1; in CalcBufferSize() 81 buffer_size = width * height + half_width * half_height * 2; in CalcBufferSize() 89 buffer_size = width * height * 2; in CalcBufferSize() 92 buffer_size = width * height * 3; in CalcBufferSize() 96 buffer_size = width * height * 4; in CalcBufferSize() 112 int height = (planeNum ? (frame.height() + 1) / 2 : frame.height()); in PrintVideoFrame() local 115 for (int y = 0; y < height; y++) { in PrintVideoFrame() 131 CalcBufferSize(kI420, input_frame.width(), input_frame.height()); in ExtractBuffer() [all …]
|