Home
last modified time | relevance | path

Searched full:height (Results 1 – 25 of 4476) sorted by relevance

12345678910>>...180

/external/libvpx/libvpx/third_party/libyuv/source/
Dconvert_argb.cc30 int width, int height) { in ARGBCopy() argument
32 width <= 0 || height == 0) { in ARGBCopy()
35 // Negative height means invert the image. 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()
65 // Negative height means invert the image. in I444ToARGB()
[all …]
Dplanar_functions.cc30 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 …]
Dconvert_from.cc61 // 420 chroma is 1/2 width, 1/2 height
62 // 422 chroma is 1/2 width, 1x height
70 int width, int height) { in I420ToI422() argument
72 const int dst_uv_height = Abs(height); in I420ToI422()
79 width, height, in I420ToI422()
83 // 420 chroma is 1/2 width, 1/2 height
84 // 444 chroma is 1x width, 1x height
92 int width, int height) { in I420ToI444() argument
94 const int dst_uv_height = Abs(height); in I420ToI444()
101 width, height, in I420ToI444()
[all …]
Dconvert_from_argb.cc29 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 …]
Dconvert.cc69 int width, int height) { in I420Copy() argument
71 int halfheight = (height + 1) >> 1; in I420Copy()
74 width <= 0 || height == 0) { in I420Copy()
77 // Negative height means invert the image. 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()
98 // 422 chroma is 1/2 width, 1x height
[all …]
Drotate.cc27 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 …]
/external/libyuv/files/source/
Dconvert_from.cc34 int width, int height) { in I420ToI422() argument
37 width <= 0 || height == 0) { in I420ToI422()
40 // Negative height means invert the image. 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()
[all …]
Dplanar_functions.cc30 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()
68 // Negative height means invert the image. 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
[all …]
Dconvert_argb.cc33 int width, int height) { in ARGBCopy() argument
35 width <= 0 || height == 0) { in ARGBCopy()
38 // Negative height means invert the image. 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()
62 // Negative height means invert the image. in I444ToARGB()
[all …]
Dconvert.cc37 int width, int height) { in I420Copy() argument
40 width <= 0 || height == 0) { in I420Copy()
43 // Negative height means invert the image. in I420Copy()
44 if (height < 0) { in I420Copy()
45 height = -height; in I420Copy()
46 int halfheight = (height + 1) >> 1; in I420Copy()
47 src_y = src_y + (height - 1) * src_stride_y; in I420Copy()
56 int halfheight = (height + 1) >> 1; in I420Copy()
58 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420Copy()
132 int width, int height) { in I422ToI420() argument
[all …]
/external/skia/tests/
DPathOpsBuilderTest.cpp163 <rect x="10" y="30" width="0" height="60" /> in DEF_TEST()
164 <rect x="10" y="30" width="0" height="60" /> in DEF_TEST()
165 <rect x="10" y="30" width="100" height="60" /> in DEF_TEST()
167 <rect x="10" y="30" width="100" height="18446744073709551615" /> in DEF_TEST()
168 <rect x="10" y="255" width="100" height="60" /> in DEF_TEST()
169 <rect width="100" height="60" /> in DEF_TEST()
170 <rect x="10" y="30" width="100" height="60" /> in DEF_TEST()
171 <rect x="10" y="30" width="100" height="4294967236" /> in DEF_TEST()
172 <rect x="10" y="30" width="100" height="60" /> in DEF_TEST()
174 <rect x="10" y="30" width="0" height="60" /> in DEF_TEST()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_zs.h37 …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 …]
Du_format_zs.c117 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 …]
Du_format_yuv.h127 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 …]
Du_format_s3tc.c82 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 …]
Du_format_s3tc.h52 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 …]
/external/webrtc/talk/media/base/
Dvideoadapter_unittest.cc98 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/mesa3d/src/gallium/state_trackers/vega/
Dapi_images.c96 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/autotest/client/virt/
Dppm_utils.py58 @return: A 3 element tuple containing the width, height and data of the
72 def image_write_to_ppm_file(filename, width, height, data): argument
74 Write a PPM image with the given width, height and data.
78 @param height: PPM file height (pixels)
82 fout.write("%d %d\n" % (width, height))
88 def image_crop(width, height, data, x1, y1, dx, dy): argument
93 @param height: Original image height
98 @param dy: Desired height of the cropped region
99 @return: A 3-tuple containing the width, height and data of the
103 if y1 > height - 1: y1 = height - 1
[all …]
/external/opencv3/modules/cudaoptflow/src/cuda/
Dfarneback.cu68 const int height, const int width, const PtrStepf src, PtrStepf dst) in polynomialExpansion() argument
73 if (y < height) in polynomialExpansion()
86 float t1 = src(::min(y + k, height - 1), xWarped); in polynomialExpansion()
113 dst(height + y, xWarped) = b2*c_ig11; in polynomialExpansion()
114 dst(2*height + y, xWarped) = b1*c_ig03 + b5*c_ig33; in polynomialExpansion()
115 dst(3*height + y, xWarped) = b1*c_ig03 + b4*c_ig33; in polynomialExpansion()
116 dst(4*height + y, xWarped) = b6*c_ig55; in polynomialExpansion()
157 const int height, const int width, const PtrStepf flowx, const PtrStepf flowy, in updateMatrices() argument
163 if (y < height && x < width) in updateMatrices()
176 if (x1 >= 0 && y1 >= 0 && x1 < width - 1 && y1 < height - 1) in updateMatrices()
[all …]
/external/webrtc/talk/media/webrtc/
Dsimulcast.cc41 int height; member
85 void MaybeExchangeWidthHeight(int* width, int* height) { in MaybeExchangeWidthHeight() argument
86 // |kSimulcastFormats| assumes |width| >= |height|. If not, exchange them in MaybeExchangeWidthHeight()
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
[all …]
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Dplanar_functions.h29 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 …]
/external/libyuv/files/include/libyuv/
Dplanar_functions.h27 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/
Dradeon_tile.c40 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/
Dradeon_tile.c40 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 …]

12345678910>>...180