/external/chromium_org/third_party/webrtc/common_video/libyuv/ |
D | scaler_unittest.cc | 41 const int width_; member in webrtc::TestScaler 52 width_(352), in TestScaler() 53 half_width_(width_ / 2), in TestScaler() 56 size_y_(width_ * height_), in TestScaler() 58 frame_length_(CalcBufferSize(kI420, width_, height_)) { in TestScaler() 67 test_frame_.CreateEmptyFrame(width_, height_, in SetUp() 68 width_, half_width_, half_width_); in SetUp() 97 EXPECT_EQ(0, test_scaler_.Set(width_, height_, in TEST_F() 107 width_, height_, in TEST_F() 108 width_, half_width_, half_width_); in TEST_F() [all …]
|
D | libyuv_unittest.cc | 88 const int width_; member in webrtc::TestLibYuv 98 width_(352), in TestLibYuv() 100 size_y_(width_ * height_), in TestLibYuv() 101 size_uv_(((width_ + 1 ) / 2) * ((height_ + 1) / 2)), in TestLibYuv() 119 width_, height_, in SetUp() 120 width_, (width_ + 1) / 2, in SetUp() 121 (width_ + 1) / 2)); in SetUp() 146 EXPECT_EQ(0,res_i420_frame.CreateEmptyFrame(width_, height_, width_, in TEST_F() 147 (width_ + 1) / 2, in TEST_F() 148 (width_ + 1) / 2)); in TEST_F() [all …]
|
/external/chromium_org/ui/gfx/geometry/ |
D | size_base.h | 16 Type width() const { return width_; } in width() 19 Type GetArea() const { return width_ * height_; } in GetArea() 27 set_width(width_ + width); in Enlarge() 32 width_ = width < 0 ? 0 : width; in set_width() 39 width_ = width_ <= other.width_ ? width_ : other.width_; in SetToMin() 44 width_ = width_ >= other.width_ ? width_ : other.width_; in SetToMax() 49 return (width_ == 0) || (height_ == 0); in IsEmpty() 54 : width_(width < 0 ? 0 : width), in SizeBase() 63 Type width_;
|
D | box_f.h | 18 : width_(0.f), in BoxF() 23 : width_(width < 0 ? 0 : width), in BoxF() 29 width_(width < 0 ? 0 : width), in BoxF() 35 width_(width < 0 ? 0 : width), in BoxF() 49 set_size(width_ * x_scale, height_ * y_scale, depth_ * z_scale); in Scale() 75 float width() const { return width_; } in width() 76 void set_width(float width) { width_ = width < 0 ? 0 : width; } in set_width() 89 width_ = width < 0 ? 0 : width; in set_size() 117 float width_; variable
|
/external/chromium_org/third_party/webrtc/test/ |
D | frame_generator.cc | 25 : angle_(0.0), width_(width), height_(height) { in ChromaGenerator() 31 frame_.CreateEmptyFrame(static_cast<int>(width_), in NextFrame() 33 static_cast<int>(width_), in NextFrame() 34 static_cast<int>((width_ + 1) / 2), in NextFrame() 35 static_cast<int>((width_ + 1) / 2)); in NextFrame() 48 size_t width_; member in webrtc::test::__anonbe61a0d20111::ChromaGenerator 56 : file_(file), width_(width), height_(height) { in YuvFileGenerator() 61 kI420, static_cast<int>(width_), static_cast<int>(height_)); in YuvFileGenerator() 77 frame_.CreateEmptyFrame(static_cast<int>(width_), in NextFrame() 79 static_cast<int>(width_), in NextFrame() [all …]
|
/external/chromium_org/third_party/skia/src/images/ |
D | bmpdecoderhelper.cpp | 48 width_ = GetInt(); in DecodeImage() 63 width_ = GetShort(); in DecodeImage() 72 if (width_ <= 0 || width_ > kMaxDim || height_ <= 0 || height_ > kMaxDim) { in DecodeImage() 75 if (width_ * height_ > max_pixels) { in DecodeImage() 129 rowLen = width_ * 4; in DecodeImage() 132 rowLen = width_ * 3; in DecodeImage() 134 rowLen = width_ * 2; in DecodeImage() 136 rowLen = width_; in DecodeImage() 138 rowLen = width_ / 2; in DecodeImage() 139 if (width_ & 1) { in DecodeImage() [all …]
|
/external/skia/src/images/ |
D | bmpdecoderhelper.cpp | 48 width_ = GetInt(); in DecodeImage() 63 width_ = GetShort(); in DecodeImage() 72 if (width_ <= 0 || width_ > kMaxDim || height_ <= 0 || height_ > kMaxDim) { in DecodeImage() 75 if (width_ * height_ > max_pixels) { in DecodeImage() 129 rowLen = width_ * 4; in DecodeImage() 132 rowLen = width_ * 3; in DecodeImage() 134 rowLen = width_ * 2; in DecodeImage() 136 rowLen = width_; in DecodeImage() 138 rowLen = width_ / 2; in DecodeImage() 139 if (width_ & 1) { in DecodeImage() [all …]
|
/external/chromium_org/third_party/webrtc/tools/converter/ |
D | converter.h | 33 int width_; // Width of the video (respectively of the RGBA frames). 38 return width_*height_; in YPlaneSize() 43 return ((width_+1)/2)*((height_)/2); in UPlaneSize() 48 return ((width_+1)/2)*((height_)/2); in VPlaneSize() 53 return width_*4; in SrcStrideFrame() 58 return width_; in DstStrideY() 63 return (width_+1)/2; in DstStrideU() 68 return (width_+1)/2; in DstStrideV() 73 return width_*height_*4; in InputFrameSize()
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | yuvframegenerator.cc | 25 width_ = width; in YuvFrameGenerator() 28 int size = width_ * height_; in YuvFrameGenerator() 35 ASSERT(width_ >= kBarcodeBackgroundWidth); in YuvFrameGenerator() 53 int size = width_ * height_; in GenerateNextFrame() 59 DrawLandscape(y_data_, width_, height_); in GenerateNextFrame() 60 DrawGradientX(u_data_, width_/2, height_/2); in GenerateNextFrame() 61 DrawGradientY(v_data_, width_/2, height_/2); in GenerateNextFrame() 62 DrawMovingLineX(u_data_, width_/2, height_/2, frame_index_); in GenerateNextFrame() 63 DrawMovingLineY(v_data_, width_/2, height_/2, frame_index_); in GenerateNextFrame() 64 DrawBouncingCube(y_data_, width_, height_, frame_index_); in GenerateNextFrame() [all …]
|
D | fakevideorenderer.h | 43 width_(0), in FakeVideoRenderer() 52 width_ = width; in SetSize() 66 frame->GetWidth() != static_cast<size_t>(width_) || in RenderFrame() 71 LOG(LS_WARNING) << "RenderFrame expected frame of size " << width_ in RenderFrame() 86 return width_; in width() 158 int width_; variable
|
/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/ |
D | content_analysis.cc | 23 width_(0), in VPMContentAnalysis() 59 if (width_ != inputFrame.width() || height_ != inputFrame.height()) { in ComputeContentMetrics() 74 memcpy(prev_frame_, orig_frame_, width_ * height_); in ComputeContentMetrics() 93 width_ = 0; in Release() 101 width_ = width; in Initialize() 110 if ( (height_ >= 576) && (width_ >= 704) ) { in Initialize() 114 if ( (height_ >= 1080) && (width_ >= 1920) ) { in Initialize() 128 if (width_ <= 32 || height_ <= 32) { in Initialize() 138 prev_frame_ = new uint8_t[width_ * height_]; // Y only. in Initialize() 161 int sizej = width_; in TemporalDiffMetric_C() [all …]
|
D | content_analysis_sse2.cc | 20 const uint8_t* imgBufO = orig_frame_ + border_*width_ + border_; in TemporalDiffMetric_SSE2() 21 const uint8_t* imgBufP = prev_frame_ + border_*width_ + border_; in TemporalDiffMetric_SSE2() 23 const int32_t width_end = ((width_ - 2*border_) & -16) + border_; in TemporalDiffMetric_SSE2() 73 imgBufO += width_ * skip_num_; in TemporalDiffMetric_SSE2() 74 imgBufP += width_ * skip_num_; in TemporalDiffMetric_SSE2() 116 const uint8_t* imgBuf = orig_frame_ + border_*width_; in ComputeSpatialMetrics_SSE2() 117 const int32_t width_end = ((width_ - 2 * border_) & -16) + border_; in ComputeSpatialMetrics_SSE2() 146 const uint8_t *lineTop = imgBuf - width_ + border_; in ComputeSpatialMetrics_SSE2() 148 const uint8_t *lineBot = imgBuf + width_ + border_; in ComputeSpatialMetrics_SSE2() 217 imgBuf += width_ * skip_num_; in ComputeSpatialMetrics_SSE2()
|
/external/ceres-solver/examples/ |
D | pgm_image.h | 87 int height_, width_; 95 : height_(height), width_(width), data_(width*height, 0.0) { in PGMImage() 102 width_ = 0; in PGMImage() 115 return width_; in width() 125 return width_ * height_; in NumPixels() 141 CHECK(index < width_ * height_); in MutablePixelFromLinearIndex() 149 CHECK(index < width_ * height_); in PixelFromLinearIndex() 156 return x + width_*y; in LinearIndex() 191 outputfile << width_ << ' ' << height_ << " 255 " << std::endl; in WriteToFile() 194 int num_pixels = width_*height_; in WriteToFile() [all …]
|
/external/chromium_org/sandbox/linux/seccomp-bpf/ |
D | errorcode.cc | 46 width_(width), in ErrorCode() 67 width_ == err.width_ && op_ == err.op_ && in Equals() 92 } else if (width_ != err.width_) { in LessThan() 93 return width_ < err.width_; in LessThan()
|
/external/chromium_org/chrome/browser/resources/print_preview/data/ |
D | size.js | 20 this.width_ = width; 33 return this.width_; 47 this.width_ == other.width_ &&
|
/external/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_test/ |
D | color_enhancement_test.cc | 48 width_, height_, in TEST_F() 85 refVideoFrame.CreateEmptyFrame(width_, height_, in TEST_F() 86 width_, half_width_, half_width_); in TEST_F() 95 width_, height_, in TEST_F() 100 width_, height_, in TEST_F() 124 testVideoFrame.CreateEmptyFrame(width_, height_, in TEST_F() 125 width_, half_width_, half_width_); in TEST_F() 127 width_, height_, 0, kRotateNone, in TEST_F()
|
D | video_processing_unittest.cc | 35 width_(352), in VideoProcessingModuleTest() 36 half_width_((width_ + 1) / 2), in VideoProcessingModuleTest() 38 size_y_(width_ * height_), in VideoProcessingModuleTest() 40 frame_length_(CalcBufferSize(kI420, width_, height_)) {} in VideoProcessingModuleTest() 46 ASSERT_EQ(0, video_frame_.CreateEmptyFrame(width_, height_, width_, in SetUp() 76 videoFrame.set_width(width_); in TEST_F() 96 width_, height_, in TEST_F() 108 video_frame_.set_width(width_); in TEST_F() 135 width_, height_, in TEST_F() 150 width_, height_, in TEST_F() [all …]
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
D | desktop_geometry.h | 53 DesktopSize() : width_(0), height_(0) {} in DesktopSize() 55 : width_(width), height_(height) { in DesktopSize() 58 int32_t width() const { return width_; } in width() 61 bool is_empty() const { return width_ <= 0 || height_ <= 0; } in is_empty() 64 return width_ == other.width_ && height_ == other.height_; in equals() 68 width_ = width; in set() 73 int32_t width_;
|
D | differ.cc | 22 width_ = width; in Differ() 29 diff_info_width_ = ((width_ + kBlockSize - 1) / kBlockSize) + 1; in Differ() 51 int x_full_blocks = width_ / kBlockSize; in MarkDirtyBlocks() 55 int partial_column_width = width_ - (x_full_blocks * kBlockSize); in MarkDirtyBlocks() 61 int block_y_stride = (width_ * bytes_per_pixel_) * kBlockSize; in MarkDirtyBlocks() 191 if (left + width > width_) { in MergeBlocks() 192 width = width_ - left; in MergeBlocks()
|
/external/chromium_org/ppapi/examples/scaling/ |
D | scaling.cc | 30 width_(0), in MyInstance() 43 if (view_rect.width() == width_ && in DidChangeView() 49 width_ = view_rect.width(); in DidChangeView() 54 pixel_width_ = width_ * device_scale_; in DidChangeView() 85 stream << "DIP (" << width_ << ", " << height_ << "), device pixels=(" in HandleMessage() 131 device_context_ = pp::Graphics2D(this, pp::Size(width_, height_), true); in SetupGraphics() 138 int width = using_device_pixels_ ? pixel_width_ : width_; in Paint() 203 int width_; member in MyInstance
|
/external/chromium_org/third_party/webrtc/common_video/ |
D | i420_video_frame.cc | 20 : width_(0), in I420VideoFrame() 36 width_ = width; in CreateEmptyFrame() 60 width_ = width; in CreateFrame() 72 videoFrame.width_, videoFrame.height_, in CopyFrame() 96 std::swap(width_, videoFrame->width_); in SwapFrame() 136 width_ = width; in set_width() 141 if (CheckDimensions(width_, height, in set_height()
|
/external/chromium_org/third_party/webrtc/video_engine/test/libvietest/include/ |
D | vie_external_render_filter.h | 25 : width_(0), height_(0), renderer_(renderer) {} in ExternalRendererEffectFilter() 33 if (width != width_ || height_ != height) { in Transform() 35 width_ = width; in Transform() 47 unsigned int width_;
|
/external/chromium_org/content/renderer/pepper/ |
D | ppb_image_data_impl.cc | 45 width_(0), in PPB_ImageData_Impl() 62 width_(0), in PPB_ImageData_Impl() 83 width_ = width; in Init() 111 desc->size.width = width_; in Describe() 113 desc->stride = width_ * 4; in Describe() 142 : width_(0), height_(0), is_browser_allocated_(is_browser_allocated) {} in ImageDataPlatformBackend() 162 width_ = width; in Init() 164 uint32 buffer_size = width_ * height_ * 4; in Init() 206 mapped_canvas_.reset(dib_->GetPlatformCanvas(width_, height_)); in Map()
|
/external/chromium_org/third_party/webrtc/test/linux/ |
D | glx_renderer.cc | 24 : width_(width), in GlxRenderer() 64 width_, height_, 0, vi->depth, InputOutput, in Init() 89 Resize(width_, height_); in Init() 120 width_ = width; in Resize() 125 GlRenderer::ResizeViewport(width_, height_); in Resize() 135 size_hints->min_aspect.x = size_hints->max_aspect.x = width_; in Resize() 148 if (static_cast<size_t>(frame.width()) != width_ || in RenderFrame()
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | stacked_tab_strip_layout.cc | 23 width_(0), in StackedTabStripLayout() 52 if (width_ == width) in SetWidth() 55 width_ = width; in SetWidth() 136 const int max_x = width_ - size_.width(); in SizeToFit() 163 width_ - size_.width() : ideal_x(index + 1); in AddTab() 266 width_ = width; in Reset() 291 int available_width = width_ - x_; in ResetToIdealState() 300 SetIdealBoundsAt(tab_count() - 1, width_ - size_.width()); in ResetToIdealState() 311 ideal_x(tab_count() - 1) != width_ - size_.width()); in ResetToIdealState() 364 int max_x = width_ - size_.width() - in LayoutByTabOffsetAfter() [all …]
|