Home
last modified time | relevance | path

Searched refs:width_ (Results 1 – 24 of 24) sorted by relevance

/external/skia/src/images/
Dbmpdecoderhelper.cpp48 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 …]
Dbmpdecoderhelper.h95 int width_; variable
/external/skia/legacy/src/images/
Dbmpdecoderhelper.cpp48 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 …]
Dbmpdecoderhelper.h95 int width_; variable
/external/ceres-solver/examples/
Dpgm_image.h87 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/libvpx/libvpx/test/
Dsixtap_predict_test.cc60 width_ = GET_PARAM(0); in SetUp()
68 int width_; member in __anond8d980040111::SixtapPredictTest
143 for (int j = 0; j < width_; ++j) in TEST_P()
145 << "i==" << (i * width_ + j); in TEST_P()
169 for (int j = 0; j < width_; ++j) in TEST_P()
171 << "i==" << (i * width_ + j); in TEST_P()
Dsad_test.cc60 width_ = GET_PARAM(0); in SetUp()
61 source_stride_ = width_ * 2; in SetUp()
62 reference_stride_ = width_ * 2; in SetUp()
79 for (int w = 0; w < width_; ++w) { in ReferenceSAD()
92 for (int w = 0; w < width_; ++w) { in FillConstant()
100 for (int w = 0; w < width_; ++w) { in FillRandom()
121 int height_, width_; member in __anond000bd790111::SADTest
Di420_video_source.h33 width_(0), in I420VideoSource()
84 if (width != width_ || height != height_) { in SetSize()
88 width_ = width; in SetSize()
109 unsigned int width_; variable
Dvideo_source.h68 DummyVideoSource() : img_(NULL), limit_(100), width_(0), height_(0) { in DummyVideoSource()
103 if (width != width_ || height != height_) { in SetSize()
107 width_ = width; in SetSize()
119 unsigned int width_; variable
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/
Dtable_column.js22 this.width_ = width;
32 width_: null, property in TableColumn
41 var tableColumn = new TableColumn(this.id_, this.name_, this.width_);
/external/chromium/chrome/browser/resources/net_internals/
Dview.js21 this.width_ = width;
55 return this.width_;
87 this.width_ = this.node_.offsetWidth;
/external/chromium/chrome/browser/chromeos/login/
Dlogin_html_dialog.cc58 width_ = static_cast<int>(kDefaultWidthRatio * screen_bounds.width()); in LoginHtmlDialog()
94 width_ = width; in SetDialogSize()
123 size->SetSize(width_, height_); in GetDialogSize()
Dlogin_html_dialog.h87 int width_; variable
/external/chromium/chrome/browser/ui/gtk/download/
Ddownload_started_animation_gtk.cc60 int width_; member in __anon9fa4c2f90111::DownloadStartedAnimationGtk
89 width_ = gdk_pixbuf_get_width(kDownloadImage); in DownloadStartedAnimationGtk()
115 GdkBitmap* mask = gdk_pixmap_new(NULL, width_, height_, 1); in DownloadStartedAnimationGtk()
/external/openfst/src/include/fst/script/
Ddraw-impl.h60 title_(title), width_(width), height_(height), portrait_(portrait), in FstDrawer()
79 Print(width_); in Draw()
219 float width_; variable
/external/webp/src/dec/
Dalpha.c119 const int stride = dec->pic_hdr_.width_; in VP8DecompressAlphaRows()
128 dec->pic_hdr_.width_, dec->pic_hdr_.height_, stride, in VP8DecompressAlphaRows()
Dvp8l.c612 const int cache_pixs = dec->width_ * num_rows; in ApplyInverseTransforms()
631 const uint32_t* const rows = dec->argb_ + dec->width_ * dec->last_row_; in ProcessRows()
930 dec->width_ = width; in UpdateDecoder()
1034 const uint64_t num_pixels = (uint64_t)dec->width_ * dec->height_; in AllocateARGBBuffers()
1043 assert(dec->width_ <= final_width); in AllocateARGBBuffers()
1059 const uint32_t* const in = dec->argb_ + dec->width_ * dec->last_row_; in ExtractAlphaRows()
1084 dec->width_ = width; in VP8LDecodeAlphaImageStream()
1105 ok = DecodeImageData(dec, dec->argb_, dec->width_, dec->height_, in VP8LDecodeAlphaImageStream()
1171 if (!DecodeImageData(dec, dec->argb_, dec->width_, dec->height_, in VP8LDecodeImage()
Dvp8li.h71 int width_; member
Dvp8.c321 pic_hdr->width_ = ((buf[4] << 8) | buf[3]) & 0x3fff; in VP8GetHeaders()
328 dec->mb_w_ = (pic_hdr->width_ + 15) >> 4; in VP8GetHeaders()
331 io->width = pic_hdr->width_; in VP8GetHeaders()
Dvp8i.h112 uint16_t width_; member
Dframe.c426 (uint64_t)dec->pic_hdr_.width_ * dec->pic_hdr_.height_ : 0ULL; in AllocateMemory()
/external/webp/src/demux/
Ddemux.c43 int width_, height_; member
253 frame->width_ = features.width; in StoreFrame()
311 frame->width_ = 1 + ReadLE24s(mem); in ParseFrame()
315 if (frame->width_ * (uint64_t)frame->height_ >= MAX_IMAGE_AREA) { in ParseFrame()
441 if (!dmux->is_ext_format_ && frame->width_ > 0 && frame->height_ > 0) { in ParseSingleImage()
443 dmux->canvas_width_ = frame->width_; in ParseSingleImage()
581 if (frame->width_ <= 0 || frame->height_ <= 0) return 0; in IsValidSimpleFormat()
616 if (f->width_ <= 0 || f->height_ <= 0) return 0; in IsValidExtendedFormat()
794 iter->width = fragment->width_; in SynthesizeFrame()
/external/harfbuzz_ng/util/
Dansi-print.cc84 image_t (unsigned int width_, in image_t()
88 width (width_), in image_t()
93 image_t (unsigned int width_, in image_t()
95 width (width_), in image_t()
/external/chromium/chrome/browser/chromeos/options/
Dwifi_config_view.cc176 width_(width) { in ComboboxWithWidth()
181 size.set_width(width_); in GetPreferredSize()
185 int width_; member in chromeos::__anon62cb0d460111::ComboboxWithWidth