Home
last modified time | relevance | path

Searched refs:is_dual_plane (Results 1 – 11 of 11) sorted by relevance

/third_party/astc-encoder/Source/
Dastcenc_symbolic_physical.cpp176 int is_dual_plane = bm.is_dual_plane; in symbolic_to_physical() local
178 int real_weight_count = is_dual_plane ? 2 * weight_count : weight_count; in symbolic_to_physical()
182 if (is_dual_plane) in symbolic_to_physical()
265 if (is_dual_plane) in symbolic_to_physical()
378 int is_dual_plane = bm.is_dual_plane; in physical_to_symbolic() local
380 int real_weight_count = is_dual_plane ? 2 * weight_count : weight_count; in physical_to_symbolic()
396 if (is_dual_plane) in physical_to_symbolic()
411 if (is_dual_plane && partition_count == 4) in physical_to_symbolic()
486 if (is_dual_plane) in physical_to_symbolic()
521 if (is_dual_plane) in physical_to_symbolic()
Dastcenc_block_sizes.cpp40 bool& is_dual_plane, in decode_block_mode_2d() argument
131 is_dual_plane = D != 0; in decode_block_mode_2d()
157 bool& is_dual_plane, in decode_block_mode_3d() argument
234 is_dual_plane = D != 0; in decode_block_mode_3d()
889 bool is_dual_plane; in construct_block_size_descriptor_2d() local
892 …bool valid = decode_block_mode_2d(i, x_weights, y_weights, is_dual_plane, quant_mode, weight_bits); in construct_block_size_descriptor_2d()
901 if (((j <= 1) && is_dual_plane) || (j == 2 && !is_dual_plane)) in construct_block_size_descriptor_2d()
908 if (is_dual_plane) in construct_block_size_descriptor_2d()
962 if (is_dual_plane) in construct_block_size_descriptor_2d()
973 bm.is_dual_plane = static_cast<uint8_t>(is_dual_plane); in construct_block_size_descriptor_2d()
[all …]
Dastcenc_decompress_symbolic.cpp129 bool is_dual_plane, in unpack_weights() argument
143 if (!is_dual_plane) in unpack_weights()
280 int is_dual_plane = bm.is_dual_plane; in decompress_symbolic_block() local
285 …unpack_weights(bsd, scb, di, is_dual_plane, bm.get_weight_quant_mode(), plane1_weights, plane2_wei… in decompress_symbolic_block()
288 int plane2_component = is_dual_plane ? scb.plane2_component : -1; in decompress_symbolic_block()
341 assert(bsd.get_block_mode(scb.block_mode).is_dual_plane == 1); in compute_symbolic_block_difference_2plane()
426 assert(bsd.get_block_mode(scb.block_mode).is_dual_plane == 0); in compute_symbolic_block_difference_1plane()
Dastcenc_compress_symbolic.cpp84 unsigned int max_plane = bm.is_dual_plane; in realign_weights_undecimated()
85 int plane2_component = bm.is_dual_plane ? scb.plane2_component : -1; in realign_weights_undecimated()
211 unsigned int max_plane = bm.is_dual_plane; in realign_weights_decimated()
212 int plane2_component = bm.is_dual_plane ? scb.plane2_component : -1; in realign_weights_decimated()
462 assert(!bm.is_dual_plane); in compress_symbolic_block_for_partition_1plane()
826 assert(bm.is_dual_plane); in compress_symbolic_block_for_partition_2planes()
Dastcenc_internal.h613 uint8_t is_dual_plane : 1; member
2145 bool is_dual_plane,
Dastcenc_entry.cpp1245 info->is_dual_plane_block = bm.is_dual_plane != 0; in astcenc_get_block_info()
1287 …unpack_weights(bsd, scb, di, bm.is_dual_plane, bm.get_weight_quant_mode(), weight_plane1, weight_p… in astcenc_get_block_info()
Dastcenc_weight_align.cpp547 assert(!bm.is_dual_plane); in compute_angular_endpoints_1plane()
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
Dastc_symbolic_physical.cpp123 int is_dual_plane = bsd->block_modes[block_mode].is_dual_plane; in physical_to_symbolic() local
125 int real_weight_count = is_dual_plane ? 2 * weight_count : weight_count; in physical_to_symbolic()
140 if (is_dual_plane) in physical_to_symbolic()
155 if (is_dual_plane && partition_count == 4) in physical_to_symbolic()
219 if (is_dual_plane) in physical_to_symbolic()
245 if (is_dual_plane) in physical_to_symbolic()
Dastc_block_sizes2.cpp518 int is_dual_plane; in construct_block_size_descriptor_2d() local
523 if (decode_block_mode_2d(i, &x_weights, &y_weights, &is_dual_plane, &quantization_mode)) in construct_block_size_descriptor_2d()
538 bsd->block_modes[i].is_dual_plane = -1; in construct_block_size_descriptor_2d()
546 bsd->block_modes[i].is_dual_plane = is_dual_plane; in construct_block_size_descriptor_2d()
597 int is_dual_plane; in construct_block_size_descriptor_3d() local
602 …if (decode_block_mode_3d(i, &x_weights, &y_weights, &z_weights, &is_dual_plane, &quantization_mode… in construct_block_size_descriptor_3d()
616 bsd->block_modes[i].is_dual_plane = -1; in construct_block_size_descriptor_3d()
624 bsd->block_modes[i].is_dual_plane = is_dual_plane; in construct_block_size_descriptor_3d()
Dastc_decompress_symbolic.cpp211 int is_dual_plane = bsd->block_modes[scb->block_mode].is_dual_plane; in decompress_symbolic_block() local
245 if (is_dual_plane) in decompress_symbolic_block()
258 if (is_dual_plane) in decompress_symbolic_block()
275 is_dual_plane ? plane2_color_component : -1); in decompress_symbolic_block()
Dastc_codec_internals.h93 int8_t is_dual_plane; member