Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 3986) sorted by relevance

12345678910>>...160

/external/libvpx/libvpx/third_party/libyuv/source/
Dplanar_functions.cc31 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 …]
Dconvert_argb.cc31 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 …]
Dconvert_from.cc72 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 …]
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
118 width <= 0 || height == 0) { in ARGBToI422()
[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 …]
Dconvert.cc70 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/
Dplanar_functions.cc34 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 …]
Dconvert_argb.cc34 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 …]
Dconvert_from.cc84 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 …]
Dconvert_from_argb.cc34 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 …]
Drotate.cc30 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 …]
Dconvert.cc82 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 …]
/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_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_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()
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 …]
Du_format_s3tc.h55 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 …]
Du_format_s3tc.c86 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 …]
/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/webrtc/talk/media/webrtc/
Dsimulcast.cc41 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/
Dtemporal_filter_test.cc47 for (int height = 0; height < h; ++height) { in reference_filter() local
49 int diff = a.TopLeftPixel()[height * a.stride() + width] - in reference_filter()
50 b.TopLeftPixel()[height * b.stride() + width]; in reference_filter()
51 diff_sq.TopLeftPixel()[height * diff_sq.stride() + width] = diff * diff; in reference_filter()
57 for (int height = 0; height < h; ++height) { in reference_filter() local
62 if (height == 0 || height == (h - 1)) { in reference_filter()
78 const int y = height + idy; in reference_filter()
99 count->TopLeftPixel()[height * count->stride() + width] += sum; in reference_filter()
100 accumulator->TopLeftPixel()[height * accumulator->stride() + width] += in reference_filter()
101 sum * b.TopLeftPixel()[height * b.stride() + width]; in reference_filter()
[all …]
Dbuffer.h28 Buffer(int width, int height, int top_padding, int left_padding, in Buffer() argument
30 : width_(width), height_(height), top_padding_(top_padding), in Buffer()
36 Buffer(int width, int height, int padding) in Buffer() argument
37 : width_(width), height_(height), top_padding_(padding), in Buffer()
115 for (int height = 0; height < height_; ++height) { in Set() local
126 for (int height = 0; height < height_; ++height) { in Set() local
142 for (int height = 0; height < height_; ++height) { in CopyFrom() local
153 for (int height = 0; height < height_ + top_padding_ + bottom_padding_; in DumpBuffer() local
154 ++height) { in DumpBuffer()
156 printf("%4d", raw_buffer_[height + width * stride()]); in DumpBuffer()
[all …]
/external/libyuv/files/include/libyuv/
Dplanar_functions.h32 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/
Dplanar_functions.h29 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/skia/src/gpu/
DGrRectanizer_pow2.cpp10 bool GrRectanizerPow2::addRect(int width, int height, SkIPoint16* loc) { in addRect() argument
12 (unsigned)height > (unsigned)this->height()) { in addRect()
16 int32_t area = width * height; // computed here since height will be modified in addRect()
18 height = GrNextPow2(height); in addRect()
19 if (height < kMIN_HEIGHT_POW2) { in addRect()
20 height = kMIN_HEIGHT_POW2; in addRect()
23 Row* row = &fRows[HeightToRowIndex(height)]; in addRect()
24 SkASSERT(row->fRowHeight == 0 || row->fRowHeight == height); in addRect()
27 if (!this->canAddStrip(height)) { in addRect()
30 this->initRow(row, height); in addRect()
[all …]
/external/swiftshader/src/OpenGL/libGL/
DImage.cpp39 Image::Image(Texture *parentTexture, GLsizei width, GLsizei height, GLenum format, GLenum type) in Image() argument
40 : parentTexture(parentTexture), width(width), height(height), format(format), type(type) in Image()
42 …, sw::Surface(getParentResource(parentTexture), width, height, 1, selectInternalFormat(format, typ… in Image()
47 …Image::Image(Texture *parentTexture, GLsizei width, GLsizei height, sw::Format internalFormat, int… in Image() argument
48 …: parentTexture(parentTexture), width(width), height(height), internalFormat(internalFormat), form… in Image()
49 …, sw::Surface(getParentResource(parentTexture), width, height, multiSampleDepth, internalFormat, l… in Image()
91 return height; in getHeight()
242 …Data(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GL… in loadImageData() argument
256 loadAlphaImageData(xoffset, yoffset, width, height, inputPitch, input, buffer); in loadImageData()
259 loadLuminanceImageData(xoffset, yoffset, width, height, inputPitch, input, buffer); in loadImageData()
[all …]

12345678910>>...160