Home
last modified time | relevance | path

Searched refs:curctx (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dmqc.c247 mqc->a -= (*mqc->curctx)->qeval; in opj_mqc_codemps()
249 if (mqc->a < (*mqc->curctx)->qeval) { in opj_mqc_codemps()
250 mqc->a = (*mqc->curctx)->qeval; in opj_mqc_codemps()
252 mqc->c += (*mqc->curctx)->qeval; in opj_mqc_codemps()
254 *mqc->curctx = (*mqc->curctx)->nmps; in opj_mqc_codemps()
257 mqc->c += (*mqc->curctx)->qeval; in opj_mqc_codemps()
262 mqc->a -= (*mqc->curctx)->qeval; in opj_mqc_codelps()
263 if (mqc->a < (*mqc->curctx)->qeval) { in opj_mqc_codelps()
264 mqc->c += (*mqc->curctx)->qeval; in opj_mqc_codelps()
266 mqc->a = (*mqc->curctx)->qeval; in opj_mqc_codelps()
[all …]
Dmqc.h79 opj_mqc_state_t **curctx; member
129 #define opj_mqc_setcurctx(mqc, ctxno) (mqc)->curctx = &(mqc)->ctxs[(OPJ_UINT32)(ctxno)]
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_context.c252 struct stw_context *curctx = stw_current_context(); in DrvDeleteContext() local
255 if (curctx == ctx) in DrvDeleteContext()
326 struct stw_context *curctx = NULL; in stw_make_current() local
334 curctx = stw_current_context(); in stw_make_current()
335 if (curctx != NULL) { in stw_make_current()
336 if (curctx->dhglrc == dhglrc) { in stw_make_current()
337 if (curctx->hdc == hdc) { in stw_make_current()
342 curctx->st->flush(curctx->st, ST_FLUSH_FRONT, NULL); in stw_make_current()
401 if (curctx && curctx != ctx) { in stw_make_current()
402 stw_framebuffer_reference(&curctx->current_framebuffer, NULL); in stw_make_current()