/third_party/ffmpeg/libavcodec/ |
H A D | atrac3plus.c | 618 : (pred + get_vlc2(gb, delta_vlc->table, \ 620 pred = chan->qu_tab_idx[i] 638 int i, num_vals, num_bits, pred; in decode_channel_code_tab() local 664 pred = 0; in decode_channel_code_tab() 979 int sb, i, delta, delta_bits, min_val, pred; in decode_gainc_levels() local 995 pred = (i >= ref_chan->gain_data[sb].num_points) in decode_gainc_levels() 997 chan->gain_data[sb].lev_code[i] = (pred + delta) & 0xF; in decode_gainc_levels() 1022 pred = (i >= chan->gain_data[sb - 1].num_points) in decode_gainc_levels() 1024 chan->gain_data[sb].lev_code[i] = (pred + delta) & 0xF; in decode_gainc_levels() 1117 int sb, i, delta, delta_bits, min_val, pred, more_than_re in decode_gainc_loc_codes() local 1418 int sb, i, direction, nbits, pred, delta; decode_tones_frequency() local 1478 int mode, sb, j, i, diff, maxdiff, fi, delta, pred; decode_tones_amplitude() local [all...] |
H A D | g723_1.c | 1276 int min_dist, pred; in ff_g723_1_inverse_quant() local 1282 pred = 12288; in ff_g723_1_inverse_quant() 1285 pred = 23552; in ff_g723_1_inverse_quant() 1303 temp = ((prev_lsp[i] - dc_lsp[i]) * pred + (1 << 14)) >> 15; in ff_g723_1_inverse_quant()
|
H A D | pngenc.c | 199 int pred = s->filter_type; in png_choose_filter() local 200 av_assert0(bpp || !pred); in png_choose_filter() 201 if (!top && pred) in png_choose_filter() 202 pred = PNG_FILTER_VALUE_SUB; in png_choose_filter() 203 if (pred == PNG_FILTER_VALUE_MIXED) { in png_choose_filter() 207 for (pred = 0; pred < 5; pred++) { in png_choose_filter() 208 png_filter_row(s, buf1 + 1, pred, src, top, size, bpp); in png_choose_filter() 209 buf1[0] = pred; in png_choose_filter() [all...] |
H A D | wmv2enc.c | 198 int val, pred; in ff_wmv2_encode_mb() local 203 pred = ff_msmpeg4_coded_block_pred(s, i, &coded_block); in ff_wmv2_encode_mb() 205 val = val ^ pred; in ff_wmv2_encode_mb()
|
H A D | magicyuv.c | 134 int flags, pred; in magy_decode_slice10() local 142 pred = get_bits(&gb, 8); in magy_decode_slice10() 171 switch (pred) { in magy_decode_slice10() 222 avpriv_request_sample(avctx, "Unknown prediction: %d", pred); in magy_decode_slice10() 265 int flags, pred; in magy_decode_slice() local 268 pred = bytestream_get_byte(&slice); in magy_decode_slice() 300 switch (pred) { in magy_decode_slice() 355 avpriv_request_sample(avctx, "Unknown prediction: %d", pred); in magy_decode_slice()
|
H A D | msmpeg4dec.c | 77 static int msmpeg4v2_decode_motion(MpegEncContext * s, int pred, int f_code) in msmpeg4v2_decode_motion() argument 82 ff_dlog(s, "MV code %d at %d %d pred: %d\n", code, s->mb_x,s->mb_y, pred); in msmpeg4v2_decode_motion() 87 return pred; in msmpeg4v2_decode_motion() 99 val += pred; in msmpeg4v2_decode_motion() 249 int pred = ff_msmpeg4_coded_block_pred(s, i, &coded_val); in msmpeg4v34_decode_mb() local 250 val = val ^ pred; in msmpeg4v34_decode_mb() 594 int level, pred; in msmpeg4_decode_dc() local 627 pred = msmpeg4v1_pred_dc(s, n, &dc_val); in msmpeg4_decode_dc() 628 level += pred; in msmpeg4_decode_dc() [all...] |
H A D | lossless_videoencdsp.c | 67 const int pred = mid_pred(l, src1[i], (l + src1[i] - lt) & 0xFF); in sub_median_pred_c() local 70 dst[i] = l - pred; in sub_median_pred_c()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | scheduler.cc | 1031 BasicBlock* pred = block->PredecessorAt(j); in ComputeLoopInfo() local 1032 if (pred != header) { in ComputeLoopInfo() 1033 if (!loops_[loop_num].members->Contains(pred->id().ToInt())) { in ComputeLoopInfo() 1034 loops_[loop_num].members->Add(pred->id().ToInt()); in ComputeLoopInfo() 1035 (*queue)[queue_length++].block = pred; in ComputeLoopInfo() 1264 auto pred = block->predecessors().begin(); in PropagateImmediateDominators() local 1266 DCHECK(pred != end); // All blocks except start have predecessors. in PropagateImmediateDominators() 1267 BasicBlock* dominator = *pred; in PropagateImmediateDominators() 1276 for (++pred; pred ! in PropagateImmediateDominators() [all...] |
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | move-optimizer.cc | 378 const InstructionBlock* pred = code()->InstructionBlockAt(pred_index); in OptimizeMerge() local 383 if (pred->SuccessorCount() > 1) return; in OptimizeMerge() 386 code()->instructions()[pred->last_instruction_index()]; in OptimizeMerge() 400 const InstructionBlock* pred = code()->InstructionBlockAt(pred_index); in OptimizeMerge() local 401 const Instruction* instr = LastInstruction(pred); in OptimizeMerge() 476 const InstructionBlock* pred = code()->InstructionBlockAt(pred_index); in OptimizeMerge() local 477 for (MoveOperands* move : *LastInstruction(pred)->parallel_moves()[0]) { in OptimizeMerge()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_gs_intrinsics.c | 284 nir_block *pred = (nir_block *) entry->key; in append_set_vertex_and_primitive_count() local 285 b->cursor = nir_after_block_before_jump(pred); in append_set_vertex_and_primitive_count() 334 nir_block *pred = (nir_block *) entry->key; in a_block_needs_set_vertex_and_primitive_count() local 344 nir_foreach_instr_reverse(instr, pred) { in a_block_needs_set_vertex_and_primitive_count()
|
H A D | nir_lower_phis_to_scalar.c | 246 nir_instr *pred_last_instr = nir_block_last_instr(src->pred); in lower_phis_to_scalar_block() 250 nir_instr_insert_after_block(src->pred, &mov->instr); in lower_phis_to_scalar_block() 252 nir_phi_instr_add_src(new_phi, src->pred, nir_src_for_ssa(&mov->dest.dest.ssa)); in lower_phis_to_scalar_block()
|
H A D | nir_opt_conditional_discard.c | 72 if (phi_src->pred == then_block || in nir_opt_conditional_discard_block() 73 phi_src->pred == else_block) in nir_opt_conditional_discard_block()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | filters_mips_dsp_r2.c | 123 "ulw %[temp2], 0(%[pred]) \n\t" \ 125 "ulw %[temp4], 4(%[pred]) \n\t" \ 134 "addiu %[pred], %[pred], 8 \n\t" \ 145 "lbu %[temp2], 0(%[pred]) \n\t" \ 147 "addiu %[pred], %[pred], 1 \n\t" \ 161 [temp6]"=&r"(temp6), [temp7]"=&r"(temp7), [pred]"+&r"(ppred), \ 172 "lbu %[temp2], 0(%[pred]) \n\t" \ 176 : [pred]" [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | CloneFunction.cpp | 533 for (unsigned pred = 0, e = NumPreds; pred != e; ++pred) { in CloneAndPruneIntoFromInst() 534 Value *V = VMap.lookup(PN->getIncomingBlock(pred)); in CloneAndPruneIntoFromInst() 536 Value *InVal = MapValue(PN->getIncomingValue(pred), in CloneAndPruneIntoFromInst() 540 PN->setIncomingValue(pred, InVal); in CloneAndPruneIntoFromInst() 541 PN->setIncomingBlock(pred, MappedBlock); in CloneAndPruneIntoFromInst() 543 PN->removeIncomingValue(pred, false); in CloneAndPruneIntoFromInst() 544 --pred; // Revisit the next entry. in CloneAndPruneIntoFromInst() 699 // Move all the instructions in the succ to the pred in CloneAndPruneIntoFromInst() [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | ir2_nir.c | 286 instr->pred = ctx->pred; in ir2_instr_create() 931 unsigned pred = ctx->pred, pred_idx = ctx->pred_idx; in emit_if() local 944 instr->pred = 0; in emit_if() 947 if (pred) { in emit_if() 959 ctx->pred = 3; in emit_if() 964 * and if the else branch is simple, can just flip ctx->pred instead in emit_if() 974 instr->pred = 0; in emit_if() 980 if (pred) { in emit_if() [all...] |
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bi_scoreboard.c | 252 /* pending_in[s] = sum { p in pred[s] } ( pending_out[p] ) */ in scoreboard_block_update() 253 bi_foreach_predecessor(blk, pred) { in scoreboard_block_update() 255 blk->scoreboard_in.read[i] |= (*pred)->scoreboard_out.read[i]; in scoreboard_block_update() 256 blk->scoreboard_in.write[i] |= (*pred)->scoreboard_out.write[i]; in scoreboard_block_update()
|
/third_party/skia/src/utils/ |
H A D | SkPolyUtils.cpp | 715 ActiveEdge* pred = nullptr; in insert() local 722 if ((pred && pred->intersect(p0, v, index0, index1)) || in insert() 732 curr->fAbove = pred; in insert() 734 if (pred) { in insert() 735 pred->fBelow = curr; in insert() 780 pred = curr; in insert() 840 ActiveEdge* pred = found->fAbove; in replace() local 843 if (pred && (pred in replace() 931 ActiveEdge* pred = found->fAbove; remove() local [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_spill.cpp | 476 for (unsigned pred : block.linear_preds) in get_live_in_demand() 478 std::max<int16_t>(reg_pressure.sgpr, ctx.register_demand[pred].back().sgpr); in get_live_in_demand() 853 for (ASSERTED unsigned pred : block->linear_preds) in add_coupling_code() 854 assert(ctx.processed[pred]); in add_coupling_code() 914 Block& pred = ctx.program->blocks[pred_idx]; in add_coupling_code() local 915 unsigned idx = pred.instructions.size(); in add_coupling_code() 920 pred.instructions[idx]->opcode != aco_opcode::p_logical_end); in add_coupling_code() 921 std::vector<aco_ptr<Instruction>>::iterator it = std::next(pred.instructions.begin(), idx); in add_coupling_code() 922 pred.instructions.insert(it, std::move(spill)); in add_coupling_code() 972 Block& pred in add_coupling_code() local 1018 Block& pred = ctx.program->blocks[pred_idx]; add_coupling_code() local 1069 Block& pred = ctx.program->blocks[pred_idx]; add_coupling_code() local [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
H A D | ppir.h | 148 void *pred, *succ; member 444 void ppir_node_add_dep(ppir_node *succ, ppir_node *pred, ppir_dep_type type); 451 ppir_dep *ppir_dep_for_pred(ppir_node *node, ppir_node *pred); 485 return list_first_entry(&node->pred_list, ppir_dep, pred_link)->pred; in ppir_node_first_pred() 710 void ppir_instr_add_dep(ppir_instr *succ, ppir_instr *pred);
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | scheduler.h | 144 // a call to notify() and the predicate pred returns true. 145 // If the predicate pred does not return true when notify() is called, then 153 // pred will be always be called with the lock held. 156 void wait(marl::lock& lock, const Predicate& pred); 159 // a call to notify() and the predicate pred returns true, or sometime after 161 // If the predicate pred does not return true when notify() is called, then 170 // pred will be always be called with the lock held. 176 const Predicate& pred); 346 // wait() suspends execution of the current task until the predicate pred 350 bool wait(marl::lock& lock, const TimePoint* timeout, const Predicate& pred) 549 wait( marl::lock& lock, const std::chrono::time_point<Clock, Duration>& timeout, const Predicate& pred) wait() argument [all...] |
/third_party/ffmpeg/libavcodec/loongarch/ |
H A D | h264idct_lasx.c | 240 __m256i pred, out; in ff_h264_idct4x4_addblk_dc_lasx() local 249 pred = __lasx_xvpermi_q(src0, src1, 0x02); in ff_h264_idct4x4_addblk_dc_lasx() 250 pred = __lasx_xvaddw_h_h_bu(input_dc, pred); in ff_h264_idct4x4_addblk_dc_lasx() 251 pred = __lasx_xvclip255_h(pred); in ff_h264_idct4x4_addblk_dc_lasx() 252 out = __lasx_xvpickev_b(pred, pred); in ff_h264_idct4x4_addblk_dc_lasx()
|
/third_party/ffmpeg/tests/fate/ |
H A D | aac.mak | 226 FATE_AAC_ENCODE += fate-aac-pred-encode 227 fate-aac-pred-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -profile:a aac_main -c:a aac -aac_coder fast -aac_is 0 -aac_pns 0 -aac_ms 0 -aac_tns 0 -b:a 128k -cutoff 22050 -fflags +bitexact -flags +bitexact 228 fate-aac-pred-encode: CMP = stddev 229 fate-aac-pred-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav 230 fate-aac-pred-encode: CMP_SHIFT = -4096 231 fate-aac-pred-encode: CMP_TARGET = 662 232 fate-aac-pred-encode: FUZZ = 12 233 fate-aac-pred-encode: SIZE_TOLERANCE = 3560
|
/third_party/mesa3d/src/compiler/nir/tests/ |
H A D | lower_returns_tests.cpp | 54 nir_phi_instr *create_one_source_phi(nir_shader *shader, nir_block *pred, in create_one_source_phi() argument 59 nir_phi_instr_add_src(phi, pred, nir_src_for_ssa(def)); in create_one_source_phi()
|
/third_party/mesa3d/src/panfrost/util/ |
H A D | pan_liveness.c | 150 pan_foreach_predecessor(blk, pred) in pan_compute_liveness() 151 _mesa_set_add(work_list, pred); in pan_compute_liveness()
|
/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
H A D | structured_construct_to_block_reduction_opportunity_finder.cpp | 171 for (auto pred : context->cfg()->preds(block.id())) { in HasUnreachablePredecessor() 172 if (!context->IsReachable(*context->cfg()->block(pred))) { in HasUnreachablePredecessor()
|