Home
last modified time | relevance | path

Searched refs:height_ (Results 1 – 25 of 40) sorted by relevance

12

/external/skia/src/images/
Dbmpdecoderhelper.cpp49 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 …]
Dbmpdecoderhelper.h96 int height_; variable
/external/ceres-solver/examples/
Dpgm_image.h87 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/libvpx/libvpx/test/
Di420_video_source.h35 height_(0), in I420VideoSource()
84 if (width != width_ || height != height_) { in SetSize()
89 height_ = height; in SetSize()
111 unsigned int height_; variable
Dvpx_scale_test.cc35 height_ = height; in ResetImage()
37 ASSERT_EQ(0, vp8_yv12_alloc_frame_buffer(&img_, width_, height_, in ResetImage()
48 ASSERT_EQ(0, vp8_yv12_alloc_frame_buffer(&ref_img_, width_, height_, in ResetImage()
53 ASSERT_EQ(0, vp8_yv12_alloc_frame_buffer(&cpy_img_, width_, height_, in ResetImage()
166 int height_; member in __anon078232c00111::VpxScaleBase
Dvideo_source.h142 DummyVideoSource() : img_(NULL), limit_(100), width_(0), height_(0) { in DummyVideoSource()
181 if (width != width_ || height != height_) { in SetSize()
186 height_ = height; in SetSize()
198 unsigned int height_; variable
Dsixtap_predict_test.cc68 height_ = GET_PARAM(1); in SetUp()
76 int height_; member in __anon8fa4ae9e0111::SixtapPredictTest
150 for (int i = 0; i < height_; ++i) in TEST_P()
177 for (int i = 0; i < height_; ++i) in TEST_P()
Dvariance_test.cc88 height_ = 1 << log2height_; in SetUp()
92 block_size_ = width_ * height_; in SetUp()
114 int height_, log2height_; member in __anon9f3513840111::VarianceTest
206 height_ = 1 << log2height_; in SetUp()
210 block_size_ = width_ * height_; in SetUp()
213 ref_ = new uint8_t[block_size_ + width_ + height_ + 1]; in SetUp()
234 int height_, log2height_; member in __anon9f3513840111::SubpelVarianceTest
246 for (int j = 0; j < block_size_ + width_ + height_ + 1; j++) { in RefTest()
269 for (int j = 0; j < block_size_ + width_ + height_ + 1; j++) { in RefTest()
Dencode_perf_test.cc26 EncodePerfTestVideo(const char *name_, uint32_t width_, uint32_t height_, in EncodePerfTestVideo()
30 height(height_), in EncodePerfTestVideo()
Dsad_test.cc60 SADTestBase(int width, int height) : width_(width), height_(height) {} in SADTestBase()
102 for (int h = 0; h < height_; ++h) { in ReferenceSAD()
115 for (int h = 0; h < height_; ++h) { in FillConstant()
123 for (int h = 0; h < height_; ++h) { in FillRandom()
130 int width_, height_; member in __anon3614a8530111::SADTestBase
/external/openfst/src/include/fst/
Dminimize.h340 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/
Dalpha.c56 dec->height_ = height; in ALPHInit()
75 const size_t alpha_decoded_size = dec->width_ * dec->height_; in ALPHInit()
91 const int height = alph_dec->height_; in ALPHDecode()
111 if (row + num_rows == dec->pic_hdr_.height_) { in ALPHDecode()
123 const int height = dec->pic_hdr_.height_; in VP8DecompressAlphaRows()
Dvp8l.c708 assert(dec->last_row_ <= dec->height_); in ProcessRows()
1091 dec->height_ = height; in UpdateDecoder()
1195 const uint64_t num_pixels = (uint64_t)dec->width_ * dec->height_; in AllocateInternalBuffers32b()
1216 const uint64_t total_num_pixels = (uint64_t)dec->width_ * dec->height_; in AllocateInternalBuffers8b()
1260 dec->height_ = alph_dec->height_; in VP8LDecodeAlphaHeader()
1268 io->height = alph_dec->height_; in VP8LDecodeAlphaHeader()
1274 if (!DecodeImageStream(alph_dec->width_, alph_dec->height_, 1, dec, NULL)) { in VP8LDecodeAlphaHeader()
1307 assert(last_row <= dec->height_); in VP8LDecodeAlphaImageStream()
1309 if (dec->last_pixel_ == dec->width_ * dec->height_) { in VP8LDecodeAlphaImageStream()
1315 DecodeAlphaData(dec, (uint8_t*)dec->pixels_, dec->width_, dec->height_, in VP8LDecodeAlphaImageStream()
[all …]
Dalphai.h29 int height_; member
Dvp8li.h71 int height_; member
/external/webp/src/demux/
Ddemux.c45 int width_, height_; member
254 frame->height_ = features.height; in StoreFrame()
313 frame->height_ = 1 + ReadLE24s(mem); in ParseAnimationFrame()
319 if (frame->width_ * (uint64_t)frame->height_ >= MAX_IMAGE_AREA) { in ParseAnimationFrame()
447 if (!dmux->is_ext_format_ && frame->width_ > 0 && frame->height_ > 0) { in ParseSingleImage()
450 dmux->canvas_height_ = frame->height_; in ParseSingleImage()
603 if (frame->width_ <= 0 || frame->height_ <= 0) return 0; in IsValidSimpleFormat()
617 if (frame->width_ != canvas_width || frame->height_ != canvas_height) { in CheckFrameBounds()
623 if (frame->height_ + frame->y_offset_ > canvas_height) return 0; in CheckFrameBounds()
663 if (f->width_ <= 0 || f->height_ <= 0) return 0; in IsValidExtendedFormat()
[all …]
/external/openfst/src/include/fst/script/
Ddraw-impl.h60 title_(title), width_(width), height_(height), portrait_(portrait), in FstDrawer()
81 Print(height_); in Draw()
220 float height_; variable
/external/deqp/framework/platform/X11/
DtcuX11.cpp213 unsigned width_, height_, borderWidth, depth; in getDimensions() local
215 …XGetGeometry(m_display.getXDisplay(), m_window, &root, &x, &y, &width_, &height_, &borderWidth, &d… in getDimensions()
219 *height = static_cast<int>(height_); in getDimensions()
/external/webp/src/utils/
Dquant_levels_dec.c46 int width_, height_; // dimension member
101 if (p->row_ >= 0 && p->row_ < p->height_ - 1) { in VFilter()
235 p->height_ = height; in InitParams()
266 for (; p.row_ < p.height_; ++p.row_) { in WebPDequantizeLevels()
/external/deqp/framework/egl/
DegluNativeWindow.hpp64 …WindowParams (int width_, int height_, Visibility visibility_) : width(width_), height(height_), v… in WindowParams()
/external/harfbuzz_ng/util/
Dansi-print.cc96 unsigned int height_, in image_t()
100 height (height_), in image_t()
105 unsigned int height_) : in image_t()
107 height (height_), in image_t()
/external/deqp/framework/referencerenderer/
DrrRenderState.hpp217 WindowRectangle (int left_, int bottom_, int width_, int height_) in WindowRectangle()
221 , height (height_) in WindowRectangle()
/external/drm_hwcomposer/
Ddrmcrtc.h60 uint32_t height_; variable
Ddrmcrtc.cpp37 height_(c->height), in DrmCrtc()
/external/deqp/modules/glshared/
DglsLongStressCase.hpp152 const int height_, in TextureSpec()
166 , height (height_) in TextureSpec()

12