Home
last modified time | relevance | path

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

123456

/external/webrtc/webrtc/common_video/libyuv/
Dscaler_unittest.cc42 const int height_; member in webrtc::TestScaler
53 height_(288), in TestScaler()
54 half_height_(height_ / 2), in TestScaler()
55 size_y_(width_ * height_), in TestScaler()
57 frame_length_(CalcBufferSize(kI420, width_, height_)) { in TestScaler()
66 test_frame_.CreateEmptyFrame(width_, height_, in SetUp()
96 EXPECT_EQ(0, test_scaler_.Set(width_, height_, in TEST_F()
106 width_, height_, in TEST_F()
109 EXPECT_GT(width_ * height_, test_frame2.allocated_size(kYPlane)); in TEST_F()
130 width_, height_, in TEST_F()
[all …]
Dlibyuv_unittest.cc88 const int height_; member in webrtc::TestLibYuv
98 height_(288), in TestLibYuv()
99 size_y_(width_ * height_), in TestLibYuv()
100 size_uv_(((width_ + 1) / 2) * ((height_ + 1) / 2)), in TestLibYuv()
118 width_, height_, in SetUp()
145 EXPECT_EQ(0, res_i420_frame.CreateEmptyFrame(width_, height_, width_, in TEST_F()
153 height_, 0, kVideoRotation_0, &res_i420_frame)); in TEST_F()
163 rtc::scoped_ptr<uint8_t[]> res_rgb_buffer2(new uint8_t[width_ * height_ * 3]); in TEST_F()
168 res_i420_frame.CreateEmptyFrame(width_, height_, stride_y, in TEST_F()
173 height_, 0, kVideoRotation_0, &res_i420_frame)); in TEST_F()
[all …]
/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.cc38 BlockinessTestBase(int width, int height) : width_(width), height_(height) {} in BlockinessTestBase()
77 FillConstant(data, stride, fill_constant, width_, height_); in FillConstant()
89 FillRandom(data, stride, width_, height_); in FillRandom()
93 for (int h = 0; h < height_; h += 4) { in FillRandomBlocky()
101 for (int h = 0; h < height_; h += 4) { in FillCheckerboard()
115 for (int h = 0; h < height_; ++h) { in Blur()
128 for (int h = taps; h < height_; ++h) { in Blur()
134 int width_, height_; member in __anon5debfc480111::BlockinessTestBase
154 reference_stride_, width_, height_); in GetBlockiness()
Ddecode_svc_test.cc39 ASSERT_EQ(img.d_h, height_); in DecompressedFrameHook()
45 unsigned int height_; member in __anon9fe8cbca0111::DecodeSvcTest
63 height_ = 180; in TEST_P()
80 height_ = 360; in TEST_P()
97 height_ = 720; in TEST_P()
115 height_ = 720; in TEST_P()
/external/libmojo/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()
62 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()
58 int height_ = 0; variable
/external/webrtc/webrtc/modules/video_processing/test/
Dvideo_processing_unittest.cc63 height_(288), in VideoProcessingTest()
64 size_y_(width_ * height_), in VideoProcessingTest()
65 size_uv_(half_width_ * ((height_ + 1) / 2)), in VideoProcessingTest()
66 frame_length_(CalcBufferSize(kI420, width_, height_)) {} in VideoProcessingTest()
72 ASSERT_EQ(0, video_frame_.CreateEmptyFrame(width_, height_, width_, in SetUp()
122 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
141 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
156 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
177 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
242 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_,
[all …]
/external/webrtc/webrtc/modules/video_processing/
Dcontent_analysis.cc24 height_(0), in VPMContentAnalysis()
58 if (width_ != inputFrame.width() || height_ != inputFrame.height()) { in ComputeContentMetrics()
73 memcpy(prev_frame_, orig_frame_, width_ * height_); in ComputeContentMetrics()
93 height_ = 0; in Release()
101 height_ = height; in Initialize()
109 if ((height_ >= 576) && (width_ >= 704)) { in Initialize()
113 if ((height_ >= 1080) && (width_ >= 1920)) { in Initialize()
127 if (width_ <= 32 || height_ <= 32) { in Initialize()
137 prev_frame_ = new uint8_t[width_ * height_]; // Y only. in Initialize()
159 int sizei = height_; in TemporalDiffMetric_C()
[all …]
/external/webrtc/webrtc/common_video/
Dvideo_frame_buffer.cc38 height_(height), in I420Buffer()
60 return height_; in height()
68 return data_.get() + stride_y_ * height_; in data()
70 return data_.get() + stride_y_ * height_ + in data()
71 stride_u_ * ((height_ + 1) / 2); in data()
110 : native_handle_(native_handle), width_(width), height_(height) { in NativeHandleBuffer()
121 return height_; in height()
148 height_(height), in WrappedI420Buffer()
167 return height_; in height()
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_geometry.h53 DesktopSize() : width_(0), height_(0) {} in DesktopSize()
55 : width_(width), height_(height) { in DesktopSize()
59 int32_t height() const { return height_; } in height()
61 bool is_empty() const { return width_ <= 0 || height_ <= 0; } in is_empty()
64 return width_ == other.width_ && height_ == other.height_; in equals()
69 height_ = height; in set()
74 int32_t height_; variable
Ddiffer.cc23 height_ = height; in Differ()
30 diff_info_height_ = ((height_ + kBlockSize - 1) / kBlockSize) + 1; in Differ()
54 int y_full_blocks = height_ / kBlockSize; in MarkDirtyBlocks()
58 int partial_row_height = height_ - (y_full_blocks * kBlockSize); in MarkDirtyBlocks()
196 if (top + height > height_) { in MergeBlocks()
197 height = height_ - top; in MergeBlocks()
/external/webrtc/talk/media/base/
Dyuvframegenerator.cc53 height_ = height; in YuvFrameGenerator()
55 int size = width_ * height_; in YuvFrameGenerator()
63 ASSERT(height_>= kBarcodeBackgroundHeight); in YuvFrameGenerator()
65 barcode_start_y_ = height_ - kBarcodeBackgroundHeight; in YuvFrameGenerator()
80 int size = width_ * height_; in GenerateNextFrame()
86 DrawLandscape(y_data_, width_, height_); in GenerateNextFrame()
87 DrawGradientX(u_data_, width_/2, height_/2); in GenerateNextFrame()
88 DrawGradientY(v_data_, width_/2, height_/2); in GenerateNextFrame()
89 DrawMovingLineX(u_data_, width_/2, height_/2, frame_index_); in GenerateNextFrame()
90 DrawMovingLineY(v_data_, width_/2, height_/2, frame_index_); in GenerateNextFrame()
[all …]
Dfakevideorenderer.h44 height_(0), in FakeVideoRenderer()
53 height_ = height; in SetSize()
67 frame->GetHeight() != static_cast<size_t>(height_)) { in RenderFrame()
72 << "x" << height_ << " but received frame of size " in RenderFrame()
90 return height_; in height()
162 int height_; variable
/external/tensorflow/tensorflow/core/kernels/
Deigen_attention.h53 height_(height), in GlimpseExtractionOp()
71 dims[2] = height_; in dimensions()
110 y -= height_ / 2.0f; in eval()
115 Index glimpse_height = height_; in eval()
118 DSizes<Index, 3> slice_extent(num_channels, width_, height_); in eval()
134 glimpse_height = (std::max<Index>)(0, height_ + offset_y); in eval()
136 base_offset[2] = height_ - glimpse_height; in eval()
138 } else if (offset_y + height_ >= input_height) { in eval()
157 DSizes<Index, 3> glimpse_size(num_channels, width_, height_); in eval()
167 DSizes<Index, 2> glimpse_size(width_, height_); in eval()
[all …]
/external/tensorflow/tensorflow/examples/android/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 …]
/external/webrtc/webrtc/tools/converter/
Dconverter.h34 int height_; // Height of the video (respectively of the RGBA frames). variable
38 return width_*height_; in YPlaneSize()
43 return ((width_+1)/2)*((height_)/2); in UPlaneSize()
48 return ((width_+1)/2)*((height_)/2); in VPlaneSize()
73 return width_*height_*4; in InputFrameSize()
/external/v4l2_codec2/vda/
Dsize.h20 Size() : width_(0), height_(0) {} in Size()
22 : width_(width < 0 ? 0 : width), height_(height < 0 ? 0 : height) {} in Size()
25 constexpr int height() const { return height_; } in height()
28 void set_height(int height) { height_ = height < 0 ? 0 : height; } in set_height()
49 int height_; member
/external/autotest/client/deps/glbench/src/
Dtexturetest.cc95 width_ = height_ = sizes[j]; in Run()
96 const unsigned int buffer_size = width_ * height_ * texel_size; in Run()
103 glTexImage2D(GL_TEXTURE_2D, 0, texel_gl_format_, width_, height_, 0, in Run()
107 width_, height_, texel_size); in Run()
109 if (IS_NOT_POWER_OF_2(width_) || IS_NOT_POWER_OF_2(height_)) { in Run()
118 error, width_, height_, texel_size); in Run()
/external/webrtc/webrtc/test/linux/
Dglx_renderer.cc25 height_(height), in GlxRenderer()
64 width_, height_, 0, vi->depth, InputOutput, in Init()
89 Resize(width_, height_); in Init()
121 height_ = height; in Resize()
125 GlRenderer::ResizeViewport(width_, height_); in Resize()
136 size_hints->min_aspect.y = size_hints->max_aspect.y = height_; in Resize()
149 static_cast<size_t>(frame.height()) != height_) { in RenderFrame()
/external/ImageMagick/Magick++/lib/
DPixels.cpp119 const ::ssize_t y_,const size_t width_,const size_t height_,std::string map_, in PixelData() argument
122 init(image_,x_,y_,width_,height_,map_,type_); in PixelData()
146 const ::ssize_t y_,const size_t width_,const size_t height_, in init() argument
155 if ((x_ < 0) || (width_ == 0) || (y_ < 0) || (height_ == 0) || in init()
157 || (y_ > (ssize_t) image_.rows()) || ((height_ + y_) > image_.rows()) in init()
189 _length=width_*height_*map_.length(); in init()
194 MagickCore::ExportImagePixels(image_.image(),x_,y_,width_,height_, in init()
/external/libmojo/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/webrtc/webrtc/test/
Dframe_generator.cc27 : angle_(0.0), width_(width), height_(height) { in ChromaGenerator()
34 static_cast<int>(height_), in NextFrame()
51 size_t height_; member in webrtc::test::__anon0645a3510111::ChromaGenerator
64 height_(height), in YuvFileGenerator()
67 static_cast<int>(height_))), in YuvFileGenerator()
109 static_cast<int>(width_), static_cast<int>(height_), in ReadNextFrame()
114 static_cast<int>(height_), 0, kVideoRotation_0, in ReadNextFrame()
122 const size_t height_; member in webrtc::test::__anon0645a3510111::YuvFileGenerator
/external/webrtc/webrtc/test/win/
Dd3d_renderer.cc34 height_(height), in D3dRenderer()
76 static_cast<int>(height_), in Init()
127 Resize(width_, height_); in Init()
164 height_ = height; in Resize()
168 static_cast<UINT>(height_), in Resize()
197 static_cast<size_t>(frame.height()) != height_) { in RenderFrame()

123456