Home
last modified time | relevance | path

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

/external/pdfium/third_party/libopenjpeg20/
Dmqc_inl.h43 #define opj_mqc_mpsexchange_macro(d, curctx, a) \ argument
45 if (a < (*curctx)->qeval) { \
46 d = !((*curctx)->mps); \
47 *curctx = (*curctx)->nlps; \
49 d = (*curctx)->mps; \
50 *curctx = (*curctx)->nmps; \
55 #define opj_mqc_lpsexchange_macro(d, curctx, a) \ argument
57 if (a < (*curctx)->qeval) { \
58 a = (*curctx)->qeval; \
59 d = (*curctx)->mps; \
[all …]
Dmqc.c233 mqc->a -= (*mqc->curctx)->qeval; in opj_mqc_codemps()
235 if (mqc->a < (*mqc->curctx)->qeval) { in opj_mqc_codemps()
236 mqc->a = (*mqc->curctx)->qeval; in opj_mqc_codemps()
238 mqc->c += (*mqc->curctx)->qeval; in opj_mqc_codemps()
240 *mqc->curctx = (*mqc->curctx)->nmps; in opj_mqc_codemps()
243 mqc->c += (*mqc->curctx)->qeval; in opj_mqc_codemps()
249 mqc->a -= (*mqc->curctx)->qeval; in opj_mqc_codelps()
250 if (mqc->a < (*mqc->curctx)->qeval) { in opj_mqc_codelps()
251 mqc->c += (*mqc->curctx)->qeval; in opj_mqc_codelps()
253 mqc->a = (*mqc->curctx)->qeval; in opj_mqc_codelps()
[all …]
Dt1.c62 #define opj_t1_setcurctx(curctx, ctxno) curctx = &(mqc)->ctxs[(OPJ_UINT32)(ctxno)] argument
414 data_stride, ci, mqc, curctx, \ argument
420 opj_t1_setcurctx(curctx, ctxt1); \
421 opj_mqc_decode_macro(v, mqc, curctx, a, c, ct); \
429 opj_t1_setcurctx(curctx, ctxt2); \
430 opj_mqc_decode_macro(v, mqc, curctx, a, c, ct); \
452 0, ci, mqc, mqc->curctx, in opj_t1_dec_sigpass_step_mqc()
629 DOWNLOAD_MQC_VARIABLES(mqc, curctx, c, a, ct); \
640 l_w, 0, mqc, curctx, v, a, c, ct, oneplushalf, vsc); \
643 l_w, 1, mqc, curctx, v, a, c, ct, oneplushalf, OPJ_FALSE); \
[all …]
Dmqc.h92 const opj_mqc_state_t **curctx; member
137 #define opj_mqc_setcurctx(mqc, ctxno) (mqc)->curctx = &(mqc)->ctxs[(OPJ_UINT32)(ctxno)]
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_rendertexture.c109 struct stw_context *curctx = stw_current_context(); in wglBindTexImageARB() local
133 if (!curctx) { in wglBindTexImageARB()
174 fb->iPixelFormat = curctx->iPixelFormat; in wglBindTexImageARB()
176 retVal = stw_make_current(dc, dc, curctx->dhglrc); in wglBindTexImageARB()
189 retVal = stw_make_current(prevDrawable, prevReadable, curctx->dhglrc); in wglBindTexImageARB()
Dstw_context.c344 struct stw_context *curctx = stw_current_context(); in DrvDeleteContext() local
347 if (curctx == ctx) in DrvDeleteContext()
/external/mesa3d/src/mesa/state_tracker/
Dst_context.c625 GET_CURRENT_CONTEXT(curctx); in st_destroy_context()
627 if (curctx == NULL) { in st_destroy_context()