return VA_STATUS_SUCCESS;
}
-VAStatus dummy_QueryConfigAttributes(
+VAStatus dummy_GetConfigAttributes(
VADriverContextP ctx,
VAProfile profile,
VAEntrypoint entrypoint,
return VA_STATUS_SUCCESS;
}
-VAStatus dummy_GetConfigAttributes(
+VAStatus dummy_QueryConfigAttributes(
VADriverContextP ctx,
VAConfigID config_id,
VAProfile *profile, /* out */
return ctx->vtable.vaQueryConfigEntrypoints ( ctx, profile, entrypoints, num_entrypoints);
}
-VAStatus vaQueryConfigAttributes (
+VAStatus vaGetConfigAttributes (
VADisplay dpy,
VAProfile profile,
VAEntrypoint entrypoint,
VADriverContextP ctx = CTX(dpy);
ASSERT_CONTEXT(ctx);
- TRACE(vaQueryConfigAttributes);
- return ctx->vtable.vaQueryConfigAttributes ( ctx, profile, entrypoint, attrib_list, num_attribs );
+ TRACE(vaGetConfigAttributes);
+ return ctx->vtable.vaGetConfigAttributes ( ctx, profile, entrypoint, attrib_list, num_attribs );
}
VAStatus vaQueryConfigProfiles (
return ctx->vtable.vaDestroyConfig ( ctx, config_id );
}
-VAStatus vaGetConfigAttributes (
+VAStatus vaQueryConfigAttributes (
VADisplay dpy,
VAConfigID config_id,
VAProfile *profile, /* out */
VADriverContextP ctx = CTX(dpy);
ASSERT_CONTEXT(ctx);
- TRACE(vaGetConfigAttributes);
- return ctx->vtable.vaGetConfigAttributes( ctx, config_id, profile, entrypoint, attrib_list, num_attribs);
+ TRACE(vaQueryConfigAttributes);
+ return ctx->vtable.vaQueryConfigAttributes( ctx, config_id, profile, entrypoint, attrib_list, num_attribs);
}
VAStatus vaCreateSurfaces (
);
/*
- * Query attributes for a given profile/entrypoint pair
+ * Get attributes for a given profile/entrypoint pair
* The caller must provide an \93attrib_list\94 with all attributes to be
* queried. Upon return, the attributes in \93attrib_list\94 have been
* updated with their value. Unknown attributes or attributes that are
* not supported for the given profile/entrypoint pair will have their
* value set to VA_ATTRIB_NOT_SUPPORTED
*/
-VAStatus vaQueryConfigAttributes (
+VAStatus vaGetConfigAttributes (
VADisplay dpy,
VAProfile profile,
VAEntrypoint entrypoint,
);
/*
- * Get all attributes for a given configuration
+ * Query all attributes for a given configuration
* The profile of the configuration is returned in \93profile\94
* The entrypoint of the configuration is returned in \93entrypoint\94
* The caller must provide an \93attrib_list\94 array that can hold at least
* vaMaxNumConfigAttributes() entries. The actual number of attributes
* returned in \93attrib_list\94 is returned in \93num_attribs\94
*/
-VAStatus vaGetConfigAttributes (
+VAStatus vaQueryConfigAttributes (
VADisplay dpy,
VAConfigID config_id,
VAProfile *profile, /* out */
/* Assuming finding VLD, find out the format for the render target */
VAConfigAttrib attrib;
attrib.type = VAConfigAttribRTFormat;
- vaQueryConfigAttributes(dpy, VAProfileMPEG2Main, VAEntrypointVLD,
+ vaGetConfigAttributes(dpy, VAProfileMPEG2Main, VAEntrypointVLD,
&attrib, 1);
if (attrib.value & VA_RT_FORMAT_YUV420)
int *num_entrypoints /* out */
);
- VAStatus (*vaQueryConfigAttributes) (
+ VAStatus (*vaGetConfigAttributes) (
VADriverContextP ctx,
VAProfile profile,
VAEntrypoint entrypoint,
VAConfigID config_id
);
- VAStatus (*vaGetConfigAttributes) (
+ VAStatus (*vaQueryConfigAttributes) (
VADriverContextP ctx,
VAConfigID config_id,
VAProfile *profile, /* out */