summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@intel.com>2009-06-13 06:57:30 +0800
committerAustin Yuan <shengquan.yuan@intel.com>2009-06-13 06:57:30 +0800
commit7819bc53549feffe34c917f4138320a0e92ab10f (patch)
treec83428d6d1a9c548a94afbda4ea22a4a8778d14c
parent36bfd6d53bece5f9be629f606df8d1937e535ca0 (diff)
remove vaSetSubpicturePalette
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
-rw-r--r--src/va.c20
-rwxr-xr-xsrc/va_backend.h11
2 files changed, 0 insertions, 31 deletions
diff --git a/src/va.c b/src/va.c
index 70dd90c..60ecb4f 100644
--- a/src/va.c
+++ b/src/va.c
@@ -215,7 +215,6 @@ static VAStatus va_openDriver(VADisplay dpy, char *driver_name)
CHECK_VTABLE(vaStatus, ctx, CreateSubpicture);
CHECK_VTABLE(vaStatus, ctx, DestroySubpicture);
CHECK_VTABLE(vaStatus, ctx, SetSubpictureImage);
- CHECK_VTABLE(vaStatus, ctx, SetSubpicturePalette);
CHECK_VTABLE(vaStatus, ctx, SetSubpictureChromakey);
CHECK_VTABLE(vaStatus, ctx, SetSubpictureGlobalAlpha);
CHECK_VTABLE(vaStatus, ctx, AssociateSubpicture);
@@ -1046,25 +1045,6 @@ VAStatus vaSetSubpictureImage (
return ctx->vtable.vaSetSubpictureImage ( ctx, subpicture, image);
}
-#warning TODO: Remove vaSetSubpicturePalette in rev 0.29
-VAStatus vaSetSubpicturePalette (
- VADisplay dpy,
- VASubpictureID subpicture,
- /*
- * pointer to an array holding the palette data. The size of the array is
- * num_palette_entries * entry_bytes in size. The order of the components
- * in the palette is described by the component_order in VASubpicture struct
- */
- unsigned char *palette
-)
-{
- VADriverContextP ctx;
- CHECK_DISPLAY(dpy);
- ctx = CTX(dpy);
-
- TRACE(vaSetSubpicturePalette);
- return ctx->vtable.vaSetSubpicturePalette ( ctx, subpicture, palette);
-}
/*
* If chromakey is enabled, then the area where the source value falls within
diff --git a/src/va_backend.h b/src/va_backend.h
index 5d0785c..c411201 100755
--- a/src/va_backend.h
+++ b/src/va_backend.h
@@ -303,17 +303,6 @@ struct VADriverVTable
VAImageID image
);
- VAStatus (*vaSetSubpicturePalette) (
- VADriverContextP ctx,
- VASubpictureID subpicture,
- /*
- * pointer to an array holding the palette data. The size of the array is
- * num_palette_entries * entry_bytes in size. The order of the components
- * in the palette is described by the component_order in VASubpicture struct
- */
- unsigned char *palette
- );
-
VAStatus (*vaSetSubpictureChromakey) (
VADriverContextP ctx,
VASubpictureID subpicture,