Lines Matching defs:bsd
708 ctx->bsd = aligned_malloc<block_size_descriptor>(sizeof(block_size_descriptor), ASTCENC_VECALIGN);
709 if (!ctx->bsd)
721 *ctx->bsd))
723 aligned_free<block_size_descriptor>(ctx->bsd);
733 *ctx->bsd);
756 aligned_free<block_size_descriptor>(ctx->bsd);
800 if (ctx->bsd)
802 aligned_free<block_size_descriptor>(ctx->bsd);
806 printf("ctx->bsd is nullptr !!\n");
840 const block_size_descriptor& bsd = *ctx.bsd;
845 int block_x = bsd.xdim;
846 int block_y = bsd.ydim;
847 int block_z = bsd.zdim;
950 load_func(decode_mode, image, blk, bsd, x * block_x, y * block_y, z * block_z, swizzle);
1267 physical_to_symbolic(*ctx->bsd, bp, scb);
1269 decompress_symbolic_block(ctx->config.profile, *ctx->bsd,
1273 store_image_block(image_out, blk, *ctx->bsd,
1307 physical_to_symbolic(*ctx->bsd, data, scb);
1310 block_size_descriptor& bsd = *ctx->bsd;
1321 info->texel_count = bsd.texel_count;
1340 const auto& pi = bsd.get_partition_info(partition_count, scb.partition_index);
1342 const block_mode& bm = bsd.get_block_mode(scb.block_mode);
1343 const decimation_info& di = bsd.get_decimation_info(bm.decimation_mode);
1390 unpack_weights(bsd, scb, di, bm.is_dual_plane, weight_plane1, weight_plane2);
1391 for (unsigned int i = 0; i < bsd.texel_count; i++)
1401 for (unsigned int i = 0; i < bsd.texel_count; i++)