Home
last modified time | relevance | path

Searched refs:ctx0 (Results 1 – 13 of 13) sorted by relevance

/external/igt-gpu-tools/tests/i915/
Dgem_spin_batch.c76 const uint32_t ctx0 = gem_context_create(fd); in spin_resubmit() local
78 gem_context_create(fd) : ctx0; in spin_resubmit()
79 igt_spin_t *spin = __igt_spin_new(fd, .ctx = ctx0, .engine = e2->flags); in spin_resubmit()
92 gem_context_set_all_engines(fd, ctx0); in spin_resubmit()
93 if (ctx0 != ctx1) in spin_resubmit()
114 if (ctx1 != ctx0) in spin_resubmit()
117 gem_context_destroy(fd, ctx0); in spin_resubmit()
Dgem_eio.c723 static void reset_stress(int fd, uint32_t ctx0, in reset_stress() argument
760 hang = spin_sync(fd, ctx0, engine); in reset_stress()
766 execbuf.rsvd1 = ctx0; in reset_stress()
788 execbuf.rsvd1 = ctx0; in reset_stress()
807 uint32_t ctx0 = context_create_safe(fd); in test_reset_stress() local
811 reset_stress(fd, ctx0, e__->name, engine, flags); in test_reset_stress()
813 gem_context_destroy(fd, ctx0); in test_reset_stress()
/external/webp/src/dsp/
Dcost_mips_dsp_r2.c18 static int GetResidualCost_MIPSdspR2(int ctx0, const VP8Residual* const res) { in GetResidualCost_MIPSdspR2() argument
23 int p0 = res->prob[n][ctx0][0]; in GetResidualCost_MIPSdspR2()
25 const uint16_t* t = costs[n][ctx0]; in GetResidualCost_MIPSdspR2()
29 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost_MIPSdspR2()
Dcost.c322 static int GetResidualCost_C(int ctx0, const VP8Residual* const res) { in GetResidualCost_C() argument
325 const int p0 = res->prob[n][ctx0][0]; in GetResidualCost_C()
327 const uint16_t* t = costs[n][ctx0]; in GetResidualCost_C()
331 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost_C()
Dcost_mips32.c18 static int GetResidualCost_MIPS32(int ctx0, const VP8Residual* const res) { in GetResidualCost_MIPS32() argument
23 int p0 = res->prob[n][ctx0][0]; in GetResidualCost_MIPS32()
25 const uint16_t* t = costs[n][ctx0]; in GetResidualCost_MIPS32()
29 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost_MIPS32()
Dcost_sse2.c45 static int GetResidualCost_SSE2(int ctx0, const VP8Residual* const res) { in GetResidualCost_SSE2() argument
50 const int p0 = res->prob[n][ctx0][0]; in GetResidualCost_SSE2()
52 const uint16_t* t = costs[n][ctx0]; in GetResidualCost_SSE2()
56 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost_SSE2()
Dcost_neon.c51 static int GetResidualCost_NEON(int ctx0, const VP8Residual* const res) { in GetResidualCost_NEON() argument
56 const int p0 = res->prob[n][ctx0][0]; in GetResidualCost_NEON()
58 const uint16_t* t = costs[n][ctx0]; in GetResidualCost_NEON()
62 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost_NEON()
Ddsp.h328 typedef int (*VP8GetResidualCostFunc)(int ctx0,
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c324 const int ctx0 = vp9_get_pred_context_single_ref_p1(xd); in read_ref_frames() local
325 const int bit0 = vpx_read(r, fc->single_ref_prob[ctx0][0]); in read_ref_frames()
326 if (counts) ++counts->single_ref[ctx0][0][bit0]; in read_ref_frames()
/external/webp/src/enc/
Dquant_enc.c590 int ctx0, int coeff_type, in TrellisQuantizeBlock() argument
608 const int last_proba = probas[VP8EncBands[first]][ctx0][0]; in TrellisQuantizeBlock()
630 const score_t rate = (ctx0 == 0) ? VP8BitCost(1, last_proba) : 0; in TrellisQuantizeBlock()
632 ss_cur[m].costs = costs[first][ctx0]; in TrellisQuantizeBlock()
/external/libaom/libaom/av1/encoder/
Dinterp_search.c450 const int ctx0 = av1_get_pred_context_switchable_interp(xd, 0); in find_best_non_dual_interp_filter() local
453 cpi->frame_probs.switchable_interp_probs[update_type][ctx0]; in find_best_non_dual_interp_filter()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.c106 const int ctx0 = ctx; in vp9_optimize_b() local
127 rate0 = (*token_costs_cur)[0][ctx0][EOB_TOKEN]; in vp9_optimize_b()
/external/virglrenderer/src/
Dvrend_renderer.c344 struct vrend_context *ctx0; member
6227 vrend_state.ctx0 = vrend_create_context(0, strlen("HOST"), "HOST"); in vrend_renderer_init()
6257 vrend_destroy_context(vrend_state.ctx0); in vrend_renderer_fini()
8142 return vrend_renderer_transfer_internal(vrend_state.ctx0, res, info, in vrend_renderer_transfer_pipe()
10545 vrend_hw_switch_context(vrend_state.ctx0, true); in vrend_renderer_force_ctx_0()
10797 vrend_hw_switch_context(vrend_state.ctx0, true); in vrend_renderer_prepare_reset()
10805 vrend_destroy_context(vrend_state.ctx0); in vrend_renderer_reset()
10807 vrend_state.ctx0 = vrend_create_context(0, strlen("HOST"), "HOST"); in vrend_renderer_reset()
11025 return vrend_renderer_create_fence(vrend_state.ctx0, in vrend_renderer_create_ctx0_fence()
11038 if (iter->ctx != vrend_state.ctx0) in find_ctx0_fence_locked()