Home
last modified time | relevance | path

Searched refs:Height (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/external/mesa3d/src/mesa/swrast/
Ds_texture.c71 texImage->Height, texImage->Depth); in _swrast_alloc_texture_image_buffer()
91 swImg->ImageOffsets[i] = i * texImage->Width * texImage->Height; in _swrast_alloc_texture_image_buffer()
113 (texImage->Height == 1 || _mesa_is_pow_two(texImage->Height2)) && in _swrast_init_texture_image()
128 swImg->HeightScale = (GLfloat) texImage->Height; in _swrast_init_texture_image()
166 assert(y < texImage->Height || texImage->Height == 0); in _mesa_check_map_teximage()
168 assert(y + h <= texImage->Height); in _mesa_check_map_teximage()
218 texImage->Height, in _swrast_map_teximage()
227 assert(slice < texImage->Height); in _swrast_map_teximage()
/external/libvpx/libvpx/test/
Dconvolve_test.cc388 int Height() const { return GET_PARAM(1); } in Height() function in __anonaf5c4fa70111::ConvolveTest
393 int BorderTop() const { return (kOuterBlockSize - Height()) / 2; } in BorderTop()
397 i >= (BorderTop() + Height()) * kOuterBlockSize || in IsIndexInBorder()
548 const int height = Height(); in TEST_P()
568 const int height = Height(); in TEST_P()
588 NULL, 0, NULL, 0, Width(), Height())); in TEST_P()
592 for (int y = 0; y < Height(); ++y) { in TEST_P()
607 NULL, 0, NULL, 0, Width(), Height())); in TEST_P()
611 for (int y = 0; y < Height(); ++y) { in TEST_P()
629 Height())); in TEST_P()
[all …]
/external/mesa3d/src/mesa/main/
Dframebuffer.c292 if (rb->Width != width || rb->Height != height) { in _mesa_resize_framebuffer()
295 ASSERT(rb->Height == height); in _mesa_resize_framebuffer()
306 fb->Height = height; in _mesa_resize_framebuffer()
356 if (buffer->Width != newWidth || buffer->Height != newHeight) { in _mesa_resizebuffers()
373 if (buffer->Width != newWidth || buffer->Height != newHeight) { in _mesa_resizebuffers()
418 minHeight = MIN2(minHeight, rb->Height); in update_framebuffer_size()
424 fb->Height = minHeight; in update_framebuffer_size()
428 fb->Height = 0; in update_framebuffer_size()
455 buffer->_Ymax = buffer->Height; in _mesa_update_draw_buffer_bounds()
467 if (ctx->Scissor.Y + ctx->Scissor.Height < buffer->_Ymax) { in _mesa_update_draw_buffer_bounds()
[all …]
Ddebug.c286 buffer = (GLubyte *) malloc(img->Width * img->Height in write_texture_image()
298 write_ppm(s, buffer, img->Width, img->Height, 4, 0, 1, 2, GL_FALSE); in write_texture_image()
335 buffer = (GLubyte *) malloc(rb->Width * rb->Height * 4); in _mesa_write_renderbuffer_image()
337 ctx->Driver.ReadPixels(ctx, 0, 0, rb->Width, rb->Height, in _mesa_write_renderbuffer_image()
348 write_ppm(s, buffer, rb->Width, rb->Height, 4, 0, 1, 2, GL_TRUE); in _mesa_write_renderbuffer_image()
377 texImg->Width, texImg->Height, texImg->Depth, in dump_texture()
430 rb->Name, rb->Width, rb->Height, in dump_renderbuffer()
466 const GLuint h = ctx->DrawBuffer->Height; in _mesa_dump_color_buffer()
496 const GLuint h = ctx->DrawBuffer->Height; in _mesa_dump_depth_buffer()
532 const GLuint h = ctx->DrawBuffer->Height; in _mesa_dump_stencil_buffer()
[all …]
Dtexgetimage.c80 const GLint height = texImage->Height; in get_tex_depth()
130 const GLint height = texImage->Height; in get_tex_depth_stencil()
175 const GLint height = texImage->Height; in get_tex_ycbcr()
235 const GLuint height = texImage->Height; in get_tex_rgba_compressed()
328 GLuint height = texImage->Height; in get_tex_rgba_uncompressed()
490 texImage->Height, format, type, 0, 0); in get_tex_memcpy()
498 0, 0, texImage->Width, texImage->Height, in get_tex_memcpy()
503 memcpy(dst, src, bytesPerRow * texImage->Height); in get_tex_memcpy()
507 for (row = 0; row < texImage->Height; row++) { in get_tex_memcpy()
626 0, 0, texImage->Width, texImage->Height, in _mesa_get_compressed_teximage()
[all …]
Dscissor.c73 height == ctx->Scissor.Height) in _mesa_set_scissor()
80 ctx->Scissor.Height = height; in _mesa_set_scissor()
99 ctx->Scissor.Height = 0; in _mesa_init_scissor()
Dviewport.c83 ctx->Viewport.Height = height; in _mesa_set_viewport()
93 ctx->Viewport.Width, ctx->Viewport.Height, in _mesa_set_viewport()
139 ctx->Viewport.Width, ctx->Viewport.Height, in _mesa_DepthRange()
167 ctx->Viewport.Height = 0; in _mesa_init_viewport()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_util.h137 fb->Height - fb->_Ymax); in get_scissors()
149 a[MAT_SY] = (float)vp->Height / 2; in get_viewport_scale()
152 a[MAT_SY] = - (float)vp->Height / 2; in get_viewport_scale()
166 a[1] = (float)vp->Height / 2 + vp->Y; in get_viewport_translate()
169 a[1] = fb->Height - (float)vp->Height / 2 - vp->Y; in get_viewport_translate()
Dnouveau_fbo.c95 rb->Height = height; in nouveau_renderbuffer_storage()
155 map += stride * (rb->Height - 1); in nouveau_renderbuffer_map()
181 rb->Height = height; in nouveau_renderbuffer_dri_storage()
287 rb->Height = ti->Height; in nouveau_render_texture()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c54 scissor.maxy = fb->Height; in update_scissor()
59 GLint ymax = MAX2(0, ctx->Scissor.Y + ctx->Scissor.Height); in update_scissor()
80 miny = fb->Height - scissor.maxy; in update_scissor()
81 maxy = fb->Height - scissor.miny; in update_scissor()
Dst_cb_clear.c200 const GLfloat fb_height = (GLfloat) fb->Height; in clear_with_quad()
342 ctx->Scissor.Height < rb->Height)) in check_clear_color_with_quad()
372 ctx->Scissor.Height < rb->Height)) in check_clear_depth_stencil_with_quad()
396 ctx->Scissor.Height < rb->Height)) in check_clear_depth_with_quad()
428 ctx->Scissor.Height < rb->Height)) in check_clear_stencil_with_quad()
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dimage_util_numpy_impl.py24 def Height(image): function
40 metadata['size'] = (Width(image), Height(image))
92 for row in xrange(Height(image1)):
100 for row in xrange(Height(image1)):
112 height = max(Height(image1), Height(image2))
115 self_image[0:Height(image1), 0:Width(image1)] = image1
116 other_image[0:Height(image2), 0:Width(image2)] = image2
/external/mesa3d/src/egl/main/
Deglmode.c94 mode->Height = EGL_DONT_CARE; in _eglParseModeAttribs()
117 mode->Height = attrib_list[++i]; in _eglParseModeAttribs()
118 if (mode->Height <= 0) { in _eglParseModeAttribs()
165 if (min->Height != EGL_DONT_CARE && c->Height < min->Height) in _eglModeQualifies()
190 return m->Height; in getModeAttrib()
/external/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp360 unsigned Height = SuccTBI->InstrHeight; in pickTraceSucc() local
361 if (!Best || Height < BestHeight) { in pickTraceSucc()
363 BestHeight = Height; in pickTraceSucc()
770 unsigned Len = LIR.Height + Cycles[DefMI].Depth; in computeCrossBlockCriticalPath()
859 TBI.CriticalPath = std::max(TBI.CriticalPath, Cycle + MICycles.Height); in computeInstrDepths()
868 static unsigned updatePhysDepsUpwards(const MachineInstr &MI, unsigned Height, in updatePhysDepsUpwards() argument
901 Height = std::max(Height, DepHeight); in updatePhysDepsUpwards()
913 if (LRU.Cycle <= Height && LRU.MI != &MI) { in updatePhysDepsUpwards()
914 LRU.Cycle = Height; in updatePhysDepsUpwards()
921 return Height; in updatePhysDepsUpwards()
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d_image.c79 if (attrs.Width <= 0 || attrs.Height <= 0) { in egl_g3d_create_drm_buffer()
81 attrs.Width, attrs.Height); in egl_g3d_create_drm_buffer()
110 templ.height0 = attrs.Height; in egl_g3d_create_drm_buffer()
119 attrs.Width >= 640 && attrs.Height >= 480) in egl_g3d_create_drm_buffer()
124 if (attrs.Width != 64 || attrs.Height != 64) in egl_g3d_create_drm_buffer()
147 if (attrs.Width <= 0 || attrs.Height <= 0 || in egl_g3d_reference_drm_buffer()
150 attrs.Width, attrs.Height, attrs.DRMBufferStrideMESA); in egl_g3d_reference_drm_buffer()
171 nbuf.u.drm.templ.height0 = attrs.Height; in egl_g3d_reference_drm_buffer()
/external/llvm/include/llvm/CodeGen/
DMachineTraceMetrics.h126 unsigned Height; member
128 LiveInReg(unsigned Reg, unsigned Height = 0) : Reg(Reg), Height(Height) {} in Reg()
231 unsigned Height; member
/external/chromium-trace/catapult/telemetry/telemetry/util/
Dimage_util_unittest.py28 self.assertEquals(2, image_util.Height(bmp))
39 self.assertEquals(2, image_util.Height(file_bmp))
81 self.assertEquals(2, image_util.Height(diff_bmp))
91 self.assertEquals(3, image_util.Height(diff_bmp))
125 self.assertEquals(1, image_util.Height(bmp))
/external/skia/tests/
DCachedDecodingPixelRefTest.cpp30 static int Height() { return 10; } in Height() function in TestImageGenerator
44 return SkImageInfo::Make(TestImageGenerator::Width(), TestImageGenerator::Height(), in GetMyInfo()
118 REPORTER_ASSERT(r, TestImageGenerator::Height() == image->height()); in DEF_TEST()
122 bitmap.allocN32Pixels(TestImageGenerator::Width(), TestImageGenerator::Height()); in DEF_TEST()
/external/pdfium/core/fpdfapi/render/
Dcpdf_imagerenderer.cpp65 m_ImageMatrix.d <= 0 ? image_rect.Height() : -image_rect.Height(); in StartLoadDIBSource()
265 for (int row = 0; row < rect.Height(); row++) { in CalculateDrawImage()
298 if (!bitmap_device1.Create(rect.Width(), rect.Height(), FXDIB_Rgb32, nullptr)) in DrawPatternImage()
319 if (!bitmap_device2.Create(rect.Width(), rect.Height(), FXDIB_8bppRgb, in DrawPatternImage()
346 if (!bitmap_device1.Create(rect.Width(), rect.Height(), FXDIB_Rgb32, nullptr)) in DrawMaskedImage()
364 if (!bitmap_device2.Create(rect.Width(), rect.Height(), FXDIB_8bppRgb, in DrawMaskedImage()
431 int dest_height = image_rect.Height(); in StartDIBSource()
528 m_ImageMatrix.d > 0 ? -image_rect.Height() : image_rect.Height(); in StartBitmapAlpha()
Dcpdf_devicebuffer.cpp54 m_pBitmap->Create(bitmap_rect.Width(), bitmap_rect.Height(), FXDIB_Argb); in Initialize()
64 m_Rect.Width(), m_Rect.Height()); in OutputToDevice()
75 m_Rect.Height()); in OutputToDevice()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex_copy.c82 assert(timg->base.Base.Height >= dsty + height); in do_copy_texsubimage()
92 … x, y, rrb->base.Base.Width, rrb->base.Base.Height, (uint32_t) src_offset, rrb->pitch/rrb->cpp); in do_copy_texsubimage()
129 rrb->base.Base.Width, rrb->base.Base.Height, x, y, in do_copy_texsubimage()
132 timg->base.Base.Width, timg->base.Base.Height, in do_copy_texsubimage()
Dradeon_fbo.c165 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_map_renderbuffer_s8z24()
203 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_map_renderbuffer_z16()
266 src_y = rrb->base.Base.Height - y - h; in radeon_map_renderbuffer()
283 rb->Width, rb->Height, in radeon_map_renderbuffer()
333 y = rb->Height - 1 - y; in radeon_map_renderbuffer()
360 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_unmap_renderbuffer_s8z24()
393 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_unmap_renderbuffer_z16()
448 rb->Width, rb->Height, in radeon_unmap_renderbuffer()
559 rb->Height = height; in radeon_alloc_renderbuffer_storage()
598 rb->Height = image->height; in radeon_image_target_renderbuffer_storage()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tex_copy.c82 assert(timg->base.Base.Height >= dsty + height); in do_copy_texsubimage()
92 … x, y, rrb->base.Base.Width, rrb->base.Base.Height, (uint32_t) src_offset, rrb->pitch/rrb->cpp); in do_copy_texsubimage()
129 rrb->base.Base.Width, rrb->base.Base.Height, x, y, in do_copy_texsubimage()
132 timg->base.Base.Width, timg->base.Base.Height, in do_copy_texsubimage()
Dradeon_fbo.c165 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_map_renderbuffer_s8z24()
203 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_map_renderbuffer_z16()
266 src_y = rrb->base.Base.Height - y - h; in radeon_map_renderbuffer()
283 rb->Width, rb->Height, in radeon_map_renderbuffer()
333 y = rb->Height - 1 - y; in radeon_map_renderbuffer()
360 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_unmap_renderbuffer_s8z24()
393 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_unmap_renderbuffer_z16()
448 rb->Width, rb->Height, in radeon_unmap_renderbuffer()
559 rb->Height = height; in radeon_alloc_renderbuffer_storage()
598 rb->Height = image->height; in radeon_image_target_renderbuffer_storage()
[all …]
/external/pdfium/core/fxge/dib/
Dfx_dib_transform.cpp193 int result_height = dest_clip.Height(); in SwapXY()
371 int dest_height = result_rect.Height(); in Start()
437 int stretch_height = m_StretchClip.Height(); in Continue()
449 if (!pTransformed->Create(m_result.Width(), m_result.Height(), transformF)) in Continue()
466 for (int row = 0; row < m_result.Height(); row++) { in Continue()
500 for (int row = 0; row < m_result.Height(); row++) { in Continue()
528 for (int row = 0; row < m_result.Height(); row++) { in Continue()
553 for (int row = 0; row < m_result.Height(); row++) { in Continue()
586 for (int row = 0; row < m_result.Height(); row++) { in Continue()
612 for (int row = 0; row < m_result.Height(); row++) { in Continue()
[all …]

12345678910>>...14