Lines Matching refs:ctx
43 AVDXVAContext *ctx, const VC1Context *v,
60 pp->wDeblockedPictureIndex = ff_dxva2_get_surface_index(avctx, ctx, current_picture->f);
62 pp->wForwardRefPictureIndex = ff_dxva2_get_surface_index(avctx, ctx, s->last_picture.f);
66 pp->wBackwardRefPictureIndex = ff_dxva2_get_surface_index(avctx, ctx, s->next_picture.f);
91 ((DXVA_CONTEXT_CFG_INTRARESID(avctx, ctx) != 0) << 6) |
92 ((DXVA_CONTEXT_CFG_RESIDACCEL(avctx, ctx) != 0) << 5) |
100 DXVA_CONTEXT_REPORT_ID(avctx, ctx)++;
101 if (DXVA_CONTEXT_REPORT_ID(avctx, ctx) >= (1 << 16))
102 DXVA_CONTEXT_REPORT_ID(avctx, ctx) = 1;
103 pp->bPicScanFixed = DXVA_CONTEXT_REPORT_ID(avctx, ctx) >> 8;
104 pp->bPicScanMethod = DXVA_CONTEXT_REPORT_ID(avctx, ctx) & 0xff;
190 AVDXVAContext *ctx = DXVA_CONTEXT(avctx);
208 if (FAILED(ID3D11VideoContext_GetDecoderBuffer(D3D11VA_CONTEXT(ctx)->video_context,
209 D3D11VA_CONTEXT(ctx)->decoder,
218 if (FAILED(IDirectXVideoDecoder_GetBuffer(DXVA2_CONTEXT(ctx)->decoder,
271 if (FAILED(ID3D11VideoContext_ReleaseDecoderBuffer(D3D11VA_CONTEXT(ctx)->video_context, D3D11VA_CONTEXT(ctx)->decoder, type)))
276 if (FAILED(IDirectXVideoDecoder_ReleaseBuffer(DXVA2_CONTEXT(ctx)->decoder, type)))
305 return ff_dxva2_commit_buffer(avctx, ctx, sc,
317 AVDXVAContext *ctx = DXVA_CONTEXT(avctx);
320 if (!DXVA_CONTEXT_VALID(avctx, ctx))
324 fill_picture_parameters(avctx, ctx, v, &ctx_pic->pp);