Home
last modified time | relevance | path

Searched refs:src_count (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dbye.cc39 const uint8_t src_count = header.count_or_format; in Parse() local
41 if (header.payload_size_bytes < 4u * src_count) { in Parse()
46 bool has_reason = (header.payload_size_bytes > 4u * src_count); in Parse()
49 reason_length = payload[4u * src_count]; in Parse()
50 if (header.payload_size_bytes - 4u * src_count < 1u + reason_length) { in Parse()
56 if (src_count == 0) { // A count value of zero is valid, but useless. in Parse()
61 csrcs_.resize(src_count - 1); in Parse()
62 for (size_t i = 1; i < src_count; ++i) in Parse()
67 reason_.assign(reinterpret_cast<const char*>(&payload[4u * src_count + 1]), in Parse()
127 size_t src_count = (1 + csrcs_.size()); in BlockLength() local
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c659 unsigned src_count; in generate_fs_twiddle() local
663 src_count = num_fs * src_channels; in generate_fs_twiddle()
714 src_count *= 2; in generate_fs_twiddle()
729 for (i = 0; i < src_count; ++i) { in generate_fs_twiddle()
741 lp_bld_quad_twiddle(gallivm, type, src, src_count, dst); in generate_fs_twiddle()
744 memcpy(dst, src, sizeof(LLVMValueRef) * src_count); in generate_fs_twiddle()
762 for (i = 0; i < src_count; ++i) { in generate_fs_twiddle()
767 return src_count; in generate_fs_twiddle()
784 unsigned src_count, in fs_twiddle_transpose() argument
799 assert(src_count == 4 || src_count == 2 || src_count == 1); in fs_twiddle_transpose()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_pair.c146 unsigned int src_count = rc_presubtract_src_reg_count( in pair_foreach_source_callback() local
148 for(i = 0; i < src_count; i++) { in pair_foreach_source_callback()
157 unsigned int src_count = rc_presubtract_src_reg_count( in pair_foreach_source_callback() local
159 for(i = 0; i < src_count; i++) { in pair_foreach_source_callback()
/external/vulkan-validation-layers/tests/layers/
Ddevice_profile_api.cpp185 VkResult EnumerateProperties(uint32_t src_count, const T *src_props, uint32_t *dst_count, T *dst_pr… in EnumerateProperties() argument
187 *dst_count = src_count; in EnumerateProperties()
191 uint32_t copy_count = (*dst_count < src_count) ? *dst_count : src_count; in EnumerateProperties()
195 return (copy_count == src_count) ? VK_SUCCESS : VK_INCOMPLETE; in EnumerateProperties()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_quad.c174 unsigned src_count, in lp_bld_quad_twiddle() argument
183 assert((src_count % 2) == 0); in lp_bld_quad_twiddle()
194 for (i = 0; i < src_count; i += 2) { in lp_bld_quad_twiddle()
Dlp_bld_quad.h98 unsigned src_count,
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_parser.cpp296 for (int k = 0; k < n->bc.op_ptr->src_count; ++k) { in decode_alu_group()
375 unsigned src_count = n->bc.op_ptr->src_count; in prepare_alu_group() local
380 n->src.resize(src_count); in prepare_alu_group()
417 } else if (n->bc.op_ptr->src_count == 3 || n->bc.write_mask) { in prepare_alu_group()
431 for (unsigned s = 0; s < src_count; ++s) { in prepare_alu_group()
Dsb_gvn.cpp164 if (a->bc.op_ptr->src_count == 3 && !(a->bc.slot_flags & AF_V)) { in process_alu_src_constants()
Dsb_bc_dump.cpp235 if (alu.write_mask || alu.op_ptr->src_count == 3) { in print_dst()
367 for (int k = 0; k < n.bc.op_ptr->src_count; ++k) { in dump()
Dsb_expr.cpp292 switch (n.bc.op_ptr->src_count) { in fold()
362 unsigned src_count = b0.op_ptr->src_count; in ops_equal() local
370 for (unsigned s = 0; s < src_count; ++s) { in ops_equal()
621 if (n->bc.op_ptr->src_count != 2) in fold_assoc()
Dsb_bc_finalize.cpp554 unsigned src_count = 4; in finalize_fetch() local
559 src_count = 1; in finalize_fetch()
566 for (unsigned chan = 0; chan < src_count; ++chan) { in finalize_fetch()
Dsb_sched.cpp146 unsigned nsrc = n->bc.op_ptr->src_count, i; in unreserve()
231 unsigned nsrc = n->bc.op_ptr->src_count, i; in unreserve()
259 unsigned nsrc = n->bc.op_ptr->src_count, i; in try_reserve()
440 unsigned nsrc = n->bc.op_ptr->src_count; in try_reserve()
Dsb_ir.cpp529 if (bc.op_ptr->src_count == 2) { in interp_param()
Dsb_bc_builder.cpp418 if (aop->src_count<3) { in build_alu()
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dtoy_compiler_disasm.c131 int src_count; member
703 if (disasm_opcode_table[inst->opcode].src_count == 3) { in disasm_inst_decode()
1898 const int src_count = disasm_opcode_table[inst->opcode].src_count; in disasm_printer_print_inst() local
1900 if (src_count) { in disasm_printer_print_inst()
1909 for (i = 0; i < src_count; i++) { in disasm_printer_print_inst()
2028 if (disasm_opcode_table[tmp].src_count == 3) { in disasm_uncompact()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_isa.h164 int src_count; member
Dr600_isa.c565 if (op->src_count == 3) in r600_isa_init()
Dr600_asm.c49 return r600_isa_alu(alu->op)->src_count; in r600_bytecode_get_num_operands()
2182 for (i = 0; i < aop->src_count; ++i) { in r600_bytecode_disasm()