Home
last modified time | relevance | path

Searched refs:stride_in_bytes (Results 1 – 8 of 8) sorted by relevance

/external/libaom/libaom/aom/src/
Daom_image.c34 unsigned int stride_in_bytes; in img_alloc_helper() local
98 stride_in_bytes = (fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? s * 2 : s; in img_alloc_helper()
116 ? (uint64_t)(h + 2 * border) * stride_in_bytes * bps / 8 in img_alloc_helper()
117 : (uint64_t)(h + 2 * border) * stride_in_bytes; in img_alloc_helper()
138 img->stride[AOM_PLANE_Y] = stride_in_bytes; in img_alloc_helper()
139 img->stride[AOM_PLANE_U] = img->stride[AOM_PLANE_V] = stride_in_bytes >> xcs; in img_alloc_helper()
/external/libvpx/libvpx/vpx/src/
Dvpx_image.c24 unsigned int stride_in_bytes; in img_alloc_helper() local
78 stride_in_bytes = (fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? s * 2 : s; in img_alloc_helper()
103 stride_in_bytes = (fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? s * 2 : s; in img_alloc_helper()
124 img->stride[VPX_PLANE_Y] = img->stride[VPX_PLANE_ALPHA] = stride_in_bytes; in img_alloc_helper()
125 img->stride[VPX_PLANE_U] = img->stride[VPX_PLANE_V] = stride_in_bytes >> xcs; in img_alloc_helper()
/external/u-boot/drivers/video/
Dstb_truetype.h521 …pack_context *spc, unsigned char *pixels, int width, int height, int stride_in_bytes, int padding,…
610 int stride_in_bytes; member
2663 …(stbtt_pack_context *spc, unsigned char *pixels, int pw, int ph, int stride_in_bytes, int padding,… in stbtt_PackBegin() argument
2682 spc->stride_in_bytes = stride_in_bytes != 0 ? stride_in_bytes : pw; in stbtt_PackBegin()
2712 static void stbtt__h_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned i… in stbtt__h_prefilter() argument
2769 pixels += stride_in_bytes; in stbtt__h_prefilter()
2773 static void stbtt__v_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned i… in stbtt__v_prefilter() argument
2789 total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; in stbtt__v_prefilter()
2790 buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; in stbtt__v_prefilter()
2791 pixels[i*stride_in_bytes] = (unsigned char) (total / 2); in stbtt__v_prefilter()
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c206 unsigned stride_in_bytes) in r300_stride_to_width() argument
208 return (stride_in_bytes / util_format_get_blocksize(format)) * in r300_stride_to_width()
259 tex->tex.stride_in_bytes[i] = stride; in r300_setup_miptree()
367 tex->tex.stride_in_bytes[i]); in r300_setup_hyperz_properties()
451 tex->tex.stride_in_bytes[0]); in r300_setup_cmask_properties()
533 r300_stride_to_width(tex->b.b.format, tex->tex.stride_in_bytes[0]), in r300_tex_print_info()
Dr300_texture_desc.h54 unsigned stride_in_bytes);
Dr300_transfer.c193 trans->linear_texture->tex.stride_in_bytes[0]; in r300_texture_transfer_map()
207 trans->transfer.stride = tex->tex.stride_in_bytes[level]; in r300_texture_transfer_map()
Dr300_texture.c939 r300_stride_to_width(format, desc->stride_in_bytes[level]); in r300_texture_setup_format_state()
993 r300_stride_to_width(surf->base.format, tex->tex.stride_in_bytes[level]); in r300_texture_setup_fb_state()
1051 return rws->buffer_get_handle(tex->buf, tex->tex.stride_in_bytes[0], in r300_resource_get_handle()
1132 tiling.u.legacy.stride = tex->tex.stride_in_bytes[0]; in r300_texture_create_object()
1265 tex->tex.stride_in_bytes[level] * surface->cbzb_height; in r300_create_surface_custom()
Dr300_context.h346 unsigned stride_in_bytes[R300_MAX_TEXTURE_LEVELS]; member