/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_bc_builder.cpp | 49 cf_op_flags flags = (cf_op_flags)cf->bc.op_ptr->flags; in build() 51 cf->bc.id = cf_cnt++; in build() 54 if (cf->bc.is_alu_extended()) in build() 68 cf_op_flags flags = (cf_op_flags)cf->bc.op_ptr->flags; in build() 72 cf->bc.addr = bb.ndw() >> 1; in build() 74 cf->bc.count = (bb.ndw() >> 1) - cf->bc.addr - 1; in build() 78 cf->bc.addr = bb.ndw() >> 1; in build() 80 cf->bc.count = (((bb.ndw() >> 1) - cf->bc in build() 146 const bc_cf &bc = n->bc; build_cf() local 206 const bc_cf &bc = n->bc; build_cf_alu() local 263 const bc_cf &bc = n->bc; build_cf_exp() local 337 const bc_cf &bc = n->bc; build_cf_mem() local 375 const bc_alu &bc = n->bc; build_alu() local 502 const bc_fetch &bc = n->bc; build_fetch_tex() local 566 const bc_fetch &bc = n->bc; build_fetch_gds() local 606 const bc_fetch &bc = n->bc; build_fetch_vtx() local 705 const bc_fetch &bc = n->bc; build_fetch_mem() local [all...] |
H A D | sb_bc_decoder.cpp | 31 int bc_decoder::decode_cf(unsigned &i, bc_cf& bc) { in decode_cf() argument 38 return decode_cf_alu(i, bc); in decode_cf() 45 bc.set_op(r600_isa_cf_by_opcode(ctx.isa, opcode, 0)); in decode_cf() 47 if (bc.op_ptr->flags & CF_EXP) { in decode_cf() 48 return decode_cf_exp(i, bc); in decode_cf() 49 } else if (bc.op_ptr->flags & CF_MEM) { in decode_cf() 50 return decode_cf_mem(i, bc); in decode_cf() 55 bc.addr = w0.get_ADDR(); in decode_cf() 56 bc.jumptable_sel = w0.get_JUMPTABLE_SEL(); in decode_cf() 61 bc in decode_cf() 109 decode_cf_alu(unsigned & i, bc_cf& bc) decode_cf_alu() argument 175 decode_cf_exp(unsigned & i, bc_cf& bc) decode_cf_exp() argument 229 decode_cf_mem(unsigned & i, bc_cf& bc) decode_cf_mem() argument 290 decode_alu(unsigned & i, bc_alu& bc) decode_alu() argument 404 decode_fetch(unsigned & i, bc_fetch& bc) decode_fetch() argument 500 decode_fetch_gds(unsigned & i, bc_fetch& bc) decode_fetch_gds() argument 536 decode_fetch_mem(unsigned & i, bc_fetch& bc) decode_fetch_mem() argument 579 decode_fetch_vtx(unsigned & i, bc_fetch& bc) decode_fetch_vtx() argument [all...] |
H A D | sb_bc_dump.cpp | 48 id = n.bc.id << 1; in visit() 50 if ((n.bc.op_ptr->flags & CF_ALU) && n.bc.is_alu_extended()) { in visit() 59 if (n.bc.op_ptr->flags & CF_CLAUSE) { in visit() 60 id = n.bc.addr << 1; in visit() 81 new_group = n.bc.last; in visit() 83 if (n.bc.last) { in visit() 119 s << n.bc.op_ptr->name; in dump() 121 if (n.bc.op_ptr->flags & CF_EXP) { in dump() 125 s << " " << exp_type[n.bc in dump() 467 bc_dump(shader& s, bytecode* bc) bc_dump() argument [all...] |
H A D | sb_bc_parser.cpp | 50 dw = bc->bytecode; in decode() 51 bc_ndw = bc->ndw; in decode() 59 switch (bc->type) { in decode() 71 if (bc->type == PIPE_SHADER_COMPUTE) in decode() 77 sh = new shader(ctx, t, bc->debug_id); in decode() 78 sh->safe_math = sb_context::safe_math || (t == TARGET_COMPUTE || bc->precise); in decode() 84 sh->ngpr = bc->ngpr; in decode() 85 sh->nstack = bc->nstack; in decode() 120 sh->add_gpr_array(0, bc->ngpr, 0x0F); in parse_decls() 138 sh->add_gpr_array(0, pshader->bc in parse_decls() [all...] |
H A D | sb_peephole.cpp | 65 if (f->bc.op >= FETCH_OP_GDS_ADD_RET && f->bc.op <= FETCH_OP_GDS_USHORT_READ_RET) in run_on() 66 f->bc.set_op(f->bc.op - FETCH_OP_GDS_ADD_RET + FETCH_OP_GDS_ADD); in run_on() 71 if (a->bc.op_ptr->flags & AF_LDS) { in run_on() 73 if (a->bc.op >= LDS_OP2_LDS_ADD_RET && a->bc.op <= LDS_OP3_LDS_MSKOR_RET) in run_on() 74 a->bc.set_op(a->bc.op - LDS_OP2_LDS_ADD_RET + LDS_OP2_LDS_ADD); in run_on() 75 if (a->bc in run_on() [all...] |
H A D | sb_expr.cpp | 55 n.bc.src[0].abs = abs; in convert_to_mov() 56 n.bc.src[0].neg = neg; in convert_to_mov() 57 n.bc.set_op(ALU_OP1_MOV); in convert_to_mov() 195 unsigned flags = n.bc.op_ptr->flags; in fold_setcc() 210 apply_alu_src_mod(n.bc, 0, cv0); in fold_setcc() 215 apply_alu_src_mod(n.bc, 1, cv1); in fold_setcc() 223 if (n.bc.src[0].abs && !n.bc.src[0].neg) { in fold_setcc() 228 } else if (n.bc.src[0].abs && n.bc in fold_setcc() 312 apply_alu_src_mod(const bc_alu &bc, unsigned src, literal &v) apply_alu_src_mod() argument 322 apply_alu_dst_mod(const bc_alu &bc, literal &v) apply_alu_dst_mod() argument [all...] |
H A D | sb_bc_finalize.cpp | 46 a->bc.set_op(ALU_OP0_NOP); in insert_rv6xx_load_ar_workaround() 47 a->bc.last = 1; in insert_rv6xx_load_ar_workaround() 84 a->bc.set_op(ALU_OP0_NOP); in run() 85 a->bc.last = 1; in run() 98 if (!ctx.is_cayman() && last_cf->bc.op_ptr->flags & CF_ALU) { in run() 110 last_cf->bc.end_of_program = 1; in run() 115 le->bc.set_op(CF_OP_EXPORT_DONE); in run() 205 if_pop->bc.pop_count = 1; in finalize_if() 235 nelse->bc.pop_count = 1; in finalize_if() 239 if_jump->bc in finalize_if() [all...] |
H A D | sb_bc.h | 433 // TODO optimize bc structures 800 int decode_cf(unsigned &i, bc_cf &bc); 801 int decode_alu(unsigned &i, bc_alu &bc); 802 int decode_fetch(unsigned &i, bc_fetch &bc); 805 int decode_cf_alu(unsigned &i, bc_cf &bc); 806 int decode_cf_exp(unsigned &i, bc_cf &bc); 807 int decode_cf_mem(unsigned &i, bc_cf &bc); 809 int decode_fetch_vtx(unsigned &i, bc_fetch &bc); 810 int decode_fetch_gds(unsigned &i, bc_fetch &bc); 811 int decode_fetch_mem(unsigned &i, bc_fetch &bc); 870 r600_bytecode *bc; global() member in r600_sb::bc_parser 898 bc_parser(sb_context &sctx, r600_bytecode *bc, r600_shader* pshader) bc_parser() argument 943 bc_vector bc; global() member in r600_sb::bytecode [all...] |
H A D | sb_core.cpp | 91 struct r600_bytecode *bc, in r600_sb_bytecode_process() 96 unsigned shader_id = bc->debug_id; in r600_sb_bytecode_process() 110 bc_parser parser(*ctx, bc, pshader); in r600_sb_bytecode_process() 120 bc_dump(*sh, bc->bytecode, bc->ndw).run(); in r600_sb_bytecode_process() 129 sh->src_stats.ndw = bc->ndw; in r600_sb_bytecode_process() 258 free(bc->bytecode); in r600_sb_bytecode_process() 259 bc->ndw = nbc.ndw(); in r600_sb_bytecode_process() 260 bc->bytecode = (uint32_t*) malloc(bc in r600_sb_bytecode_process() 90 r600_sb_bytecode_process(struct r600_context *rctx, struct r600_bytecode *bc, struct r600_shader *pshader, int dump_bytecode, int optimize) r600_sb_bytecode_process() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_asm.c | 139 void r600_bytecode_init(struct r600_bytecode *bc, in r600_bytecode_init() argument 146 bc->debug_id = ++next_shader_id; in r600_bytecode_init() 150 bc->ar_handling = AR_HANDLE_RV6XX; in r600_bytecode_init() 159 bc->r6xx_nop_after_rel_dst = 1; in r600_bytecode_init() 161 bc->ar_handling = AR_HANDLE_NORMAL; in r600_bytecode_init() 162 bc->r6xx_nop_after_rel_dst = 1; in r600_bytecode_init() 164 bc->ar_handling = AR_HANDLE_NORMAL; in r600_bytecode_init() 165 bc->r6xx_nop_after_rel_dst = 0; in r600_bytecode_init() 168 list_inithead(&bc->cf); in r600_bytecode_init() 169 bc in r600_bytecode_init() 175 r600_bytecode_add_cf(struct r600_bytecode *bc) r600_bytecode_add_cf() argument 198 r600_bytecode_add_output(struct r600_bytecode *bc, const struct r600_bytecode_output *output) r600_bytecode_add_output() argument 245 r600_bytecode_add_pending_output(struct r600_bytecode *bc, const struct r600_bytecode_output *output) r600_bytecode_add_pending_output() argument 255 r600_bytecode_add_ack(struct r600_bytecode *bc) r600_bytecode_add_ack() argument 261 r600_bytecode_wait_acks(struct r600_bytecode *bc) r600_bytecode_wait_acks() argument 283 r600_bytecode_write_export_ack_type(struct r600_bytecode *bc, bool indirect) r600_bytecode_write_export_ack_type() argument 304 is_alu_reduction_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) is_alu_reduction_inst() argument 356 is_alu_vec_unit_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) is_alu_vec_unit_inst() argument 362 is_alu_trans_unit_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) is_alu_trans_unit_inst() argument 369 is_alu_any_unit_inst(struct r600_bytecode *bc, struct r600_bytecode_alu *alu) is_alu_any_unit_inst() argument 380 assign_alu_units(struct r600_bytecode *bc, struct r600_bytecode_alu *alu_first, struct r600_bytecode_alu *assignment[5]) assign_alu_units() argument 469 reserve_cfile(const struct r600_bytecode *bc, struct alu_bank_swizzle *bs, unsigned sel, unsigned chan) reserve_cfile() argument 512 check_vector(const struct r600_bytecode *bc, const struct r600_bytecode_alu *alu, struct alu_bank_swizzle *bs, int bank_swizzle) check_vector() argument 542 check_scalar(const struct r600_bytecode *bc, const struct r600_bytecode_alu *alu, struct alu_bank_swizzle *bs, int bank_swizzle) check_scalar() argument 588 check_and_set_bank_swizzle(const struct r600_bytecode *bc, struct r600_bytecode_alu *slots[5]) check_and_set_bank_swizzle() argument 668 replace_gpr_with_pv_ps(struct r600_bytecode *bc, struct r600_bytecode_alu *slots[5], struct r600_bytecode_alu *alu_prev) replace_gpr_with_pv_ps() argument 805 merge_inst_groups(struct r600_bytecode *bc, struct r600_bytecode_alu *slots[5], struct r600_bytecode_alu *alu_prev) merge_inst_groups() argument 1010 r600_bytecode_alloc_kcache_line(struct r600_bytecode *bc, struct r600_bytecode_kcache *kcache, unsigned bank, unsigned line, unsigned index_mode) r600_bytecode_alloc_kcache_line() argument 1072 r600_bytecode_alloc_inst_kcache_lines(struct r600_bytecode *bc, struct r600_bytecode_kcache *kcache, struct r600_bytecode_alu *alu) r600_bytecode_alloc_inst_kcache_lines() argument 1132 r600_bytecode_alloc_kcache_lines(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned type) r600_bytecode_alloc_kcache_lines() argument 1180 insert_nop_r6xx(struct r600_bytecode *bc, int max_slots) insert_nop_r6xx() argument 1199 load_ar_r6xx(struct r600_bytecode *bc, bool for_src) load_ar_r6xx() argument 1231 r600_load_ar(struct r600_bytecode *bc, bool for_src) r600_load_ar() argument 1260 r600_bytecode_add_alu_type(struct r600_bytecode *bc, const struct r600_bytecode_alu *alu, unsigned type) r600_bytecode_add_alu_type() argument 1418 r600_bytecode_add_alu(struct r600_bytecode *bc, const struct r600_bytecode_alu *alu) r600_bytecode_add_alu() argument 1423 r600_bytecode_num_tex_and_vtx_instructions(const struct r600_bytecode *bc) r600_bytecode_num_tex_and_vtx_instructions() argument 1440 last_inst_was_not_vtx_fetch(struct r600_bytecode *bc) last_inst_was_not_vtx_fetch() argument 1448 r600_bytecode_add_vtx_internal(struct r600_bytecode *bc, const struct r600_bytecode_vtx *vtx, bool use_tc) r600_bytecode_add_vtx_internal() argument 1506 r600_bytecode_add_vtx(struct r600_bytecode *bc, const struct r600_bytecode_vtx *vtx) r600_bytecode_add_vtx() argument 1511 r600_bytecode_add_vtx_tc(struct r600_bytecode *bc, const struct r600_bytecode_vtx *vtx) r600_bytecode_add_vtx_tc() argument 1516 r600_bytecode_add_tex(struct r600_bytecode *bc, const struct r600_bytecode_tex *tex) r600_bytecode_add_tex() argument 1580 r600_bytecode_add_gds(struct r600_bytecode *bc, const struct r600_bytecode_gds *gds) r600_bytecode_add_gds() argument 1612 r600_bytecode_add_cfinst(struct r600_bytecode *bc, unsigned op) r600_bytecode_add_cfinst() argument 1629 cm_bytecode_add_cf_end(struct r600_bytecode *bc) cm_bytecode_add_cf_end() argument 1635 r600_bytecode_vtx_build(struct r600_bytecode *bc, struct r600_bytecode_vtx *vtx, unsigned id) r600_bytecode_vtx_build() argument 1669 r600_bytecode_tex_build(struct r600_bytecode *bc, struct r600_bytecode_tex *tex, unsigned id) r600_bytecode_tex_build() argument 1705 r600_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id) r600_bytecode_alu_build() argument 1761 r600_bytecode_cf_build(struct r600_bytecode *bc, struct r600_bytecode_cf *cf) r600_bytecode_cf_build() argument 1826 r600_bytecode_build(struct r600_bytecode *bc) r600_bytecode_build() argument 1942 r600_bytecode_clear(struct r600_bytecode *bc) r600_bytecode_clear() argument 2169 r600_bytecode_disasm(struct r600_bytecode *bc) r600_bytecode_disasm() argument 2722 struct r600_bytecode bc; r600_create_vertex_fetch_shader() local 2878 r600_bytecode_alu_read(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, uint32_t word0, uint32_t word1) r600_bytecode_alu_read() argument [all...] |
H A D | eg_asm.c | 31 int eg_bytecode_cf_build(struct r600_bytecode *bc, struct r600_bytecode_cf *cf) in eg_bytecode_cf_build() argument 36 bc->bytecode[id++] = cf->isa[0]; in eg_bytecode_cf_build() 37 bc->bytecode[id++] = cf->isa[1]; in eg_bytecode_cf_build() 40 unsigned opcode = r600_isa_cf_opcode(bc->isa->hw_class, cf->op); in eg_bytecode_cf_build() 45 bc->bytecode[id++] = in eg_bytecode_cf_build() 53 bc->bytecode[id++] = in eg_bytecode_cf_build() 55 r600_isa_cf_opcode(bc->isa->hw_class, CF_OP_ALU_EXT)) | in eg_bytecode_cf_build() 61 bc->bytecode[id++] = S_SQ_CF_ALU_WORD0_ADDR(cf->addr >> 1) | in eg_bytecode_cf_build() 65 bc->bytecode[id++] = S_SQ_CF_ALU_WORD1_CF_INST(opcode) | in eg_bytecode_cf_build() 73 bc in eg_bytecode_cf_build() 177 egcm_load_index_reg(struct r600_bytecode *bc, unsigned id, bool inside_alu_clause) egcm_load_index_reg() argument 226 eg_bytecode_gds_build(struct r600_bytecode *bc, struct r600_bytecode_gds *gds, unsigned id) eg_bytecode_gds_build() argument 259 eg_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id) eg_bytecode_alu_build() argument [all...] |
H A D | r600_asm.h | 292 int eg_bytecode_cf_build(struct r600_bytecode *bc, struct r600_bytecode_cf *cf); 293 int egcm_load_index_reg(struct r600_bytecode *bc, unsigned id, bool inside_alu_clause); 294 int eg_bytecode_gds_build(struct r600_bytecode *bc, struct r600_bytecode_gds *gds, unsigned id); 295 int eg_bytecode_alu_build(struct r600_bytecode *bc, 298 void r600_bytecode_init(struct r600_bytecode *bc, 302 void r600_bytecode_clear(struct r600_bytecode *bc); 303 int r600_bytecode_add_alu(struct r600_bytecode *bc, 305 int r600_bytecode_add_vtx(struct r600_bytecode *bc, 307 int r600_bytecode_add_vtx_tc(struct r600_bytecode *bc, 309 int r600_bytecode_add_tex(struct r600_bytecode *bc, [all...] |
H A D | r600_shader.c | 146 pipe_buffer_create(ctx->screen, 0, PIPE_USAGE_IMMUTABLE, shader->shader.bc.ndw * 4); in store_shader() 154 for (i = 0; i < shader->shader.bc.ndw; ++i) { in store_shader() 155 ptr[i] = util_cpu_to_le32(shader->shader.bc.bytecode[i]); in store_shader() 158 memcpy(ptr, shader->shader.bc.bytecode, shader->shader.bc.ndw * sizeof(*ptr)); in store_shader() 187 shader->shader.bc.isa = rctx->isa; in r600_pipe_shader_create() 277 if (!shader->shader.bc.bytecode) { in r600_pipe_shader_create() 278 r = r600_bytecode_build(&shader->shader.bc); in r600_pipe_shader_create() 288 r600_bytecode_disasm(&shader->shader.bc); in r600_pipe_shader_create() 291 r = r600_sb_bytecode_process(rctx, &shader->shader.bc, in r600_pipe_shader_create() 428 struct r600_bytecode *bc; global() member 5067 cayman_emit_unary_double_raw(struct r600_bytecode *bc, unsigned op, int dst_reg, struct r600_shader_src *src, bool abs) cayman_emit_unary_double_raw() argument 5819 emit_mul_int_op(struct r600_bytecode *bc, struct r600_bytecode_alu *alu_src) emit_mul_int_op() argument [all...] |
H A D | r700_asm.c | 37 int r700_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id) in r700_bytecode_alu_build() argument 39 bc->bytecode[id++] = S_SQ_ALU_WORD0_SRC0_SEL(alu->src[0].sel) | in r700_bytecode_alu_build() 53 bc->bytecode[id++] = S_SQ_ALU_WORD1_DST_GPR(alu->dst.sel) | in r700_bytecode_alu_build() 61 S_SQ_ALU_WORD1_OP3_ALU_INST(r600_isa_alu_opcode(bc->isa->hw_class, alu->op)) | in r700_bytecode_alu_build() 64 bc->bytecode[id++] = S_SQ_ALU_WORD1_DST_GPR(alu->dst.sel) | in r700_bytecode_alu_build() 72 S_SQ_ALU_WORD1_OP2_ALU_INST(r600_isa_alu_opcode(bc->isa->hw_class, alu->op)) | in r700_bytecode_alu_build() 80 void r700_bytecode_alu_read(struct r600_bytecode *bc, in r700_bytecode_alu_read() argument 111 alu->op = r600_isa_alu_by_opcode(bc->isa, in r700_bytecode_alu_read() 118 alu->op = r600_isa_alu_by_opcode(bc->isa, in r700_bytecode_alu_read() 128 int r700_bytecode_fetch_mem_build(struct r600_bytecode *bc, struc argument [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | binaryArithmeticControlFlowGraphNotTooLarge.js | 5 var a, b, c, d, ab, bc, cd, da, blocks = this.blocks; 56 bc = b & c; 57 a += (bc | (b & d) | (c & d)) + blocks[0] + 1518500249; 60 d += (ab | (a & c) | bc) + blocks[4] + 1518500249; 68 bc = b & c; 69 a += (bc | (b & d) | cd) + blocks[1] + 1518500249; 72 d += (ab | (a & c) | bc) + blocks[5] + 1518500249; 80 bc = b & c; 81 a += (bc | (b & d) | cd) + blocks[2] + 1518500249; 84 d += (ab | (a & c) | bc) [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | nutdec.c | 42 static int get_str(AVIOContext *bc, char *string, unsigned int maxlen) in get_str() argument 44 unsigned int len = ffio_read_varlen(bc); in get_str() 47 avio_read(bc, string, FFMIN(len, maxlen)); in get_str() 49 avio_r8(bc); in get_str() 51 if (bc->eof_reached) in get_str() 58 if (bc->eof_reached) in get_str() 66 static int64_t get_s(AVIOContext *bc) in get_s() argument 68 int64_t v = ffio_read_varlen(bc) + 1; in get_s() 76 static uint64_t get_fourcc(AVIOContext *bc) in get_fourcc() argument 78 unsigned int len = ffio_read_varlen(bc); in get_fourcc() 90 get_packetheader(NUTContext *nut, AVIOContext *bc, int calculate_checksum, uint64_t startcode) get_packetheader() argument 110 find_any_startcode(AVIOContext *bc, int64_t pos) find_any_startcode() argument 141 find_startcode(AVIOContext *bc, uint64_t code, int64_t pos) find_startcode() argument 177 skip_reserved(AVIOContext *bc, int64_t pos) skip_reserved() argument 196 AVIOContext *bc = s->pb; decode_main_header() local 382 AVIOContext *bc = s->pb; decode_stream_header() local 506 AVIOContext *bc = s->pb; decode_info_header() local 629 AVIOContext *bc = s->pb; decode_syncpoint() local 685 AVIOContext *bc = s->pb; find_and_decode_index() local 813 AVIOContext *bc = s->pb; nut_read_header() local 878 read_sm_data(AVFormatContext *s, AVIOContext *bc, AVPacket *pkt, int is_meta, int64_t maxpos) read_sm_data() argument 1009 AVIOContext *bc = s->pb; decode_frame_header() local 1091 AVIOContext *bc = s->pb; decode_frame() local 1159 AVIOContext *bc = s->pb; nut_read_packet() local 1218 AVIOContext *bc = s->pb; nut_read_timestamp() local [all...] |
H A D | nutenc.c | 318 static void put_v(AVIOContext *bc, uint64_t val) in put_v() argument 323 avio_w8(bc, 128 | (uint8_t)(val >> (7*i))); in put_v() 325 avio_w8(bc, val & 127); in put_v() 328 static void put_tt(NUTContext *nut, AVRational *time_base, AVIOContext *bc, uint64_t val) in put_tt() argument 332 put_v(bc, val); in put_tt() 337 static void put_str(AVIOContext *bc, const char *string) in put_str() argument 341 put_v(bc, len); in put_str() 342 avio_write(bc, string, len); in put_str() 345 static void put_s(AVIOContext *bc, int64_t val) in put_s() argument 347 put_v(bc, in put_s() 350 put_packet(NUTContext *nut, AVIOContext *bc, AVIOContext *dyn_bc, uint64_t startcode) put_packet() argument 371 write_mainheader(NUTContext *nut, AVIOContext *bc) write_mainheader() argument 451 write_streamheader(AVFormatContext *avctx, AVIOContext *bc, AVStream *st, int i) write_streamheader() argument 508 add_info(AVIOContext *bc, const char *type, const char *value) add_info() argument 516 write_globalinfo(NUTContext *nut, AVIOContext *bc) write_globalinfo() argument 544 write_streaminfo(NUTContext *nut, AVIOContext *bc, int stream_id) write_streaminfo() argument 586 write_chapter(NUTContext *nut, AVIOContext *bc, int id) write_chapter() argument 614 write_index(NUTContext *nut, AVIOContext *bc) write_index() argument 666 write_headers(AVFormatContext *avctx, AVIOContext *bc) write_headers() argument 721 AVIOContext *bc = s->pb; nut_write_header() local 852 write_sm_data(AVFormatContext *s, AVIOContext *bc, AVPacket *pkt, int is_meta) write_sm_data() argument 981 AVIOContext *bc = s->pb, *dyn_bc, *sm_bc = NULL; nut_write_packet() local 1203 AVIOContext *bc = s->pb, *dyn_bc; nut_write_trailer() local [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | ir2_assemble.c | 169 fill_instr(struct ir2_context *ctx, struct ir2_sched_instr *sched, instr_t *bc, in fill_instr() argument 174 *bc = (instr_t){}; in fill_instr() 179 bc->fetch.opc = instr->fetch.opc; in fill_instr() 180 bc->fetch.pred_select = !!instr->pred; in fill_instr() 181 bc->fetch.pred_condition = instr->pred & 1; in fill_instr() 186 instr_fetch_vtx_t *vtx = &bc->fetch.vtx; in fill_instr() 208 instr_fetch_tex_t *tex = &bc->fetch.tex; in fill_instr() 227 instr_fetch_tex_t *tex = &bc->fetch.tex; in fill_instr() 260 bc->alu.vector_opc = instr_v->alu.vector_opc; in fill_instr() 261 bc in fill_instr() 363 instr_t bytecode[384], bc; assemble() local [all...] |
/third_party/libwebsockets/lib/drivers/button/ |
H A D | lws-button.c | 112 const lws_button_controller_t *bc = bcs->controller; in LWS_PLAT_TIMER_CB() local 127 for (n = 0; n < bc->count_buttons; n++) { in LWS_PLAT_TIMER_CB() 137 bc->gpio_ops->irq_mode(bc->button_map[n].gpio, in LWS_PLAT_TIMER_CB() 147 bc->gpio_ops->set(bc->button_map[n].gpio, in LWS_PLAT_TIMER_CB() 148 !!(bc->active_state_bitmap & (1 << n))); in LWS_PLAT_TIMER_CB() 149 bc->gpio_ops->mode(bc->button_map[n].gpio, LWSGGPIO_FL_WRITE); in LWS_PLAT_TIMER_CB() 181 bc in LWS_PLAT_TIMER_CB() 208 const lws_button_controller_t *bc = bcs->controller; LWS_PLAT_TIMER_CB() local 484 const lws_button_controller_t *bc = bcs->controller; lws_button_get_bit() local 499 const lws_button_controller_t *bc = bcs->controller; lws_button_enable() local [all...] |
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/ |
H A D | lws-button.c | 108 const lws_button_controller_t *bc = bcs->controller; in LWS_PLAT_TIMER_CB() local 124 for (n = 0; n < bc->count_buttons; n++) { in LWS_PLAT_TIMER_CB() 134 bc->gpio_ops->irq_mode(bc->button_map[n].gpio, in LWS_PLAT_TIMER_CB() 144 bc->gpio_ops->set(bc->button_map[n].gpio, in LWS_PLAT_TIMER_CB() 145 !!(bc->active_state_bitmap & (1 << n))); in LWS_PLAT_TIMER_CB() 146 bc->gpio_ops->mode(bc->button_map[n].gpio, LWSGGPIO_FL_WRITE); in LWS_PLAT_TIMER_CB() 179 bc in LWS_PLAT_TIMER_CB() 206 const lws_button_controller_t *bc = bcs->controller; LWS_PLAT_TIMER_CB() local 449 const lws_button_controller_t *bc = bcs->controller; lws_button_get_bit() local 464 const lws_button_controller_t *bc = bcs->controller; lws_button_enable() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vp9_raw_reorder_bsf.c | 76 GetBitContext bc; in vp9_raw_reorder_frame_parse() local 84 err = init_get_bits(&bc, frame->packet->data, 8 * frame->packet->size); in vp9_raw_reorder_frame_parse() 88 frame_marker = get_bits(&bc, 2); in vp9_raw_reorder_frame_parse() 95 profile_low_bit = get_bits1(&bc); in vp9_raw_reorder_frame_parse() 96 profile_high_bit = get_bits1(&bc); in vp9_raw_reorder_frame_parse() 99 reserved_zero = get_bits1(&bc); in vp9_raw_reorder_frame_parse() 107 frame->show_existing_frame = get_bits1(&bc); in vp9_raw_reorder_frame_parse() 109 frame->frame_to_show = get_bits(&bc, 3); in vp9_raw_reorder_frame_parse() 113 frame->frame_type = get_bits1(&bc); in vp9_raw_reorder_frame_parse() 114 frame->show_frame = get_bits1(&bc); in vp9_raw_reorder_frame_parse() [all...] |
H A D | bitpacked_dec.c | 68 GetBitContext bc; in bitpacked_decode_yuv422p10() local 82 ret = init_get_bits(&bc, avpkt->data, avctx->width * avctx->height * 20); in bitpacked_decode_yuv422p10() 92 *u++ = get_bits(&bc, 10); in bitpacked_decode_yuv422p10() 93 *y++ = get_bits(&bc, 10); in bitpacked_decode_yuv422p10() 94 *v++ = get_bits(&bc, 10); in bitpacked_decode_yuv422p10() 95 *y++ = get_bits(&bc, 10); in bitpacked_decode_yuv422p10() 104 struct BitpackedContext *bc = avctx->priv_data; in bitpacked_init_decoder() local 112 bc->decode = bitpacked_decode_uyvy422; in bitpacked_init_decoder() 115 bc->decode = bitpacked_decode_yuv422p10; in bitpacked_init_decoder() 128 struct BitpackedContext *bc in bitpacked_decode() local [all...] |
H A D | bitpacked.c | 63 GetBitContext bc; in bitpacked_decode_yuv422p10() local 77 ret = init_get_bits(&bc, avpkt->data, avctx->width * avctx->height * 20); in bitpacked_decode_yuv422p10() 87 *u++ = get_bits(&bc, 10); in bitpacked_decode_yuv422p10() 88 *y++ = get_bits(&bc, 10); in bitpacked_decode_yuv422p10() 89 *v++ = get_bits(&bc, 10); in bitpacked_decode_yuv422p10() 90 *y++ = get_bits(&bc, 10); in bitpacked_decode_yuv422p10() 99 struct BitpackedContext *bc = avctx->priv_data; in bitpacked_init_decoder() local 107 bc->decode = bitpacked_decode_uyvy422; in bitpacked_init_decoder() 110 bc->decode = bitpacked_decode_yuv422p10; in bitpacked_init_decoder() 123 struct BitpackedContext *bc in bitpacked_decode() local [all...] |
/third_party/toybox/toys/pending/ |
H A D | hexdump.c | 46 unsigned int fn, bc; // file number and byte count 87 (TT.n && TT.s+TT.n-TT.pos<16-(TT.bc%16)) in do_hexdump() 88 ? TT.s+TT.n-TT.pos : 16-(TT.bc%16))); in do_hexdump() 105 strncpy(TT.linebuf+(TT.bc%16), toybuf, TT.len); in do_hexdump() 106 TT.bc = TT.bc % 16 + TT.len; in do_hexdump() 108 if (TT.pos + TT.bc == TT.s+TT.n || TT.fn == toys.optc || TT.bc == 16) { in do_hexdump() 112 for (i = 0; i < TT.bc; i += adv) { in do_hexdump() 113 block = (FLAG(b) || i == TT.bc in do_hexdump() [all...] |
/third_party/skia/src/gpu/tessellate/ |
H A D | PatchWriter.cpp | 36 float4 bc = mix(p1.xyxy(), p2.xyxy(), T); in chopAndWriteQuads() local 37 float4 abc = mix(ab, bc, T); in chopAndWriteQuads() 39 float4 middle = mix(ab, bc, mix(T, T.zwxy(), 2/3.f)); in chopAndWriteQuads() 49 std::tie(p0, p1) = {abc.hi, bc.hi}; // Save the 3rd quad. in chopAndWriteQuads() 54 float2 bc = (p1 + p2) * .5f; in chopAndWriteQuads() local 55 float2 abc = (ab + bc) * .5f; in chopAndWriteQuads() 61 CubicPatch(*this) << QuadToCubic{abc, bc, p2}; // Write the 2nd quad. in chopAndWriteQuads() 84 float4 bc = mix(h1, h2, T); in chopAndWriteConics() local 85 float4 abc = mix(ab, bc, T); in chopAndWriteConics() 96 std::tie(h0, h1) = {abc, bc}; // Sav in chopAndWriteConics() 118 float4 bc = mix(p1.xyxy(), p2.xyxy(), T); chopAndWriteCubics() local 138 float2 bc = (p1 + p2) * .5f; chopAndWriteCubics() local [all...] |