Home
last modified time | relevance | path

Searched refs:bpb (Results 1 – 25 of 41) sorted by relevance

12

/external/newfs_msdos/
Dmkfs_msdos.c161 struct bpb { struct
184 struct bpb bpb; member
235 static int getstdfmt(const char *, struct bpb *);
236 static int getdiskinfo(int, const char *, const char *, int, struct bpb *);
237 static void print_bpb(struct bpb *);
250 struct bpb bpb; in mkfs_msdos() local
323 memset(&bpb, 0, sizeof(bpb)); in mkfs_msdos()
325 if (getstdfmt(o.floppy, &bpb) == -1) in mkfs_msdos()
327 bpb.bpbHugeSectors = bpb.bpbSectors; in mkfs_msdos()
328 bpb.bpbSectors = 0; in mkfs_msdos()
[all …]
/external/mesa3d/prebuilt-intermediates/isl/
Disl_format_layout.c33 .bpb = 128,
53 .bpb = 128,
73 .bpb = 128,
93 .bpb = 128,
113 .bpb = 128,
133 .bpb = 128,
153 .bpb = 128,
173 .bpb = 128,
193 .bpb = 128,
213 .bpb = 128,
[all …]
/external/mesa3d/src/intel/isl/
Disl_gen9.c43 const uint32_t bpb = fmtl->bpb; in gen9_calc_std_image_alignment_sa() local
52 .w = 1 << (12 - (ffs(bpb) - 4) + (4 * is_Ys)), in gen9_calc_std_image_alignment_sa()
63 .w = 1 << (6 - ((ffs(bpb) - 4) / 2) + (4 * is_Ys)), in gen9_calc_std_image_alignment_sa()
64 .h = 1 << (6 - ((ffs(bpb) - 3) / 2) + (4 * is_Ys)), in gen9_calc_std_image_alignment_sa()
89 .w = 1 << (4 - ((ffs(bpb) - 2) / 3) + (4 * is_Ys)), in gen9_calc_std_image_alignment_sa()
90 .h = 1 << (4 - ((ffs(bpb) - 4) / 3) + (2 * is_Ys)), in gen9_calc_std_image_alignment_sa()
91 .d = 1 << (4 - ((ffs(bpb) - 3) / 3) + (2 * is_Ys)), in gen9_calc_std_image_alignment_sa()
Disl_storage_image.c208 return isl_format_get_layout(fmt)->bpb <= 64; in isl_has_matching_typed_storage_image_format()
210 return isl_format_get_layout(fmt)->bpb <= 32; in isl_has_matching_typed_storage_image_format()
250 const int cpp = isl_format_get_layout(surf->format)->bpb / 8; in isl_surf_fill_image_param()
322 param->stride[0] = isl_format_get_layout(format)->bpb / 8; in isl_buffer_fill_image_param()
Disl.c1448 const uint32_t bs = fmtl->bpb / 8; in isl_calc_row_pitch_alignment()
1479 const uint32_t bs = fmtl->bpb / 8; in isl_calc_linear_min_row_pitch()
1493 assert(fmtl->bpb % tile_info->format_bpb == 0); in isl_calc_tiled_min_row_pitch()
1495 const uint32_t tile_el_scale = fmtl->bpb / tile_info->format_bpb; in isl_calc_tiled_min_row_pitch()
1627 isl_tiling_get_info(tiling, fmtl->bpb, &tile_info); in isl_surf_init_s()
1680 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 4); in isl_surf_init_s()
1682 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 8); in isl_surf_init_s()
1785 isl_tiling_get_info(surf->tiling, fmtl->bpb, tile_info); in isl_surf_get_tile_info()
1976 if (!isl_is_pow2(isl_format_get_layout(surf->format)->bpb)) in isl_surf_supports_ccs()
2076 if (isl_format_get_layout(surf->format)->bpb < 32) in isl_surf_supports_ccs()
[all …]
Disl_surface_state.c281 assert(surf_fmtl->bpb == view_fmtl->bpb); in isl_genX()
558 assert(isl_is_pow2(isl_format_get_layout(info->view->format)->bpb)); in isl_genX()
566 if (isl_format_get_layout(info->view->format)->bpb == 8) in isl_genX()
568 if (isl_format_get_layout(info->view->format)->bpb == 16) in isl_genX()
829 info->stride_B < isl_format_get_layout(info->format)->bpb / 8) { in isl_genX()
888 info->stride_B == isl_format_get_layout(info->format)->bpb / 8 && in isl_genX()
Disl_gen4.c94 if (isl_format_get_layout(info->format)->bpb >= 128) in isl_gen4_filter_tiling()
Disl_gen8.c177 fmtl->bpb == 32 && info->samples == 1) { in isl_gen8_choose_image_alignment_el()
Disl.h1118 uint16_t bpb; /**< Bits per block */ member
2149 assert(surf->row_pitch_B % (fmtl->bpb / 8) == 0); in isl_surf_get_row_pitch_el()
2150 return surf->row_pitch_B / (fmtl->bpb / 8); in isl_surf_get_row_pitch_el()
2300 uint32_t bpb,
2329 isl_tiling_get_intratile_offset_el(tiling, fmtl->bpb, row_pitch_B, in isl_tiling_get_intratile_offset_sa()
Dgen_format_layout.py162 self.bpb = int(line[1])
Disl_gen7.c308 if (ISL_DEV_GEN(dev) < 7 && isl_format_get_layout(info->format)->bpb >= 128) in isl_gen6_filter_tiling()
Disl_format.c846 return fmtl->bpb == 32 || fmtl->bpb == 64 || fmtl->bpb == 128; in isl_format_supports_ccs_d()
901 } else if (devinfo->gen < 7 && isl_format_get_layout(format)->bpb > 64) { in isl_format_supports_multisampling()
1219 memset(data_out, 0, isl_align(fmtl->bpb, 32) / 8); in isl_color_value_pack()
Disl_format_layout.csv33 # bpb: bits per block
66 # name , bpb, bw, bh, bd, r, g, b, a, l, i, p, order, spa…
/external/mesa3d/src/gallium/drivers/iris/
Diris_formats.c200 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96; in iris_is_format_supported()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_lower_image_load_store.c400 assert(image_fmtl->bpb == 64 || image_fmtl->bpb == 128); in lower_image_load_instr()
401 enum isl_format raw_fmt = (image_fmtl->bpb == 64) ? in lower_image_load_instr()
431 load->num_components = image_fmtl->bpb / 32; in lower_image_load_instr()
555 assert(image_fmtl->bpb == 64 || image_fmtl->bpb == 128); in lower_image_store_instr()
556 enum isl_format raw_fmt = (image_fmtl->bpb == 64) ? in lower_image_store_instr()
590 store->num_components = image_fmtl->bpb / 32; in lower_image_store_instr()
/external/bc/tests/fuzzing/dc_inputs/
D29.txt9 1bpb [200] 1:u 0;b p 1;b X
/external/bc/tests/dc/errors/
D29.txt9 1bpb [2nd] 1:u 0;b p 1;b X
/external/mesa3d/src/intel/blorp/
Dblorp_blit.c880 assert(src_fmtl->bpb == dst_fmtl->bpb); in bit_cast_color()
882 if (src_fmtl->bpb <= 32) { in bit_cast_color()
2042 if (isl_format_get_layout(params->dst.view.format)->bpb % 3 == 0) { in try_blorp_blit()
2412 get_copy_format_for_bpb(const struct isl_device *isl_dev, unsigned bpb) in get_copy_format_for_bpb() argument
2428 switch (bpb) { in get_copy_format_for_bpb()
2441 switch (bpb) { in get_copy_format_for_bpb()
2625 info->surf.format = get_copy_format_for_bpb(isl_dev, fmtl->bpb); in blorp_surf_convert_to_uncompressed()
2690 } else if (src_fmtl->bpb == dst_fmtl->bpb) { in blorp_copy()
2694 get_copy_format_for_bpb(isl_dev, src_fmtl->bpb); in blorp_copy()
2699 if (src_fmtl->bpb == dst_fmtl->bpb) { in blorp_copy()
[all …]
Dblorp_clear.c409 } else if (isl_format_get_layout(format)->bpb % 3 == 0) { in blorp_clear()
533 isl_format_get_layout(params.dst.surf.format)->bpb / 8; in blorp_clear()
640 isl_format_get_layout(wide_format)->bpb / 8; in blorp_clear_stencil_as_rgba()
1288 isl_tiling_get_intratile_offset_el(surf->aux_surf->tiling, aux_fmtl->bpb, in blorp_ccs_ambiguate()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_screen_cache.c47 unsigned bw, bh, bpb, total_size, i; in svga_surface_size() local
60 svga_format_size(key->format, &bw, &bh, &bpb); in svga_surface_size()
68 unsigned img_size = ((w + bw - 1) / bw) * ((h + bh - 1) / bh) * d * bpb; in svga_surface_size()
/external/icu/icu4c/source/tools/toolutil/
Dppucd.cpp44 bmg(U_SENTINEL), bpb(U_SENTINEL), in UniProps()
399 props.bpb=U_SENTINEL; in parseProperty()
456 props.bpb=parseCodePoint(v, errorCode); in parseProperty()
Dppucd.h53 UChar32 bmg, bpb; member
/external/mesa3d/src/intel/vulkan/
Danv_formats.c489 (isl_layout->bpb == 24 || isl_layout->bpb == 48)) in anv_get_format_plane()
494 if (!util_is_power_of_two_or_zero(isl_layout->bpb)) in anv_get_format_plane()
502 !util_is_power_of_two_or_zero(isl_layout->bpb)) { in anv_get_format_plane()
640 !util_is_power_of_two_or_zero(isl_format_layouts[base_isl_format].bpb) && in anv_get_image_format_features()
Danv_image.c1037 (isl_format_get_layout(isl_fmt)->bpb / 8); in resolve_ahw_image()
2252 const uint32_t format_bs = isl_format_get_layout(view->format)->bpb / 8; in anv_CreateBufferView()
2283 isl_format_get_layout(storage_format)->bpb / 8)); in anv_CreateBufferView()
2289 isl_format_get_layout(view->format)->bpb / 8); in anv_CreateBufferView()
/external/mesa3d/src/intel/common/
Dgen_aux_map.c300 switch (isl_format_get_layout(format)->bpb) { in get_bpp_encoding()

12