Lines Matching refs:ctx
75 vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats)
83 if (!ctx)
90 pscreen = VL_VA_PSCREEN(ctx);
103 vlVaCreateImage(VADriverContextP ctx, VAImageFormat *format, int width, int height, VAImage *image)
110 if (!ctx)
116 drv = VL_VA_DRIVER(ctx);
186 status = vlVaCreateBuffer(ctx, 0, VAImageBufferType,
197 vlVaDeriveImage(VADriverContextP ctx, VASurfaceID surface, VAImage *image)
230 if (!ctx)
233 drv = VL_VA_DRIVER(ctx);
238 screen = VL_VA_PSCREEN(ctx);
419 img->buf = handle_table_add(VL_VA_DRIVER(ctx)->htab, img_buf);
433 vlVaDestroyImage(VADriverContextP ctx, VAImageID image)
439 if (!ctx)
442 drv = VL_VA_DRIVER(ctx);
450 handle_table_remove(VL_VA_DRIVER(ctx)->htab, image);
452 status = vlVaDestroyBuffer(ctx, vaimage->buf);
458 vlVaSetImagePalette(VADriverContextP ctx, VAImageID image, unsigned char *palette)
460 if (!ctx)
467 vlVaGetImage(VADriverContextP ctx, VASurfaceID surface, int x, int y,
480 if (!ctx)
483 drv = VL_VA_DRIVER(ctx);
610 vlVaPutImage(VADriverContextP ctx, VASurfaceID surface, VAImageID image,
623 if (!ctx)
626 drv = VL_VA_DRIVER(ctx);