Lines Matching refs:ctx
43 AVDXVAContext *ctx,
51 pp->wDecodedPictureIndex = ff_dxva2_get_surface_index(avctx, ctx, current_picture->f);
54 pp->wForwardRefPictureIndex = ff_dxva2_get_surface_index(avctx, ctx, s->last_picture.f);
58 pp->wBackwardRefPictureIndex = ff_dxva2_get_surface_index(avctx, ctx, s->next_picture.f);
109 AVDXVAContext *ctx,
157 AVDXVAContext *ctx = DXVA_CONTEXT(avctx);
171 if (FAILED(ID3D11VideoContext_GetDecoderBuffer(D3D11VA_CONTEXT(ctx)->video_context,
172 D3D11VA_CONTEXT(ctx)->decoder,
181 if (FAILED(IDirectXVideoDecoder_GetBuffer(DXVA2_CONTEXT(ctx)->decoder,
214 if (FAILED(ID3D11VideoContext_ReleaseDecoderBuffer(D3D11VA_CONTEXT(ctx)->video_context, D3D11VA_CONTEXT(ctx)->decoder, type)))
219 if (FAILED(IDirectXVideoDecoder_ReleaseBuffer(DXVA2_CONTEXT(ctx)->decoder, type)))
248 return ff_dxva2_commit_buffer(avctx, ctx, sc,
260 AVDXVAContext *ctx = DXVA_CONTEXT(avctx);
264 if (!DXVA_CONTEXT_VALID(avctx, ctx))
268 fill_picture_parameters(avctx, ctx, s, &ctx_pic->pp);
269 fill_quantization_matrices(avctx, ctx, s, &ctx_pic->qm);