Home
last modified time | relevance | path

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

12

/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 …]
/external/libvpx/libvpx/test/
Dblockiness_test.cc40 BlockinessTestBase(int width, int height) : width_(width), height_(height) {} in BlockinessTestBase()
66 source_stride_ = (width_ + 31) & ~31; in SetUp()
67 reference_stride_ = width_ * 2; in SetUp()
81 FillConstant(data, stride, fill_constant, width_, height_); in FillConstant()
93 FillRandom(data, stride, width_, height_); in FillRandom()
98 for (int w = 0; w < width_; w += 4) { in FillRandomBlocky()
106 for (int w = 0; w < width_; w += 4) { in FillCheckerboard()
122 for (int w = taps; w < width_; ++w) { in Blur()
127 for (int w = 0; w < width_; ++w) { in Blur()
137 int width_, height_; member in __anon1612ade80111::BlockinessTestBase
[all …]
Dconsistency_test.cc41 ConsistencyTestBase(int width, int height) : width_(width), height_(height) {} in ConsistencyTestBase()
81 source_stride_ = (width_ + 31) & ~31; in SetUp()
82 reference_stride_ = width_ * 2; in SetUp()
95 FillRandom(data, stride, width_, height_); in FillRandom()
109 for (int w = taps; w < width_; ++w) { in Blur()
114 for (int w = 0; w < width_; ++w) { in Blur()
124 int width_, height_; member in __anon6404782d0111::ConsistencyTestBase
149 width_, height_, ssim_array_, &metrics_, 1); in CheckConsistency()
Dvariance_test.cc219 width_ = 1 << log2width_; in SetUp()
233 block_size_ = width_ * height_; in SetUp()
270 int width_, log2width_; member in __anonbcc2dd240111::VarianceTest
302 var = variance_(src_, width_, ref_, width_, &sse)); in ZeroTest()
326 var1 = variance_(src_, width_, ref_, width_, &sse1)); in RefTest()
342 int ref_ind = (j / width_) * ref_stride_coeff * width_ + j % width_; in RefStrideTest()
343 int src_ind = (j / width_) * src_stride_coeff * width_ + j % width_; in RefStrideTest()
358 var1 = variance_(src_, width_ * src_stride_coeff, in RefStrideTest()
359 ref_, width_ * ref_stride_coeff, &sse1)); in RefStrideTest()
386 ASM_REGISTER_STATE_CHECK(var = variance_(src_, width_, ref_, width_, &sse)); in OneQuarterTest()
[all …]
Dvp9_avg_test.cc33 AverageTestBase(int width, int height) : width_(width), height_(height) {} in AverageTestBase()
55 source_stride_ = (width_ + 31) & ~31; in SetUp()
77 for (int i = 0; i < width_ * height_; ++i) { in FillConstant()
83 for (int i = 0; i < width_ * height_; ++i) { in FillRandom()
88 int width_, height_; member in __anonc5e410370111::AverageTestBase
185 ASM_REGISTER_STATE_CHECK(sum_c_ = c_func_(source_data_, width_)); in RunComparison()
186 ASM_REGISTER_STATE_CHECK(sum_asm_ = asm_func_(source_data_, width_)); in RunComparison()
Dsixtap_predict_test.cc69 width_ = GET_PARAM(0); in SetUp()
77 int width_; member in __anon790b303e0111::SixtapPredictTest
153 for (int j = 0; j < width_; ++j) in TEST_P()
155 << "i==" << (i * width_ + j); in TEST_P()
180 for (int j = 0; j < width_; ++j) in TEST_P()
182 << "i==" << (i * width_ + j); in TEST_P()
Dvideo_source.h140 width_(80), in DummyVideoSource()
181 if (width != width_ || height != height_) { in SetSize()
182 width_ = width; in SetSize()
200 img_ = vpx_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
208 unsigned int width_; variable
Dyuv_video_source.h37 width_(0), in YUVVideoSource()
88 if (width != width_ || height != height_ || format != format_) { in SetSize()
92 width_ = width; in SetSize()
142 unsigned int width_; variable
Dvpx_scale_test.cc33 width_ = width; in ResetImage()
36 ASSERT_EQ(0, vp8_yv12_alloc_frame_buffer(&img_, width_, height_, in ResetImage()
47 ASSERT_EQ(0, vp8_yv12_alloc_frame_buffer(&ref_img_, width_, height_, in ResetImage()
52 ASSERT_EQ(0, vp8_yv12_alloc_frame_buffer(&cpy_img_, width_, height_, in ResetImage()
164 int width_; member in __anond6c930600111::VpxScaleBase
Dsad_test.cc54 width_(width), height_(height), bd_(bit_depth) {} in SADTestBase()
113 source_stride_ = (width_ + 31) & ~31; in SetUp()
114 reference_stride_ = width_ * 2; in SetUp()
139 for (int w = 0; w < width_; ++w) { in ReferenceSAD()
169 for (int w = 0; w < width_; ++w) { in ReferenceSADavg()
171 const int tmp = second_pred8[h * width_ + w] + in ReferenceSADavg()
177 const int tmp = second_pred16[h * width_ + w] + in ReferenceSADavg()
194 for (int w = 0; w < width_; ++w) { in FillConstant()
212 for (int w = 0; w < width_; ++w) { in FillRandom()
224 int width_, height_, mask_, bd_; member in __anon69d5edf30111::SADTestBase
[all …]
Dencode_perf_test.cc27 EncodePerfTestVideo(const char *name_, uint32_t width_, uint32_t height_, in EncodePerfTestVideo()
30 width(width_), in EncodePerfTestVideo()
Ddecode_perf_test.cc197 EncodePerfTestVideo(const char *name_, uint32_t width_, uint32_t height_, in EncodePerfTestVideo()
200 width(width_), in EncodePerfTestVideo()
/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/webp/src/utils/
Dquant_levels_dec.c46 int width_, height_; // dimension member
81 const int w = p->width_; in VFilter()
102 p->src_ += p->width_; in VFilter()
112 const int w = p->width_; in HFilter()
134 const int w = p->width_; in ApplyFilter()
234 p->width_ = width; in InitParams()
/external/webp/src/dec/
Dalpha.c55 dec->width_ = width; in ALPHInit()
75 const size_t alpha_decoded_size = dec->width_ * dec->height_; in ALPHInit()
90 const int width = alph_dec->width_; in ALPHDecode()
122 const int width = dec->pic_hdr_.width_; in VP8DecompressAlphaRows()
Dvp8l.c639 const int cache_pixs = dec->width_ * num_rows; in ApplyInverseTransforms()
672 const uint32_t* const rows = dec->pixels_ + dec->width_ * dec->last_row_; in ProcessRows()
730 (uint8_t*)dec->pixels_ + dec->width_ * dec->last_row_; in ExtractPalettedAlphaRows()
1090 dec->width_ = width; in UpdateDecoder()
1195 const uint64_t num_pixels = (uint64_t)dec->width_ * dec->height_; in AllocateInternalBuffers32b()
1204 assert(dec->width_ <= final_width); in AllocateInternalBuffers32b()
1216 const uint64_t total_num_pixels = (uint64_t)dec->width_ * dec->height_; in AllocateInternalBuffers8b()
1231 const uint32_t* const in = dec->pixels_ + dec->width_ * dec->last_row_; in ExtractAlphaRows()
1259 dec->width_ = alph_dec->width_; in VP8LDecodeAlphaHeader()
1267 io->width = alph_dec->width_; in VP8LDecodeAlphaHeader()
[all …]
Dalphai.h28 int width_; member
/external/webp/src/demux/
Ddemux.c45 int width_, height_; member
253 frame->width_ = features.width; in StoreFrame()
312 frame->width_ = 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()
449 dmux->canvas_width_ = frame->width_; 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()
622 if (frame->width_ + frame->x_offset_ > canvas_width) 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()
79 Print(width_); in Draw()
219 float width_; 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()
217 *width = static_cast<int>(width_); in getDimensions()
/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.cc95 image_t (unsigned int width_, in image_t()
99 width (width_), in image_t()
104 image_t (unsigned int width_, in image_t()
106 width (width_), in image_t()
/external/deqp/framework/referencerenderer/
DrrRenderState.hpp217 WindowRectangle (int left_, int bottom_, int width_, int height_) in WindowRectangle()
220 , width (width_) in WindowRectangle()
/external/drm_hwcomposer/
Ddrmcrtc.h59 uint32_t width_; variable
Ddrmcrtc.cpp36 width_(c->width), in DrmCrtc()

12