Lines Matching refs:ctx
39 vlVaCreateBuffer(VADriverContextP ctx, VAContextID context, VABufferType type,
46 if (!ctx)
66 drv = VL_VA_DRIVER(ctx);
75 vlVaBufferSetNumElements(VADriverContextP ctx, VABufferID buf_id,
81 if (!ctx)
84 drv = VL_VA_DRIVER(ctx);
105 vlVaMapBuffer(VADriverContextP ctx, VABufferID buf_id, void **pbuff)
110 if (!ctx)
113 drv = VL_VA_DRIVER(ctx);
169 vlVaUnmapBuffer(VADriverContextP ctx, VABufferID buf_id)
175 if (!ctx)
178 drv = VL_VA_DRIVER(ctx);
213 vlVaDestroyBuffer(VADriverContextP ctx, VABufferID buf_id)
218 if (!ctx)
221 drv = VL_VA_DRIVER(ctx);
238 handle_table_remove(VL_VA_DRIVER(ctx)->htab, buf_id);
245 vlVaBufferInfo(VADriverContextP ctx, VABufferID buf_id, VABufferType *type,
251 if (!ctx)
254 drv = VL_VA_DRIVER(ctx);
269 vlVaAcquireBufferHandle(VADriverContextP ctx, VABufferID buf_id,
284 if (!ctx)
287 drv = VL_VA_DRIVER(ctx);
288 screen = VL_VA_PSCREEN(ctx);
290 buf = handle_table_get(VL_VA_DRIVER(ctx)->htab, buf_id);
365 vlVaReleaseBufferHandle(VADriverContextP ctx, VABufferID buf_id)
370 if (!ctx)
373 drv = VL_VA_DRIVER(ctx);