Home
last modified time | relevance | path

Searched refs:height_ (Results 1 – 25 of 186) sorted by relevance

12345678

/external/llvm-project/flang/runtime/
Dformat-implementation.h252 if (height_ >= maxHeight_) { in CueUpNextDataEdit()
257 stack_[height_].start = offset_ - 1; // the '(' in CueUpNextDataEdit()
258 RUNTIME_CHECK(context, format_[stack_[height_].start] == '('); in CueUpNextDataEdit()
259 if (unlimited || height_ == 0) { in CueUpNextDataEdit()
260 stack_[height_].remaining = Iteration::unlimited; in CueUpNextDataEdit()
266 stack_[height_].remaining = *repeat - 1; in CueUpNextDataEdit()
268 stack_[height_].remaining = 0; in CueUpNextDataEdit()
270 if (height_ == 1) { in CueUpNextDataEdit()
276 ++height_; in CueUpNextDataEdit()
277 } else if (height_ == 0) { in CueUpNextDataEdit()
[all …]
/external/libchrome/mojo/public/cpp/bindings/tests/
Drect_chromium.h22 height_(other.height_) {} in RectChromium()
24 x_(x), y_(y), width_(width), height_(height) { in RectChromium()
26 DCHECK_GE(height_, 0); in RectChromium()
34 height_ = other.height_;
50 int height() const { return height_; } in height()
53 height_ = height; in set_height()
56 int GetArea() const { return width_ * height_; } in GetArea()
68 int height_ = 0; variable
Drect_blink.h20 x_(x), y_(y), width_(width), height_(height) { in RectBlink()
24 DCHECK_GE(height_, 0); in RectBlink()
46 int height() const { return height_; } in height()
49 height_ = height; in setHeight()
52 int computeArea() const { return width_ * height_; } in computeArea()
64 int height_ = 0; variable
Dshared_rect.h19 : x_(x), y_(y), width_(width), height_(height) {} in SharedRect()
30 int height() const { return height_; } in height()
31 void set_height(int height) { height_ = height; } in set_height()
37 int height_ = 0; variable
/external/libvpx/libvpx/test/
Dbuffer.h31 : width_(width), height_(height), top_padding_(top_padding), in Buffer()
38 : width_(width), height_(height), top_padding_(top_padding), in Buffer()
45 : width_(width), height_(height), top_padding_(padding), in Buffer()
51 : width_(width), height_(height), top_padding_(padding), in Buffer()
108 EXPECT_GT(height_, 0); in Init()
114 num_elements_ = stride_ * (top_padding_ + height_ + bottom_padding_); in Init()
138 const int height_; variable
161 for (int height = 0; height < height_; ++height) { in Set()
173 for (int height = 0; height < height_; ++height) { in Set()
190 for (int height = 0; height < height_; ++height) { in Set()
[all …]
Dblockiness_test.cc36 BlockinessTestBase(int width, int height) : width_(width), height_(height) {} in BlockinessTestBase()
75 FillConstant(data, stride, fill_constant, width_, height_); in FillConstant()
87 FillRandom(data, stride, width_, height_); in FillRandom()
91 for (int h = 0; h < height_; h += 4) { in FillRandomBlocky()
99 for (int h = 0; h < height_; h += 4) { in FillCheckerboard()
113 for (int h = 0; h < height_; ++h) { in Blur()
126 for (int h = taps; h < height_; ++h) { in Blur()
132 int width_, height_; member in __anon6aa2156f0111::BlockinessTestBase
152 reference_stride_, width_, height_); in GetBlockiness()
Ddecode_svc_test.cc40 ASSERT_EQ(img.d_h, height_); in DecompressedFrameHook()
46 unsigned int height_; member in __anonac9ee4f10111::DecodeSvcTest
64 height_ = 180; in TEST_P()
81 height_ = 360; in TEST_P()
98 height_ = 720; in TEST_P()
116 height_ = 720; in TEST_P()
/external/webrtc/common_video/libyuv/
Dlibyuv_unittest.cc45 const int height_; member in webrtc::TestLibYuv
55 height_(288), in TestLibYuv()
56 size_y_(width_ * height_), in TestLibYuv()
57 size_uv_(((width_ + 1) / 2) * ((height_ + 1) / 2)), in TestLibYuv()
68 test::ReadI420Buffer(width_, height_, source_file_)); in SetUp()
100 I420Buffer::Create(width_, height_); in TEST_F()
106 int y_size = width_ * height_; in TEST_F()
114 width_, height_); in TEST_F()
126 std::unique_ptr<uint8_t[]> res_rgb_buffer2(new uint8_t[width_ * height_ * 3]); in TEST_F()
132 I420Buffer::Create(width_, height_, stride_y, stride_uv, stride_uv); in TEST_F()
[all …]
/external/libgav1/libgav1/src/
Dfilm_grain.cc273 height_(height), in FilmGrain()
424 const int half_height = DivideBy2(height_ + 1); in AllocateNoiseStripes()
464 !noise_image_[kPlaneY].Reset(height_, width_ + kNoiseImagePadding, in AllocateNoiseImage()
470 (height_ + subsampling_y_) >> subsampling_y_, in AllocateNoiseImage()
476 (height_ + subsampling_y_) >> subsampling_y_, in AllocateNoiseImage()
537 const int full_jobs_per_plane = height_ / kFrameChunkHeight; in BlendNoiseChromaWorker()
538 const int remainder_job_height = height_ & (kFrameChunkHeight - 1); in BlendNoiseChromaWorker()
555 const int job_height = std::min(height_ - start_height, kFrameChunkHeight); in BlendNoiseChromaWorker()
590 const int total_full_jobs = height_ / kFrameChunkHeight; in BlendNoiseLumaWorker()
591 const int remainder_job_height = height_ & (kFrameChunkHeight - 1); in BlendNoiseLumaWorker()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dtexture2d.cc56 height_(height), in Texture2D()
62 height_(texture.height_), in Texture2D()
66 texture.height_ = 0; in Texture2D()
74 std::swap(height_, texture.height_); in operator =()
84 height_ = 0; in Release()
103 height_ = desc.size.y; in CreateFromTexture2DDescriptor()
112 height:height_ in CreateFromTexture2DDescriptor()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dtexture2d.cc38 : texture_(texture), width_(width), height_(height), channel_type_(type) {} in Texture2D()
43 height_(texture.height_), in Texture2D()
47 texture.height_ = 0; in Texture2D()
55 std::swap(height_, texture.height_); in operator =()
66 height_ = 0; in Release()
85 height_ = desc.size.y; in CreateFromTexture2DDescriptor()
/external/webrtc/test/testsupport/
Dyuv_frame_writer.cc28 height_(height), in YuvFrameWriterImpl()
36 if (width_ <= 0 || height_ <= 0) { in Init()
38 height_); in Init()
42 width_ * height_ + 2 * ((width_ + 1) / 2) * ((height_ + 1) / 2); in Init()
Dvideo_frame_writer.cc64 height_(height), in Y4mVideoFrameWriterImpl()
68 height_, in Y4mVideoFrameWriterImpl()
75 rtc::Buffer frame_buffer = ExtractI420BufferWithSize(frame, width_, height_); in WriteFrame()
91 height_(height), in YuvVideoFrameWriterImpl()
95 height_)) { in YuvVideoFrameWriterImpl()
101 rtc::Buffer frame_buffer = ExtractI420BufferWithSize(frame, width_, height_); in WriteFrame()
Dyuv_frame_reader.cc31 height_(height), in YuvFrameReaderImpl()
40 if (width_ <= 0 || height_ <= 0) { in Init()
42 height_); in Init()
69 ReadI420Buffer(width_, height_, input_file_)); in ReadFrame()
/external/webrtc/rtc_tools/converter/
Dconverter.h34 int height_; // Height of the video (respectively of the RGBA frames). variable
37 int YPlaneSize() const { return width_ * height_; } in YPlaneSize()
40 int UPlaneSize() const { return ((width_ + 1) / 2) * ((height_) / 2); } in UPlaneSize()
43 int VPlaneSize() const { return ((width_ + 1) / 2) * ((height_) / 2); } in VPlaneSize()
58 int InputFrameSize() const { return width_ * height_ * 4; } in InputFrameSize()
/external/webrtc/modules/desktop_capture/
Ddesktop_geometry.h56 DesktopSize() : width_(0), height_(0) {} in DesktopSize()
57 DesktopSize(int32_t width, int32_t height) : width_(width), height_(height) {} in DesktopSize()
60 int32_t height() const { return height_; } in height()
62 bool is_empty() const { return width_ <= 0 || height_ <= 0; } in is_empty()
65 return width_ == other.width_ && height_ == other.height_; in equals()
70 height_ = height; in set()
75 int32_t height_; variable
/external/tensorflow/tensorflow/core/kernels/
Deigen_attention.h61 height_(height), in GlimpseExtractionOp()
80 dims[2] = height_; in dimensions()
120 y -= height_ / 2.0f; in eval()
134 y -= height_ / 2.0f; in eval()
147 Index glimpse_height = height_; in eval()
150 DSizes<Index, 3> slice_extent(num_channels, width_, height_); in eval()
166 glimpse_height = (std::max<Index>)(0, height_ + offset_y); in eval()
168 base_offset[2] = height_ - glimpse_height; in eval()
170 } else if (offset_y + height_ >= input_height) { in eval()
195 DSizes<Index, 3> glimpse_size(num_channels, width_, height_); in eval()
[all …]
/external/webrtc/media/base/
Dfake_frame_source.cc26 height_(height), in FakeFrameSource()
30 RTC_CHECK_GT(height_, 0); in FakeFrameSource()
50 return GetFrame(width_, height_, webrtc::kVideoRotation_0, interval_us_); in GetFrameRotationApplied()
53 return GetFrame(height_, width_, webrtc::kVideoRotation_0, interval_us_); in GetFrameRotationApplied()
62 return GetFrame(width_, height_, rotation_, interval_us_); in GetFrame()
/external/webrtc/modules/video_coding/utility/
Divf_file_writer.cc33 height_(0), in IvfFileWriter()
90 ByteWriter<uint16_t>::WriteLittleEndian(&ivf_header[14], height_); in WriteHeader()
115 height_ = encoded_image._encodedHeight; in InitFromFirstFrame()
117 RTC_CHECK_GT(height_, 0); in InitFromFirstFrame()
128 << height_ << ", using " in InitFromFirstFrame()
144 (encoded_image._encodedHeight != height_ || in WriteFrame()
148 << "x" << height_ << ") -> (" << encoded_image._encodedWidth << "x" in WriteFrame()
/external/webrtc/test/linux/
Dglx_renderer.cc22 : width_(width), height_(height), display_(NULL), context_(NULL) { in GlxRenderer()
62 width_, height_, 0, vi->depth, InputOutput, in Init()
87 Resize(width_, height_); in Init()
120 height_ = height; in Resize()
124 GlRenderer::ResizeViewport(width_, height_); in Resize()
135 size_hints->min_aspect.y = size_hints->max_aspect.y = height_; in Resize()
147 static_cast<size_t>(frame.height()) != height_) { in OnFrame()
/external/webrtc/test/
Dframe_generator.cc51 height_ = static_cast<int>(height); in ChangeResolution()
53 RTC_CHECK(height_ > 0); in ChangeResolution()
74 buffer = CreateI420Buffer(width_, height_); in NextFrame()
79 CreateI420Buffer(width_, height_); in NextFrame()
81 CreateI420Buffer(width_, height_); in NextFrame()
158 height_(height), in YuvFileGenerator()
161 static_cast<int>(height_))), in YuvFileGenerator()
183 static_cast<int>(height_)}; in NextFrame()
196 static_cast<int>(width_), static_cast<int>(height_), files_[file_index_]); in ReadNextFrame()
206 static_cast<int>(height_), files_[file_index_]); in ReadNextFrame()
[all …]
/external/libchrome/ui/gfx/geometry/
Dsize.h27 constexpr Size() : width_(0), height_(0) {} in Size()
29 : width_(width < 0 ? 0 : width), height_(height < 0 ? 0 : height) {} in Size()
45 constexpr int height() const { return height_; } in height()
48 void set_height(int height) { height_ = height < 0 ? 0 : height; } in set_height()
71 int height_; variable
Dsize_f.h25 constexpr SizeF() : width_(0.f), height_(0.f) {} in SizeF()
27 : width_(clamp(width)), height_(clamp(height)) {} in SizeF()
34 constexpr float height() const { return height_; } in height()
37 void set_height(float height) { height_ = clamp(height); } in set_height()
73 float height_; variable
/external/ImageMagick/Magick++/lib/
DPixels.cpp114 const ::ssize_t y_,const size_t width_,const size_t height_,std::string map_, in PixelData() argument
117 init(image_,x_,y_,width_,height_,map_,type_); in PixelData()
141 const ::ssize_t y_,const size_t width_,const size_t height_, in init() argument
150 if ((x_ < 0) || (width_ == 0) || (y_ < 0) || (height_ == 0) || in init()
152 || (y_ > (ssize_t) image_.rows()) || ((height_ + y_) > image_.rows()) in init()
184 _length=width_*height_*map_.length(); in init()
189 MagickCore::ExportImagePixels(image_.image(),x_,y_,width_,height_, in init()
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dimage-inl.h34 height_(height), in Image()
46 height_(size.height), in Image()
62 height_(height), in Image()
110 SCHECK(top >= 0 && top < height_, "out of bounds at %d!", top); in Crop()
111 SCHECK(bottom >= 0 && bottom < height_, "out of bounds at %d!", bottom); in Crop()
243 for (int y = 0; y < height_; ++y) { in DownsampleAveraged()
275 static_cast<float>(height_); in DownsampleInterpolateNearest()
281 const float offset_y = 0.5f * (original.GetHeight() - height_) / height_; in DownsampleInterpolateNearest()
286 for (int y = 0; y < height_; ++y) { in DownsampleInterpolateNearest()
323 static_cast<float>(height_); in DownsampleInterpolateLinear()
[all …]

12345678