Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
Dastc_symbolic_physical.cpp61 int block_mode = read_bits(11, 0, pb.data); in physical_to_symbolic() local
62 if ((block_mode & 0x1FF) == 0x1FC) in physical_to_symbolic()
67 if (block_mode & 0x200) in physical_to_symbolic()
68 res->block_mode = -1; // floating-point in physical_to_symbolic()
70 res->block_mode = -2; // unorm16. 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()
129 res->block_mode = block_mode; in physical_to_symbolic()
Dastc_decompress_symbolic.cpp135 if (scb->block_mode < 0) in decompress_symbolic_block()
141 if (scb->block_mode == -2) in decompress_symbolic_block()
209 const decimation_table *it = ixtab2[bsd->block_modes[scb->block_mode].decimation_mode]; in decompress_symbolic_block()
211 int is_dual_plane = bsd->block_modes[scb->block_mode].is_dual_plane; in decompress_symbolic_block()
213 int weight_quantization_level = bsd->block_modes[scb->block_mode].quantization_mode; in decompress_symbolic_block()
Dastc_codec_internals.h89 struct block_mode struct
106 block_mode block_modes[MAX_WEIGHT_MODES]; argument
221 int block_mode; // 0 to 2047. Negative value marks constant-color block (-1: FP16, -2:UINT16) member
/third_party/astc-encoder/Source/
Dastcenc_block_sizes.cpp37 unsigned int block_mode, in decode_block_mode_2d() argument
44 unsigned int base_quant_mode = (block_mode >> 4) & 1; in decode_block_mode_2d()
45 unsigned int H = (block_mode >> 9) & 1; in decode_block_mode_2d()
46 unsigned int D = (block_mode >> 10) & 1; in decode_block_mode_2d()
47 unsigned int A = (block_mode >> 5) & 0x3; in decode_block_mode_2d()
52 if ((block_mode & 3) != 0) in decode_block_mode_2d()
54 base_quant_mode |= (block_mode & 3) << 1; in decode_block_mode_2d()
55 unsigned int B = (block_mode >> 7) & 3; in decode_block_mode_2d()
56 switch ((block_mode >> 2) & 3) in decode_block_mode_2d()
72 if (block_mode & 0x100) in decode_block_mode_2d()
[all …]
Dastcenc_decompress_symbolic.cpp277 const auto& bm = bsd.get_block_mode(scb.block_mode); in decompress_symbolic_block()
339 assert(scb.block_mode >= 0); in compute_symbolic_block_difference_2plane()
341 assert(bsd.get_block_mode(scb.block_mode).is_dual_plane == 1); in compute_symbolic_block_difference_2plane()
344 const block_mode& bm = bsd.get_block_mode(scb.block_mode); 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()
434 assert(scb.block_mode >= 0); in compute_symbolic_block_difference_1plane()
441 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in compute_symbolic_block_difference_1plane()
529 assert(scb.block_mode >= 0); in compute_symbolic_block_difference_1plane_1partition()
533 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in compute_symbolic_block_difference_1plane_1partition()
Dastcenc_symbolic_physical.cpp172 const auto& bm = bsd.get_block_mode(scb.block_mode); in symbolic_to_physical()
202 write_bits(scb.block_mode, 11, 0, pcb.data); in symbolic_to_physical()
299 int block_mode = read_bits(11, 0, pcb.data); in physical_to_symbolic() local
300 if ((block_mode & 0x1FF) == 0x1FC) in physical_to_symbolic()
305 if (block_mode & 0x200) in physical_to_symbolic()
366 unsigned int packed_index = bsd.block_mode_packed_index[block_mode]; in physical_to_symbolic()
373 const auto& bm = bsd.get_block_mode(block_mode); in physical_to_symbolic()
384 scb.block_mode = static_cast<uint16_t>(block_mode); in physical_to_symbolic()
Dastcenc_compress_symbolic.cpp80 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in realign_weights_undecimated()
202 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in realign_weights_decimated()
461 const block_mode& bm = bsd.block_modes[i]; in compress_symbolic_block_for_partition_1plane()
520 const block_mode& qw_bm = bsd.block_modes[bm_packed_index]; in compress_symbolic_block_for_partition_1plane()
613 workscb.block_mode = qw_bm.mode_index; in compress_symbolic_block_for_partition_1plane()
825 const block_mode& bm = bsd.block_modes[i]; in compress_symbolic_block_for_partition_2planes()
901 const block_mode& qw_bm = bsd.block_modes[bm_packed_index]; in compress_symbolic_block_for_partition_2planes()
952 workscb.block_mode = qw_bm.mode_index; in compress_symbolic_block_for_partition_2planes()
1254 scb.block_mode = HIGH_SPEED_PROFILE_BLOCK_MODE; in compress_block()
1458 scb.block_mode = -2; in compress_block()
Dastcenc_internal.h598 struct block_mode struct
722 block_mode block_modes[WEIGHTS_MAX_BLOCK_MODES];
790 const block_mode& get_block_mode(unsigned int block_mode) const in get_block_mode()
792 unsigned int packed_index = this->block_mode_packed_index[block_mode]; in get_block_mode()
1251 uint16_t block_mode; member
2184 int block_mode[TUNE_MAX_TRIAL_CANDIDATES],
Dastcenc_weight_align.cpp546 const block_mode& bm = bsd.block_modes[i]; in compute_angular_endpoints_1plane()
615 const block_mode& bm = bsd.block_modes[i]; in compute_angular_endpoints_2planes()
Dastcenc_entry.cpp1238 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in astcenc_get_block_info()
Dastcenc_pick_best_endpoint_format.cpp1131 int block_mode[TUNE_MAX_TRIAL_CANDIDATES], in compute_ideal_endpoint_formats()
1369 block_mode[i] = best_error_weights[i]; in compute_ideal_endpoint_formats()
/third_party/libcoap/include/coap3/
Dcoap_block_internal.h38 #define set_block_mode_probe_q(block_mode) \ argument
40 block_mode |= COAP_BLOCK_PROBE_Q_BLOCK; \
41 block_mode &= ~(COAP_BLOCK_TRY_Q_BLOCK | COAP_BLOCK_HAS_Q_BLOCK); \
44 #define set_block_mode_has_q(block_mode) \ argument
46 block_mode |= COAP_BLOCK_HAS_Q_BLOCK; \
47 block_mode &= ~(COAP_BLOCK_TRY_Q_BLOCK | COAP_BLOCK_PROBE_Q_BLOCK); \
50 #define set_block_mode_drop_q(block_mode) \ argument
52 block_mode &= ~(COAP_BLOCK_TRY_Q_BLOCK |\
Dcoap_block.h423 uint8_t block_mode);
Dcoap_net_internal.h191 uint8_t block_mode; /**< Zero or more COAP_BLOCK_ or'd options */ member
Dcoap_session_internal.h181 uint8_t block_mode; /**< Zero or more COAP_BLOCK_ or'd options */ member
/third_party/libcoap/src/
Dcoap_block.c380 uint8_t block_mode) { in coap_context_set_block_mode() argument
381 context->block_mode = (block_mode & (COAP_BLOCK_USE_LIBCOAP | in coap_context_set_block_mode()
388 if (!(block_mode & COAP_BLOCK_USE_LIBCOAP)) in coap_context_set_block_mode()
389 context->block_mode = 0; in coap_context_set_block_mode()
391 if (block_mode & (COAP_BLOCK_TRY_Q_BLOCK|COAP_BLOCK_USE_M_Q_BLOCK)) in coap_context_set_block_mode()
413 if (!(session->block_mode & COAP_BLOCK_USE_LIBCOAP)) { in coap_cancel_observe()
631 if (!(session->block_mode & COAP_BLOCK_USE_LIBCOAP)) { in coap_add_data_large_internal()
658 if (session->block_mode & (COAP_BLOCK_HAS_Q_BLOCK|COAP_BLOCK_TRY_Q_BLOCK)) { in coap_add_data_large_internal()
687 if (session->block_mode & COAP_BLOCK_HAS_Q_BLOCK) { in coap_add_data_large_internal()
1034 uint16_t block_opt = (session->block_mode & COAP_BLOCK_HAS_Q_BLOCK) ? in coap_add_data_large_response()
[all …]
Dcoap_net.c679 if (!(ctx->block_mode & COAP_BLOCK_TRY_Q_BLOCK)) { in coap_option_check_critical()
1129 if (!(session->block_mode & COAP_BLOCK_USE_LIBCOAP)) { in coap_send()
1168 (session->block_mode & COAP_BLOCK_NO_PREEMPTIVE_RTAG) == 0 && in coap_send()
1181 if (session->block_mode & COAP_BLOCK_TRY_Q_BLOCK && in coap_send()
1191 set_block_mode_drop_q(session->block_mode); in coap_send()
1199 if (!(session->block_mode & COAP_BLOCK_HAS_Q_BLOCK)) in coap_send()
2529 if (!(session->block_mode & COAP_BLOCK_USE_LIBCOAP)) { in hnd_get_wellknown()
3084 if (session->block_mode & COAP_BLOCK_USE_LIBCOAP) { in handle_request()
3085 uint8_t block_mode = session->block_mode; in handle_request() local
3089 session->block_mode |= COAP_BLOCK_SINGLE_BODY; in handle_request()
[all …]
Dcoap_session.c555 session->block_mode = context->block_mode; in coap_make_session()
/third_party/skia/third_party/externals/freetype/src/lzw/
Dftzopen.c289 state->block_mode = max_bits & LZW_BLOCK_MASK; in ft_lzwstate_io()
296 state->free_ent = ( state->block_mode ? LZW_FIRST in ft_lzwstate_io()
333 if ( code == LZW_CLEAR && state->block_mode ) in ft_lzwstate_io()
Dftzopen.h125 FT_Int block_mode; /* block mode flag, from file header */ member
/third_party/libcoap/examples/
Doscore-interop-server.c74 static uint32_t block_mode = COAP_BLOCK_USE_LIBCOAP; variable
623 block_mode = strtoul(optarg, NULL, 0); in main()
624 if (!(block_mode & COAP_BLOCK_USE_LIBCOAP)) { in main()
675 coap_context_set_block_mode(ctx, block_mode); in main()
Dcoap-client.c89 static uint32_t block_mode = COAP_BLOCK_USE_LIBCOAP; variable
912 if (coap_q_block_is_supported() && block_mode & COAP_BLOCK_TRY_Q_BLOCK) in set_blocksize()
917 if (coap_q_block_is_supported() && block_mode & COAP_BLOCK_TRY_Q_BLOCK) in set_blocksize()
1652 block_mode = strtoul(optarg, NULL, 0); in main()
1653 if (!(block_mode & COAP_BLOCK_USE_LIBCOAP)) { in main()
1834 coap_context_set_block_mode(ctx, block_mode); in main()
Dcoap-server.c126 static uint32_t block_mode = COAP_BLOCK_USE_LIBCOAP; variable
2806 block_mode = strtoul(optarg, NULL, 0); in main()
2807 if (!(block_mode & COAP_BLOCK_USE_LIBCOAP)) { in main()
2834 block_mode |= COAP_BLOCK_SINGLE_BODY; in main()
2926 coap_context_set_block_mode(ctx, block_mode); in main()
/third_party/libcoap/man/
Dcoap_block.txt.in271 _offset_ will always be zero if block_mode includes COAP_BLOCK_SINGLE_BODY.
/third_party/gstreamer/gstplugins_bad/ext/resindvd/
Dresindvdsrc.c2788 cell->block_mode != BLOCK_MODE_FIRST_CELL) in rsn_dvdsrc_get_sector_from_time_tmap()