/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/libmojo/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() 62 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() 58 int height_ = 0; variable
|
/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 | 38 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 __anone6a25ac50111::BlockinessTestBase 154 reference_stride_, width_, height_); in GetBlockiness()
|
D | decode_svc_test.cc | 39 ASSERT_EQ(img.d_h, height_); in DecompressedFrameHook() 45 unsigned int height_; member in __anon289f2a470111::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/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/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 | 53 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/autotest/client/deps/glbench/src/ |
D | texturetest.cc | 95 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/ |
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 | 119 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/ |
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
|
/external/webrtc/talk/media/devices/ |
D | yuvframescapturer.cc | 104 height_(480), in YuvFramesCapturer() 115 int size = width_ * height_; in Init() 117 frame_generator_ = new YuvFrameGenerator(width_, height_, true); in Init() 124 captured_frame_.height = height_; in Init() 128 VideoFormat format(width_, height_, VideoFormat::kMinimumInterval, in Init()
|
/external/webrtc/webrtc/test/ |
D | frame_generator.cc | 27 : angle_(0.0), width_(width), height_(height) { in ChromaGenerator() 34 static_cast<int>(height_), in NextFrame() 51 size_t height_; member in webrtc::test::__anon8efc01ce0111::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::__anon8efc01ce0111::YuvFileGenerator
|