/external/webrtc/webrtc/common_video/libyuv/ |
D | scaler_unittest.cc | 42 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 …]
|
D | libyuv_unittest.cc | 88 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/ |
D | buffer.h | 31 : 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 …]
|
D | blockiness_test.cc | 36 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 __anon5debfc480111::BlockinessTestBase 152 reference_stride_, width_, height_); in GetBlockiness()
|
D | decode_svc_test.cc | 40 ASSERT_EQ(img.d_h, height_); in DecompressedFrameHook() 46 unsigned int height_; member in __anon9fe8cbca0111::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()
|
D | predict_test.cc | 43 : width_(GET_PARAM(0)), height_(GET_PARAM(1)), predict_(GET_PARAM(2)), in PredictTestBase() 53 padded_dst_size_ = dst_stride_ * (kBorderSize + height_ + kBorderSize); in SetUp() 86 int height_; member in __anonb211f2060111::PredictTestBase 97 for (int height = 0; height < height_; ++height) { in CompareBuffers() 175 height_, dst_stride_, 128)); in TestWithRandomData() 184 if (width_ == 4 && height_ == 4) { in TestWithUnalignedDst() 205 width_, height_, dst_stride_ + i, 128)); in TestWithUnalignedDst() 362 const int kCountSpeedTestBlock = 5000000 / (width_ * height_); in TEST_P() 366 snprintf(title, sizeof(title), "%dx%d", width_, height_); in TEST_P()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | rect_chromium.h | 22 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
|
D | rect_blink.h | 20 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
|
D | shared_rect.h | 19 : 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/webrtc/webrtc/modules/video_processing/test/ |
D | video_processing_unittest.cc | 63 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/ |
D | content_analysis.cc | 24 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/autotest/client/deps/glbench/src/ |
D | texturetest.cc | 101 width_ = height_ = sizes[j]; in Run() 102 const unsigned int buffer_size = width_ * height_ * texel_size; in Run() 109 glTexImage2D(GL_TEXTURE_2D, 0, texel_gl_format_, width_, height_, 0, in Run() 113 width_, height_, texel_size); in Run() 115 if (IS_NOT_POWER_OF_2(width_) || IS_NOT_POWER_OF_2(height_)) { in Run() 127 width_, height_, 0, in Run() 132 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width_, height_, in Run() 145 error, width_, height_, texel_size); in Run()
|
/external/webrtc/webrtc/common_video/ |
D | video_frame_buffer.cc | 38 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/ |
D | desktop_geometry.h | 53 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
|
D | differ.cc | 23 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/webrtc/tools/converter/ |
D | converter.h | 34 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/ |
D | size.h | 20 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/webrtc/talk/media/base/ |
D | yuvframegenerator.cc | 53 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 …]
|
D | fakevideorenderer.h | 44 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/ |
D | eigen_attention.h | 61 height_(height), in GlimpseExtractionOp() 79 dims[2] = height_; in dimensions() 118 y -= height_ / 2.0f; in eval() 123 Index glimpse_height = height_; in eval() 126 DSizes<Index, 3> slice_extent(num_channels, width_, height_); in eval() 142 glimpse_height = (std::max<Index>)(0, height_ + offset_y); in eval() 144 base_offset[2] = height_ - glimpse_height; in eval() 146 } else if (offset_y + height_ >= input_height) { in eval() 171 DSizes<Index, 3> glimpse_size(num_channels, width_, height_); in eval() 183 DSizes<Index, 2> glimpse_size(width_, height_); in eval() [all …]
|
/external/webrtc/webrtc/test/linux/ |
D | glx_renderer.cc | 25 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/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | image-inl.h | 34 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/ImageMagick/Magick++/lib/ |
D | Pixels.cpp | 114 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/libchrome/ui/gfx/geometry/ |
D | size.h | 27 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
|
D | size_f.h | 25 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
|