/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/skia/src/images/ |
D | bmpdecoderhelper.cpp | 49 height_ = GetInt(); in DecodeImage() 64 height_ = GetShort(); in DecodeImage() 68 if (height_ < 0) { in DecodeImage() 69 height_ = -height_; in DecodeImage() 72 if (width_ <= 0 || width_ > kMaxDim || height_ <= 0 || height_ > kMaxDim) { in DecodeImage() 75 if (width_ * height_ > max_pixels) { in DecodeImage() 161 if (!rle && (pos_ + (rowLen * height_) > len_ + 1)) { in DecodeImage() 165 output_ = callback->SetSize(width_, height_); in DecodeImage() 184 int y = height_ - 1; in DoRLEDecode() 259 CHECK(y >= 0 && y < height_); in PutPixel() [all …]
|
/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 …]
|
D | brightness_detection_test.cc | 29 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F() 55 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F() 61 for (int yIdx = 0; yIdx < width_ * height_; yIdx++) { in TEST_F() 92 EXPECT_EQ(0, ConvertToI420(kI420, video_buffer.get(), 0, 0, width_, height_, in TEST_F() 98 for (int yIdx = 0; yIdx < width_ * height_; yIdx++) { in TEST_F()
|
/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/ceres-solver/examples/ |
D | pgm_image.h | 87 int height_, width_; 95 : height_(height), width_(width), data_(width*height, 0.0) { in PGMImage() 101 height_ = 0; in PGMImage() 120 return height_; in height() 125 return width_ * height_; in NumPixels() 141 CHECK(index < width_ * height_); in MutablePixelFromLinearIndex() 149 CHECK(index < width_ * height_); in PixelFromLinearIndex() 191 outputfile << width_ << ' ' << height_ << " 255 " << std::endl; in WriteToFile() 194 int num_pixels = width_*height_; in WriteToFile() 246 !GetIgnoreComment(&inputfile, height_) || in ReadFromFile() [all …]
|
/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/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/libvpx/libvpx/test/ |
D | blockiness_test.cc | 40 BlockinessTestBase(int width, int height) : width_(width), height_(height) {} in BlockinessTestBase() 81 FillConstant(data, stride, fill_constant, width_, height_); in FillConstant() 93 FillRandom(data, stride, width_, height_); in FillRandom() 97 for (int h = 0; h < height_; h += 4) { in FillRandomBlocky() 105 for (int h = 0; h < height_; h += 4) { in FillCheckerboard() 118 for (int h = 0; h < height_; ++h) { in Blur() 131 for (int h = taps; h < height_; ++h) { in Blur() 137 int width_, height_; member in __anonfef0a5890111::BlockinessTestBase 158 width_, height_); in CheckBlockiness()
|
D | consistency_test.cc | 41 ConsistencyTestBase(int width, int height) : width_(width), height_(height) {} in ConsistencyTestBase() 95 FillRandom(data, stride, width_, height_); in FillRandom() 105 for (int h = 0; h < height_; ++h) { in Blur() 118 for (int h = taps; h < height_; ++h) { in Blur() 124 int width_, height_; member in __anon68a163ee0111::ConsistencyTestBase 149 width_, height_, ssim_array_, &metrics_, 1); in CheckConsistency()
|
/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/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/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/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/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/win/ |
D | d3d_renderer.cc | 34 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()
|
/external/webrtc/webrtc/test/gl/ |
D | gl_renderer.cc | 21 : is_init_(false), buffer_(NULL), width_(0), height_(0) {} in GlRenderer() 57 height_ = height; in ResizeVideo() 77 static_cast<size_t>(frame.height()) != height_) { in RenderFrame() 85 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width_, height_, GL_BGRA, in RenderFrame()
|
/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::__anona74a4c920111::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::__anona74a4c920111::YuvFileGenerator
|
/external/webrtc/webrtc/test/mac/ |
D | video_renderer_mac.mm | 23 int height_; field 41 height_ = height; 59 nextYOrigin_ += height_; 61 if (nextYOrigin_ + height_ > screenFrame.size.height) { 67 NSRect windowFrame = NSMakeRect(xOrigin, yOrigin, width_, height_); 73 NSRect viewFrame = NSMakeRect(0, 0, width_, height_);
|
/external/openfst/src/include/fst/ |
D | minimize.h | 340 for (size_t i = height_.size(); i <= s; ++i) in InitState() 341 height_.push_back(-1); in InitState() 359 if (height_[arc.nextstate] + 1 > height_[s]) in ForwardOrCrossArc() 360 height_[s] = height_[arc.nextstate] + 1; in ForwardOrCrossArc() 366 if (height_[s] == -1) height_[s] = 0; in FinishState() 367 StateId h = height_[s] + 1; in FinishState() 369 if (h > height_[parent]) height_[parent] = h; in FinishState() 379 const vector<StateId>& height() const { return height_; } in height() 384 vector<StateId> height_;
|
/external/webp/src/dec/ |
D | alpha.c | 57 dec->height_ = height; in ALPHInit() 76 const size_t alpha_decoded_size = dec->width_ * dec->height_; in ALPHInit() 93 const int height = alph_dec->height_; in ALPHDecode() 113 if (row + num_rows == dec->pic_hdr_.height_) { in ALPHDecode() 125 const int height = dec->pic_hdr_.height_; in VP8DecompressAlphaRows()
|