Home
last modified time | relevance | path

Searched refs:bsd (Results 1 - 25 of 58) sorted by relevance

123

/third_party/astc-encoder/Source/
H A Dastcenc_block_sizes.cpp684 * The @c bsd.texel_count is an input and must be populated beforehand.
686 * @param[in,out] bsd The block size descriptor to populate.
689 block_size_descriptor& bsd in assign_kmeans_texels()
692 if (bsd.texel_count <= BLOCK_MAX_KMEANS_TEXELS) in assign_kmeans_texels()
694 for (uint8_t i = 0; i < bsd.texel_count; i++) in assign_kmeans_texels()
696 bsd.kmeans_texels[i] = i; in assign_kmeans_texels()
708 for (uint8_t i = 0; i < bsd.texel_count; i++) in assign_kmeans_texels()
718 texel = texel % bsd.texel_count; in assign_kmeans_texels()
721 bsd.kmeans_texels[arr_elements_set++] = texel; in assign_kmeans_texels()
734 * @param bsd Th
738 construct_dt_entry_2d( unsigned int x_texels, unsigned int y_texels, unsigned int x_weights, unsigned int y_weights, block_size_descriptor& bsd, dt_init_working_buffers& wb, unsigned int index ) construct_dt_entry_2d() argument
[all...]
H A Dastcenc_partition_tables.cpp268 * @param[out] bsd The block size information.
277 block_size_descriptor& bsd, in generate_one_partition_info_entry()
283 int texels_per_block = bsd.texel_count; in generate_one_partition_info_entry()
291 for (unsigned int z = 0; z < bsd.zdim; z++) in generate_one_partition_info_entry()
293 for (unsigned int y = 0; y < bsd.ydim; y++) in generate_one_partition_info_entry()
295 for (unsigned int x = 0; x < bsd.xdim; x++) in generate_one_partition_info_entry()
344 bitmaps = bsd.coverage_bitmaps_2[partition_remap_index]; in generate_one_partition_info_entry()
348 bitmaps = bsd.coverage_bitmaps_3[partition_remap_index]; in generate_one_partition_info_entry()
352 bitmaps = bsd.coverage_bitmaps_4[partition_remap_index]; in generate_one_partition_info_entry()
371 unsigned int texels_to_process = astc::min(bsd in generate_one_partition_info_entry()
276 generate_one_partition_info_entry( block_size_descriptor& bsd, unsigned int partition_count, unsigned int partition_index, unsigned int partition_remap_index, partition_info& pi ) generate_one_partition_info_entry() argument
[all...]
H A Dastcenc_compress_symbolic.cpp68 * @param bsd The block size information.
75 const block_size_descriptor& bsd, in realign_weights_undecimated()
81 const auto& pi = bsd.get_partition_info(partition_count, scb.partition_index); in realign_weights_undecimated()
84 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in realign_weights_undecimated()
129 promise(bsd.texel_count > 0); in realign_weights_undecimated()
132 for (; texel + ASTCENC_SIMD_WIDTH <= bsd.texel_count; texel += ASTCENC_SIMD_WIDTH) in realign_weights_undecimated()
231 for (; texel < bsd.texel_count; texel++) in realign_weights_undecimated()
282 const block_size_descriptor& bsd, in realign_weights_undecimated()
288 const auto& pi = bsd.get_partition_info(partition_count, scb.partition_index); in realign_weights_undecimated()
291 const block_mode& bm = bsd in realign_weights_undecimated()
73 realign_weights_undecimated( astcenc_profile decode_mode, const block_size_descriptor& bsd, const image_block& blk, symbolic_compressed_block& scb ) realign_weights_undecimated() argument
280 realign_weights_undecimated( astcenc_profile decode_mode, const block_size_descriptor& bsd, const image_block& blk, symbolic_compressed_block& scb ) realign_weights_undecimated() argument
400 realign_weights_decimated( astcenc_profile decode_mode, const block_size_descriptor& bsd, const image_block& blk, symbolic_compressed_block& scb ) realign_weights_decimated() argument
565 compress_symbolic_block_for_partition_1plane( QualityProfile privateProfile, const astcenc_config& config, const block_size_descriptor& bsd, const image_block& blk, bool only_always, float tune_errorval_threshold, unsigned int partition_count, unsigned int partition_index, symbolic_compressed_block& scb, compression_working_buffers& tmpbuf, int quant_limit ) compress_symbolic_block_for_partition_1plane() argument
937 compress_symbolic_block_for_partition_2planes( QualityProfile privateProfile, const astcenc_config& config, const block_size_descriptor& bsd, const image_block& blk, float tune_errorval_threshold, unsigned int plane2_component, symbolic_compressed_block& scb, compression_working_buffers& tmpbuf, int quant_limit ) compress_symbolic_block_for_partition_2planes() argument
1402 const block_size_descriptor& bsd = *ctx.bsd; compress_block() local
[all...]
H A Dastcenc_decompress_symbolic.cpp90 const block_size_descriptor& bsd, in unpack_weights()
109 for (unsigned int i = 0; i < bsd.texel_count; i += ASTCENC_SIMD_WIDTH) in unpack_weights()
142 for (unsigned int i = 0; i < bsd.texel_count; i += ASTCENC_SIMD_WIDTH) in unpack_weights()
183 const block_size_descriptor& bsd, in decompress_symbolic_block()
202 for (unsigned int i = 0; i < bsd.texel_count; i++) in decompress_symbolic_block()
255 for (unsigned int i = 0; i < bsd.texel_count; i++) in decompress_symbolic_block()
270 const auto& pi = bsd.get_partition_info(partition_count, scb.partition_index); in decompress_symbolic_block()
273 const auto& bm = bsd.get_block_mode(scb.block_mode); in decompress_symbolic_block()
274 const auto& di = bsd.get_decimation_info(bm.decimation_mode); in decompress_symbolic_block()
281 unpack_weights(bsd, sc in decompress_symbolic_block()
89 unpack_weights( const block_size_descriptor& bsd, const symbolic_compressed_block& scb, const decimation_info& di, bool is_dual_plane, int weights_plane1[BLOCK_MAX_TEXELS], int weights_plane2[BLOCK_MAX_TEXELS] ) unpack_weights() argument
181 decompress_symbolic_block( astcenc_profile decode_mode, const block_size_descriptor& bsd, int xpos, int ypos, int zpos, const symbolic_compressed_block& scb, image_block& blk ) decompress_symbolic_block() argument
324 compute_symbolic_block_difference_2plane( const astcenc_config& config, const block_size_descriptor& bsd, const symbolic_compressed_block& scb, const image_block& blk ) compute_symbolic_block_difference_2plane() argument
418 compute_symbolic_block_difference_1plane( const astcenc_config& config, const block_size_descriptor& bsd, const symbolic_compressed_block& scb, const image_block& blk ) compute_symbolic_block_difference_1plane() argument
516 compute_symbolic_block_difference_1plane_1partition( const astcenc_config& config, const block_size_descriptor& bsd, const symbolic_compressed_block& scb, const image_block& blk ) compute_symbolic_block_difference_1plane_1partition() argument
[all...]
H A Dastcenc_find_best_partitioning.cpp374 * @param bsd The block size information.
380 const block_size_descriptor& bsd, in count_partition_mismatch_bits()
385 unsigned int active_count = bsd.partitioning_count_selected[partition_count - 1]; in count_partition_mismatch_bits()
392 mismatch_counts[i] = partition_mismatch2(bitmaps, bsd.coverage_bitmaps_2[i]); in count_partition_mismatch_bits()
394 assert(mismatch_counts[i] < bsd.texel_count); in count_partition_mismatch_bits()
401 mismatch_counts[i] = partition_mismatch3(bitmaps, bsd.coverage_bitmaps_3[i]); in count_partition_mismatch_bits()
403 assert(mismatch_counts[i] < bsd.texel_count); in count_partition_mismatch_bits()
410 mismatch_counts[i] = partition_mismatch4(bitmaps, bsd.coverage_bitmaps_4[i]); in count_partition_mismatch_bits()
412 assert(mismatch_counts[i] < bsd.texel_count); in count_partition_mismatch_bits()
465 * @param bsd Th
379 count_partition_mismatch_bits( const block_size_descriptor& bsd, unsigned int partition_count, const uint64_t bitmaps[BLOCK_MAX_PARTITIONS], uint8_t mismatch_counts[BLOCK_MAX_PARTITIONINGS] ) count_partition_mismatch_bits() argument
[all...]
H A Dastcenc_image.cpp155 const block_size_descriptor& bsd, in load_image_block()
177 vfloat4 data_mean_scale(1.0f / static_cast<float>(bsd.texel_count)); in load_image_block()
211 for (unsigned int z = 0; z < bsd.zdim; z++) in load_image_block()
216 for (unsigned int y = 0; y < bsd.ydim; y++) in load_image_block()
220 for (unsigned int x = 0; x < bsd.xdim; x++) in load_image_block()
272 const block_size_descriptor& bsd, in load_image_block_fast_ldr()
295 for (unsigned int y = ypos; y < ypos + bsd.ydim; y++) in load_image_block_fast_ldr()
299 for (unsigned int x = xpos; x < xpos + bsd.xdim; x++) in load_image_block_fast_ldr()
329 blk.data_mean = data_mean / static_cast<float>(bsd.texel_count); in load_image_block_fast_ldr()
338 const block_size_descriptor& bsd, in store_image_block()
151 load_image_block( astcenc_profile decode_mode, const astcenc_image& img, image_block& blk, const block_size_descriptor& bsd, unsigned int xpos, unsigned int ypos, unsigned int zpos, const astcenc_swizzle& swz ) load_image_block() argument
268 load_image_block_fast_ldr( astcenc_profile decode_mode, const astcenc_image& img, image_block& blk, const block_size_descriptor& bsd, unsigned int xpos, unsigned int ypos, unsigned int zpos, const astcenc_swizzle& swz ) load_image_block_fast_ldr() argument
335 store_image_block( astcenc_image& img, const image_block& blk, const block_size_descriptor& bsd, unsigned int xpos, unsigned int ypos, unsigned int zpos, const astcenc_swizzle& swz ) store_image_block() argument
[all...]
H A Dastcenc_weight_align.cpp438 const block_size_descriptor& bsd, in compute_angular_endpoints_1plane()
449 unsigned int max_decimation_modes = only_always ? bsd.decimation_mode_count_always in compute_angular_endpoints_1plane()
450 : bsd.decimation_mode_count_selected; in compute_angular_endpoints_1plane()
454 const decimation_mode& dm = bsd.decimation_modes[i]; in compute_angular_endpoints_1plane()
460 unsigned int weight_count = bsd.get_decimation_info(i).weight_count; in compute_angular_endpoints_1plane()
480 unsigned int max_block_modes = only_always ? bsd.block_mode_count_1plane_always in compute_angular_endpoints_1plane()
481 : bsd.block_mode_count_1plane_selected; in compute_angular_endpoints_1plane()
485 const block_mode& bm = bsd.block_modes[i]; in compute_angular_endpoints_1plane()
507 const block_size_descriptor& bsd, in compute_angular_endpoints_2planes()
522 promise(bsd in compute_angular_endpoints_2planes()
435 compute_angular_endpoints_1plane( QualityProfile privateProfile, bool only_always, const block_size_descriptor& bsd, const float* dec_weight_ideal_value, unsigned int max_weight_quant, compression_working_buffers& tmpbuf ) compute_angular_endpoints_1plane() argument
505 compute_angular_endpoints_2planes( QualityProfile privateProfile, const block_size_descriptor& bsd, const float* dec_weight_ideal_value, unsigned int max_weight_quant, compression_working_buffers& tmpbuf ) compute_angular_endpoints_2planes() argument
[all...]
H A Dastcenc_entry.cpp708 ctx->bsd = aligned_malloc<block_size_descriptor>(sizeof(block_size_descriptor), ASTCENC_VECALIGN); in astcenc_context_alloc()
709 if (!ctx->bsd) in astcenc_context_alloc()
721 *ctx->bsd)) in astcenc_context_alloc()
723 aligned_free<block_size_descriptor>(ctx->bsd); in astcenc_context_alloc()
733 *ctx->bsd); in astcenc_context_alloc()
756 aligned_free<block_size_descriptor>(ctx->bsd); in astcenc_context_alloc()
800 if (ctx->bsd) in astcenc_context_free()
802 aligned_free<block_size_descriptor>(ctx->bsd); in astcenc_context_free()
806 printf("ctx->bsd is nullptr !!\n"); in astcenc_context_free()
840 const block_size_descriptor& bsd in compress_image() local
[all...]
H A Dastcenc_internal.h1231 block_size_descriptor* bsd; member
1277 * @param[out] bsd The descriptor to initialize.
1291 block_size_descriptor& bsd);
1296 * Note the @c bsd descriptor must be initialized by calling @c init_block_size_descriptor() before
1299 * @param[out] bsd The block size information structure to populate.
1304 block_size_descriptor& bsd,
1571 * @param bsd The block size information.
1582 const block_size_descriptor& bsd,
1659 * @param bsd The block size information.
1669 const block_size_descriptor& bsd,
[all...]
H A Dastcenc_symbolic_physical.cpp105 const block_size_descriptor& bsd, in symbolic_to_physical()
154 const auto& bm = bsd.get_block_mode(scb.block_mode); in symbolic_to_physical()
155 const auto& di = bsd.get_decimation_info(bm.decimation_mode); in symbolic_to_physical()
321 const block_size_descriptor& bsd, in physical_to_symbolic()
352 if (bsd.zdim == 1) in physical_to_symbolic()
397 unsigned int packed_index = bsd.block_mode_packed_index[block_mode]; in physical_to_symbolic()
404 const auto& bm = bsd.get_block_mode(block_mode); in physical_to_symbolic()
405 const auto& di = bsd.get_decimation_info(bm.decimation_mode); in physical_to_symbolic()
104 symbolic_to_physical( const block_size_descriptor& bsd, const symbolic_compressed_block& scb, uint8_t pcb[16] ) symbolic_to_physical() argument
320 physical_to_symbolic( const block_size_descriptor& bsd, const uint8_t pcb[16], symbolic_compressed_block& scb ) physical_to_symbolic() argument
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
H A Dastc_block_sizes2.cpp477 block_size_descriptor* bsd in construct_block_size_descriptor_2d()
482 bsd->xdim = xdim; in construct_block_size_descriptor_2d()
483 bsd->ydim = ydim; in construct_block_size_descriptor_2d()
484 bsd->zdim = 1; in construct_block_size_descriptor_2d()
485 bsd->texel_count = xdim * ydim; in construct_block_size_descriptor_2d()
506 bsd->decimation_tables[decimation_mode_count] = dt; in construct_block_size_descriptor_2d()
512 bsd->decimation_mode_count = decimation_mode_count; in construct_block_size_descriptor_2d()
536 bsd->block_modes[i].decimation_mode = -1; in construct_block_size_descriptor_2d()
537 bsd->block_modes[i].quantization_mode = -1; in construct_block_size_descriptor_2d()
538 bsd in construct_block_size_descriptor_2d()
645 term_block_size_descriptor( block_size_descriptor* bsd) term_block_size_descriptor() argument
[all...]
H A Dastc_decompress_symbolic.cpp87 const block_size_descriptor* bsd, in decompress_symbolic_block()
105 for (i = 0; i < bsd->texel_count; i++) in decompress_symbolic_block()
118 for (i = 0; i < bsd->texel_count; i++) in decompress_symbolic_block()
130 imageblock_initialize_work_from_orig(blk, bsd->texel_count); in decompress_symbolic_block()
131 update_imageblock_flags(blk, bsd->xdim, bsd->ydim, bsd->zdim); in decompress_symbolic_block()
185 for (i = 0; i < bsd->texel_count; i++) in decompress_symbolic_block()
196 imageblock_initialize_work_from_orig(blk, bsd->texel_count); in decompress_symbolic_block()
197 update_imageblock_flags(blk, bsd in decompress_symbolic_block()
85 decompress_symbolic_block( astc_decode_mode decode_mode, const block_size_descriptor* bsd, int xpos, int ypos, int zpos, const symbolic_compressed_block* scb, imageblock* blk ) decompress_symbolic_block() argument
[all...]
H A Dastc_partition_tables.cpp226 const block_size_descriptor* bsd, in generate_one_partition_table()
231 int texels_per_block = bsd->texel_count; in generate_one_partition_table()
237 for (z = 0; z < bsd->zdim; z++) in generate_one_partition_table()
238 for (y = 0; y < bsd->ydim; y++) in generate_one_partition_table()
239 for (x = 0; x < bsd->xdim; x++) in generate_one_partition_table()
269 block_size_descriptor* bsd in init_partition_tables()
271 partition_info *par_tab2 = bsd->partitions; in init_partition_tables()
276 generate_one_partition_table(bsd, 1, 0, par_tab1); in init_partition_tables()
279 generate_one_partition_table(bsd, 2, i, par_tab2 + i); in init_partition_tables()
280 generate_one_partition_table(bsd, in init_partition_tables()
225 generate_one_partition_table( const block_size_descriptor* bsd, int partition_count, int partition_index, partition_info* pt ) generate_one_partition_table() argument
[all...]
H A Dastc_codec_internals.h252 * @param bsd The structure to populate.
258 block_size_descriptor* bsd);
261 block_size_descriptor* bsd);
269 * @param bsd The structure to populate.
272 block_size_descriptor* bsd);
275 const block_size_descriptor* bsd, in get_partition_table()
282 return bsd->partitions + index; in get_partition_table()
321 const block_size_descriptor* bsd,
329 const block_size_descriptor* bsd,
274 get_partition_table( const block_size_descriptor* bsd, int partition_count ) get_partition_table() argument
H A Dastc_symbolic_physical.cpp48 const block_size_descriptor* bsd, in physical_to_symbolic()
58 const decimation_table *const *ixtab2 = bsd->decimation_tables; in physical_to_symbolic()
79 if (bsd->zdim == 1) in physical_to_symbolic()
115 if (bsd->block_modes[block_mode].permit_decode == 0) in physical_to_symbolic()
121 int weight_count = ixtab2[bsd->block_modes[block_mode].decimation_mode]->num_weights; in physical_to_symbolic()
122 int weight_quantization_method = bsd->block_modes[block_mode].quantization_mode; in physical_to_symbolic()
123 int is_dual_plane = bsd->block_modes[block_mode].is_dual_plane; in physical_to_symbolic()
47 physical_to_symbolic( const block_size_descriptor* bsd, physical_compressed_block pb, symbolic_compressed_block* res ) physical_to_symbolic() argument
/third_party/gptfdisk/
H A Dbsd.cc0 /* bsd.cc -- Functions for loading and manipulating legacy BSD disklabel
24 #include "bsd.h"
131 state = bsd; in ReadBSDData()
137 if (state == bsd) { in ReadBSDData()
188 if (state == bsd) { in DisplayBSDData()
215 case bsd: in ShowState()
229 return (state == bsd); in IsDisklabel()
236 if ((i < numParts) && (i >= 0) && (state == bsd) && (partitions != 0)) in GetType()
246 if ((i < numParts) && (i >= 0) && (state == bsd) && (partitions != 0)) in GetFirstSector()
256 if ((i < numParts) && (i >= 0) && (state == bsd) in GetLength()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DASTC_Decoder.cpp114 std::unique_ptr<block_size_descriptor> bsd(new block_size_descriptor); in Decode()
115 init_block_size_descriptor(xBlockSize, yBlockSize, zBlockSize, bsd.get()); in Decode()
125 physical_to_symbolic(bsd.get(), *(physical_compressed_block *)source, scb.get()); in Decode()
126 decompress_symbolic_block(decode_mode, bsd.get(), x * xBlockSize, y * yBlockSize, z * zBlockSize, scb.get(), ib.get()); in Decode()
133 term_block_size_descriptor(bsd.get()); in Decode()
/third_party/rust/crates/nix/src/sys/ptrace/
H A Dmod.rs16 mod bsd; modules
25 pub use self::bsd::*;
/third_party/skia/third_party/externals/microhttpd/
H A Dconfig.guess335 echo pyramid-pyramid-bsd
530 echo m68k-tektronix-bsd
596 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
604 9000/[34]??:4.3bsd:1.*:*)
605 echo m68k-hp-bsd
607 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
727 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
728 echo hppa1.1-hp-bsd
730 9000/8??:4.3bsd
[all...]
/third_party/rust/crates/nix/src/mount/
H A Dmod.rs17 mod bsd; modules
26 pub use self::bsd::*;
/third_party/eudev/
H A Dconfig.guess359 echo pyramid-pyramid-bsd
554 echo m68k-tektronix-bsd
621 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
629 9000/[34]??:4.3bsd:1.*:*)
630 echo m68k-hp-bsd
632 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
752 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
753 echo hppa1.1-hp-bsd
755 9000/8??:4.3bsd
[all...]
/third_party/lame/
H A Dconfig.guess369 echo pyramid-pyramid-bsd
559 echo m68k-tektronix-bsd
626 echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to
634 9000/[34]??:4.3bsd:1.*:*)
635 echo m68k-hp-bsd
637 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
757 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
758 echo hppa1.1-hp-bsd
760 9000/8??:4.3bsd
[all...]
/third_party/node/deps/cares/
H A Dconfig.guess403 *) GUESS=pyramid-pyramid-bsd ;;
605 GUESS=m68k-tektronix-bsd
673 GUESS=romp-ibm-bsd$UNAME_RELEASE # 4.3 with uname added to
681 9000/[34]??:4.3bsd:1.*:*)
682 GUESS=m68k-hp-bsd
684 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
804 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
805 GUESS=hppa1.1-hp-bsd
807 9000/8??:4.3bsd
[all...]
/third_party/node/deps/cares/config/
H A Dconfig.guess403 *) GUESS=pyramid-pyramid-bsd ;;
605 GUESS=m68k-tektronix-bsd
673 GUESS=romp-ibm-bsd$UNAME_RELEASE # 4.3 with uname added to
681 9000/[34]??:4.3bsd:1.*:*)
682 GUESS=m68k-hp-bsd
684 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
804 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
805 GUESS=hppa1.1-hp-bsd
807 9000/8??:4.3bsd
[all...]
/third_party/libevdev/build-aux/
H A Dconfig.guess403 *) GUESS=pyramid-pyramid-bsd ;;
605 GUESS=m68k-tektronix-bsd
673 GUESS=romp-ibm-bsd$UNAME_RELEASE # 4.3 with uname added to
681 9000/[34]??:4.3bsd:1.*:*)
682 GUESS=m68k-hp-bsd
684 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
804 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
805 GUESS=hppa1.1-hp-bsd
807 9000/8??:4.3bsd
[all...]

Completed in 21 milliseconds

123