/third_party/mesa3d/src/panfrost/lib/ |
D | pan_layout.c | 234 unsigned row_stride = layout->slices[level].row_stride; in panfrost_get_legacy_stride() local 244 return row_stride / block_size.height; in panfrost_get_legacy_stride() 327 pan_is_stride_aligned(layout->format, explicit_layout->row_stride))) in pan_image_layout_init() 372 unsigned row_stride = fmt_blocksize * effective_width * block_size.height; in pan_image_layout_init() local 376 if (explicit_layout->row_stride < row_stride) in pan_image_layout_init() 379 row_stride = explicit_layout->row_stride; in pan_image_layout_init() 387 row_stride = ALIGN_POT(row_stride, 64); in pan_image_layout_init() 391 assert(pan_is_stride_aligned(layout->format, row_stride) && in pan_image_layout_init() 394 unsigned slice_one_size = row_stride * (effective_height / block_size.height); in pan_image_layout_init() 398 slice->row_stride = in pan_image_layout_init() [all …]
|
D | pan_texture.c | 241 int32_t *row_stride, int32_t *surf_stride) in panfrost_get_surface_strides() argument 248 *row_stride = PAN_ARCH < 7 ? 0 : slice->row_stride; in panfrost_get_surface_strides() 253 *row_stride = slice->row_stride; in panfrost_get_surface_strides() 257 assert(pan_is_stride_aligned(layout->format, *row_stride)); in panfrost_get_surface_strides() 382 int32_t row_stride, surface_stride; in panfrost_emit_plane() local 384 panfrost_get_surface_strides(layout, level, &row_stride, &surface_stride); in panfrost_emit_plane() 385 assert(row_stride >= 0 && surface_stride >= 0 && "negative stride"); in panfrost_emit_plane() 391 cfg.row_stride = row_stride; in panfrost_emit_plane() 505 &cfg.row_stride, in panfrost_emit_texture_payload()
|
D | pan_cs.c | 198 ext->s_writeback_row_stride = s->image->layout.slices[level].row_stride; in pan_prepare_s() 226 ext->zs_writeback_row_stride = slice->row_stride; in pan_prepare_zs() 233 … ext->zs_afbc_row_stride = pan_afbc_stride_blocks(zs->image->layout.modifier, slice->row_stride); in pan_prepare_zs() 252 zs->image->layout.slices[level].row_stride; in pan_prepare_zs() 481 int row_stride = rt->image->layout.slices[level].row_stride; in pan_prepare_rt() local 509 cfg->afbc.row_stride = row_stride; in pan_prepare_rt() 514 … cfg->afbc.row_stride = pan_afbc_stride_blocks(rt->image->layout.modifier, slice->row_stride); in pan_prepare_rt() 533 cfg->rgb.row_stride = row_stride; in pan_prepare_rt() 877 cfg.color_writeback.row_stride = in GENX() 878 rt->image->layout.slices[level].row_stride; in GENX() [all …]
|
D | pan_texture.h | 61 unsigned row_stride; member 235 unsigned row_stride; member
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_sampler.c | 283 uint32_t row_stride[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local 321 row_stride[j] = lp_tex->row_stride[j]; in prepare_shader_sampling() 346 row_stride[0] = 0; in prepare_shader_sampling() 358 row_stride[0] = lp_tex->row_stride[0]; in prepare_shader_sampling() 370 row_stride, img_stride, mip_offsets); in prepare_shader_sampling() 455 uint32_t row_stride; in prepare_shader_images() local 504 row_stride = lp_img->row_stride[view->u.tex.level]; in prepare_shader_images() 513 row_stride = 0; in prepare_shader_images() 526 row_stride = lp_img->row_stride[0]; in prepare_shader_images() 536 row_stride, img_stride, in prepare_shader_images()
|
D | lp_texture.c | 129 lpr->row_stride[level] = nblocksx * block_size; in llvmpipe_texture_layout() 131 lpr->row_stride[level] = align(nblocksx * block_size, util_get_cpu_caps()->cacheline); in llvmpipe_texture_layout() 133 lpr->img_stride[level] = (uint64_t)lpr->row_stride[level] * nblocksy; in llvmpipe_texture_layout() 222 &lpr->row_stride[0] ); in llvmpipe_displaytarget_layout() 276 lpr->row_stride[0] = bytes; in llvmpipe_resource_create_all() 409 lpr->row_stride[0] = bytes; in llvmpipe_resource_from_memobj() 594 &lpr->row_stride[0]); in llvmpipe_resource_from_handle() 733 pt->stride = lpr->row_stride[level]; in llvmpipe_transfer_map_ms() 1058 *stride = lpr->row_stride[0]; in llvmpipe_get_resource_info() 1081 *value = lpr->row_stride[level]; in llvmpipe_resource_get_param()
|
D | lp_linear_sampler.c | 90 (samp->t >> FIXED16_SHIFT) * texture->row_stride[0]); in fetch_bgra_memcpy() 120 (samp->t >> FIXED16_SHIFT) * texture->row_stride[0]); in fetch_bgrx_memcpy() 153 (samp->t >> FIXED16_SHIFT) * texture->row_stride[0]); in fetch_bgra_axis_aligned() 176 (samp->t >> FIXED16_SHIFT) * texture->row_stride[0]); in fetch_bgrx_axis_aligned() 200 const int stride = texture->row_stride[0]; in fetch_bgra() 231 const int stride = texture->row_stride[0]; in fetch_bgrx() 263 const int stride = texture->row_stride[0]; in fetch_bgra_clamp() 296 const int stride = texture->row_stride[0]; in fetch_bgrx_clamp() 332 const int stride = texture->row_stride[0] / sizeof(uint32_t); in fetch_and_stretch_bgra_row() 433 const int stride = texture->row_stride[0] / sizeof(uint32_t); in fetch_bgra_linear() [all …]
|
D | lp_texture.h | 71 unsigned row_stride[LP_MAX_TEXTURE_LEVELS]; member 217 return lpr->row_stride[level]; in llvmpipe_resource_stride()
|
D | lp_linear_fastpath.c | 85 const unsigned src_stride = texture->row_stride[0]; in lp_linear_blit_rgba_blit() 136 const unsigned src_stride = texture->row_stride[0]; in lp_linear_blit_rgb1_blit()
|
D | lp_state_fs_linear.c | 184 yy * texture->row_stride[0]); in fetch_row() 211 texture->row_stride[0]); in fetch_row_clamped() 246 texture->row_stride[0]); in fetch_row_xy_clamped() 382 src_stride = texture->row_stride[0]; in blit_rgba_blit() 436 src_stride = texture->row_stride[0]; in blit_rgb1_blit()
|
D | lp_tex_sample.c | 187 LP_LLVM_TEXTURE_MEMBER(row_stride, LP_JIT_TEXTURE_ROW_STRIDE, FALSE) in LP_LLVM_TEXTURE_MEMBER() 329 LP_LLVM_IMAGE_MEMBER(row_stride, LP_JIT_IMAGE_ROW_STRIDE, TRUE) in LP_LLVM_IMAGE_MEMBER() 442 sampler->dynamic_state.base.row_stride = lp_llvm_texture_row_stride; in lp_llvm_sampler_soa_create() 541 image->dynamic_state.base.row_stride = lp_llvm_image_row_stride; in lp_llvm_image_soa_create()
|
/third_party/gstreamer/gstplugins_bad/gst/videosignal/ |
D | gstsimplevideomark.c | 324 gint width, gint height, gint row_stride, gint pixel_stride, guint8 color) in gst_video_mark_draw_box() argument 332 data += row_stride; in gst_video_mark_draw_box() 350 gint i, pw, ph, row_stride, pixel_stride; in gst_video_mark_yuv() local 362 row_stride = GST_VIDEO_FRAME_COMP_STRIDE (frame, 0); in gst_video_mark_yuv() 367 row_stride * (height - ph - simplevideomark->bottom_offset) + in gst_video_mark_yuv() 416 gst_video_mark_draw_box (simplevideomark, d, draw_pw, ph, row_stride, in gst_video_mark_yuv() 445 gst_video_mark_draw_box (simplevideomark, d, draw_pw, ph, row_stride, in gst_video_mark_yuv()
|
D | gstsimplevideomarkdetect.c | 394 gint row_stride, gint pixel_stride) in gst_video_detect_calc_brightness() argument 404 data += row_stride; in gst_video_detect_calc_brightness() 425 gint i, pw, ph, row_stride, pixel_stride; in gst_video_detect_yuv() local 436 row_stride = GST_VIDEO_FRAME_COMP_STRIDE (frame, 0); in gst_video_detect_yuv() 442 row_stride * (height - ph - simplevideomarkdetect->bottom_offset) + in gst_video_detect_yuv() 480 row_stride, pixel_stride); in gst_video_detect_yuv() 524 row_stride, pixel_stride); in gst_video_detect_yuv()
|
/third_party/gstreamer/gstplugins_bad/gst/coloreffects/ |
D | gstcoloreffects.c | 309 gint pixel_stride, row_stride, row_wrap; in gst_color_effects_transform_rgb() local 323 row_stride = GST_VIDEO_FRAME_PLANE_STRIDE (frame, 0); in gst_color_effects_transform_rgb() 325 row_wrap = row_stride - pixel_stride * width; in gst_color_effects_transform_rgb() 367 gint pixel_stride, row_stride, row_wrap; in gst_color_effects_transform_ayuv() local 381 row_stride = GST_VIDEO_FRAME_PLANE_STRIDE (frame, 0); in gst_color_effects_transform_ayuv() 383 row_wrap = row_stride - pixel_stride * width; in gst_color_effects_transform_ayuv()
|
/third_party/mesa3d/src/panfrost/lib/tests/ |
D | test-layout.cpp | 322 EXPECT_EQ(l.slices[0].row_stride, 768); in TEST() 348 EXPECT_EQ(l.slices[0].row_stride, 192); in TEST() 386 EXPECT_EQ(l.slices[0].row_stride, 16); in TEST() 426 EXPECT_EQ(l.slices[0].row_stride, 8192); in TEST() 453 EXPECT_EQ(l.slices[0].row_stride, 16); in TEST() 481 EXPECT_EQ(l.slices[0].row_stride, 16 * 8 * 8); in TEST()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_draw_feedback.c | 329 uint32_t row_stride[PIPE_MAX_TEXTURE_LEVELS]; in st_feedback_draw_vbo() local 353 row_stride[j] = sv_transfer[i][j]->stride; in st_feedback_draw_vbo() 374 row_stride[0] = 0; in st_feedback_draw_vbo() 387 last_level, 0, 0, (void*)base_addr, row_stride, in st_feedback_draw_vbo() 405 unsigned width, height, num_layers, row_stride, img_stride; in st_feedback_draw_vbo() local 418 row_stride = img_transfer[i]->stride; in st_feedback_draw_vbo() 424 row_stride = 0; in st_feedback_draw_vbo() 434 num_layers, addr, row_stride, img_stride, 0, 0); in st_feedback_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_sampler.c | 190 uint32_t row_stride[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local 229 row_stride[j] = sp_tex->stride[j]; in prepare_shader_sampling() 254 row_stride[0] = 0; in prepare_shader_sampling() 269 row_stride[0] = sp_tex->stride[0]; in prepare_shader_sampling() 280 row_stride, img_stride, mip_offsets); in prepare_shader_sampling()
|
/third_party/skia/third_party/externals/libpng/ |
D | pngwrite.c | 1510 png_int_32 row_stride; member 1961 if (display->row_stride == 0) in png_image_write_main() 1962 display->row_stride = (png_int_32)/*SAFE*/png_row_stride; in png_image_write_main() 1964 if (display->row_stride < 0) in png_image_write_main() 1965 check = (png_uint_32)(-display->row_stride); in png_image_write_main() 1968 check = (png_uint_32)display->row_stride; in png_image_write_main() 2092 ptrdiff_t row_bytes = display->row_stride; in png_image_write_main() 2214 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_memory() argument 2235 display.row_stride = row_stride; in png_image_write_to_memory() 2280 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_stdio() argument [all …]
|
/third_party/gstreamer/gstplugins_good/gst/deinterlace/tvtime/ |
D | vfir.c | 191 gint size = self->parent.row_stride[0]; in deinterlace_line_packed_mmx() 205 gint size = self->parent.row_stride[0]; in deinterlace_line_planar_y_mmx() 219 gint size = self->parent.row_stride[1]; in deinterlace_line_planar_u_mmx() 233 gint size = self->parent.row_stride[2]; in deinterlace_line_planar_v_mmx()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_image.c | 160 cfg.row_stride = image->pimage.layout.slices[level].row_stride; in panvk_per_arch() 236 cfg.row_stride = view->elems * blksz; in panvk_per_arch()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm_sample.c | 270 DRAW_LLVM_TEXTURE_MEMBER(row_stride, DRAW_JIT_TEXTURE_ROW_STRIDE, FALSE) in DRAW_LLVM_TEXTURE_MEMBER() 311 DRAW_LLVM_IMAGE_MEMBER(row_stride, DRAW_JIT_IMAGE_ROW_STRIDE, TRUE) 399 sampler->dynamic_state.base.row_stride = draw_llvm_texture_row_stride; in draw_llvm_sampler_soa_create() 487 image->dynamic_state.base.row_stride = draw_llvm_image_row_stride; in draw_llvm_image_soa_create()
|
/third_party/mesa3d/src/gallium/tests/graw/ |
D | graw_util.h | 226 const int row_stride = width * util_format_get_blocksize(format); in graw_util_create_tex2d() local 227 const int image_bytes = row_stride * height; in graw_util_create_tex2d() 255 row_stride, in graw_util_create_tex2d()
|
/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/ |
D | gstgeometrictransform.c | 148 gt->row_stride = in_info->stride[0]; in gst_geometric_transform_set_info() 174 out_offset = y * gt->row_stride + x * gt->pixel_stride; in gst_geometric_transform_do_map() 202 in_offset = trunc_y * gt->row_stride + trunc_x * gt->pixel_stride; in gst_geometric_transform_do_map()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
D | verifier.h | 38 uint32_t row_stride,
|
D | amber.cc | 47 const auto row_stride = buffer->GetRowStride(); in GetFrameBuffer() local 53 const uint8_t* ptr_8 = cpu_memory + (row_stride * y) + (texel_stride * x); in GetFrameBuffer()
|