Home
last modified time | relevance | path

Searched refs:padded_width (Results 1 – 14 of 14) sorted by relevance

/third_party/gstreamer/gstplugins_base/sys/xvimage/
Dxvimageallocator.c346 const GstVideoInfo * info, gint padded_width, gint padded_height, in gst_xvimage_allocator_alloc() argument
371 mem, padded_width, padded_height, crop->x, crop->y, crop->w, crop->h); in gst_xvimage_allocator_alloc()
383 context->xv_port_id, im_format, NULL, padded_width, padded_height, in gst_xvimage_allocator_alloc()
393 "could not XShmCreateImage a %dx%d image", padded_width, in gst_xvimage_allocator_alloc()
420 pitches[0] = GST_ROUND_UP_4 (padded_width); in gst_xvimage_allocator_alloc()
422 pitches[1] = GST_ROUND_UP_8 (padded_width) / 2; in gst_xvimage_allocator_alloc()
439 expected_size = padded_height * GST_ROUND_UP_4 (padded_width * 2); in gst_xvimage_allocator_alloc()
446 expected_size = padded_height * GST_ROUND_UP_4 (padded_width * in gst_xvimage_allocator_alloc()
496 context->xv_port_id, im_format, NULL, padded_width, padded_height); in gst_xvimage_allocator_alloc()
542 "could not XvShmCreateImage a %dx%d image", padded_width, in gst_xvimage_allocator_alloc()
Dxvimagepool.c118 xvpool->padded_width = in xvimage_buffer_pool_set_config()
136 xvpool->im_format, &info, xvpool->padded_width, in xvimage_buffer_pool_set_config()
214 info, xvpool->padded_width, xvpool->padded_height, &xvpool->crop, &err); in xvimage_buffer_pool_alloc()
Dxvimagepool.h49 guint padded_width; member
Dxvimageallocator.h48 gint padded_width,
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_rs.c302 bool tiled_clear = (surf->surf.padded_width & ETNA_RS_WIDTH_MASK) == 0 && in etna_rs_gen_clear_surface()
314 ….width = surf->surf.padded_width, /* These must be padded to 16x4 if !LINEAR, otherwise RS will ha… in etna_rs_gen_clear_surface()
337 surf->surf.padded_width * surf->surf.padded_height / 16); in etna_blit_clear_color_rs()
396 surf->surf.padded_width * surf->surf.padded_height / 16); in etna_blit_clear_zs_rs()
660 assert((blit_info->src.box.x + blit_info->src.box.width) * msaa_xscale <= src_lev->padded_width); in etna_try_rs_blit()
662 assert(blit_info->dst.box.x + blit_info->dst.box.width <= dst_lev->padded_width); in etna_try_rs_blit()
678 if (src_lev->padded_width <= ETNA_RS_WIDTH_MASK || in etna_try_rs_blit()
679 dst_lev->padded_width <= ETNA_RS_WIDTH_MASK || in etna_try_rs_blit()
699 if (width > src_lev->padded_width || in etna_try_rs_blit()
700 width > dst_lev->padded_width * msaa_xscale || in etna_try_rs_blit()
[all …]
Detnaviv_resource.c172 mip->padded_width = align(width * msaa_xscale, paddingX); in setup_miptree()
174 mip->stride = util_format_get_stride(prsc->format, mip->padded_width); in setup_miptree()
517 level->padded_width = align(level->width, paddingX); in etna_resource_from_handle()
527 if (level->stride < util_format_get_stride(tmpl->format, level->padded_width)) { in etna_resource_from_handle()
529 level->stride, util_format_get_stride(tmpl->format, level->padded_width), in etna_resource_from_handle()
Detnaviv_clear_blit.c210 MIN2(src_priv->levels[level].padded_width, dst_priv->levels[level].padded_width); in etna_copy_resource()
Detnaviv_blt.c502 assert(op.src_x < src_lev->padded_width); in etna_try_blt_blit()
504 assert((op.src_x + op.rect_w) <= src_lev->padded_width); in etna_try_blt_blit()
506 assert(op.dest_x < dst_lev->padded_width); in etna_try_blt_blit()
508 assert((op.dest_x + op.rect_w) <= dst_lev->padded_width); in etna_try_blt_blit()
Detnaviv_resource.h44 unsigned width, padded_width; /* in pixels */ member
Detnaviv_surface.c115 (rsc->levels[level].padded_width & ETNA_RS_WIDTH_MASK) == 0 && in etna_create_surface()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-info.c1385 gint padded_width, padded_height; in gst_video_info_align_full() local
1427 padded_width = width + align->padding_left + align->padding_right; in gst_video_info_align_full()
1431 GST_LOG ("padded dimension %u-%u", padded_width, padded_height); in gst_video_info_align_full()
1433 info->width = padded_width; in gst_video_info_align_full()
1451 padded_width += padded_width & ~(padded_width - 1); in gst_video_info_align_full()
1454 align->padding_right = padded_width - width - align->padding_left; in gst_video_info_align_full()
/third_party/gstreamer/gstplugins_base/sys/ximage/
Dximagepool.h93 guint padded_width; member
Dximagepool.c222 width = xpool->padded_width; in ximage_memory_alloc()
597 xpool->padded_width = in ximage_buffer_pool_set_config()
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2object.c3237 gint stride, pstride, padded_width, padded_height, i; in gst_v4l2_object_save_format() local
3253 padded_width = stride / pstride; in gst_v4l2_object_save_format()
3259 padded_width = stride; in gst_v4l2_object_save_format()
3262 if (padded_width < format->fmt.pix.width) in gst_v4l2_object_save_format()
3265 padded_width, format->fmt.pix.width); in gst_v4l2_object_save_format()
3267 align->padding_right = padded_width - info->width - align->padding_left; in gst_v4l2_object_save_format()