Lines Matching refs:dec_ctx
51 static struct vrend_decode_ctx *dec_ctx[VREND_MAX_CTX]; variable
1234 dctx = dec_ctx[handle]; in vrend_renderer_context_create_internal()
1250 dec_ctx[handle] = dctx; in vrend_renderer_context_create_internal()
1279 ctx = dec_ctx[handle]; in vrend_renderer_context_destroy()
1282 dec_ctx[handle] = NULL; in vrend_renderer_context_destroy()
1287 vrend_hw_switch_context(dec_ctx[0]->grctx, true); in vrend_renderer_context_destroy()
1295 if (dec_ctx[ctx_id] == NULL) in vrend_lookup_renderer_ctx()
1298 return dec_ctx[ctx_id]->grctx; in vrend_lookup_renderer_ctx()
1309 if (dec_ctx[ctx_id] == NULL) in vrend_decode_block()
1312 gdctx = dec_ctx[ctx_id]; in vrend_decode_block()
1473 vrend_hw_switch_context(dec_ctx[0]->grctx, true); in vrend_decode_reset()
1477 if (!dec_ctx[i]) in vrend_decode_reset()
1480 if (!dec_ctx[i]->grctx) in vrend_decode_reset()
1483 vrend_destroy_context(dec_ctx[i]->grctx); in vrend_decode_reset()
1484 free(dec_ctx[i]); in vrend_decode_reset()
1485 dec_ctx[i] = NULL; in vrend_decode_reset()
1488 vrend_destroy_context(dec_ctx[0]->grctx); in vrend_decode_reset()
1489 free(dec_ctx[0]); in vrend_decode_reset()
1490 dec_ctx[0] = NULL; in vrend_decode_reset()