tree: Rename cedrus_data to request_data

The cedrus_data structure carries the old name. In order to migrate to the
new name, let's rename it to request_data.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
Maxime Ripard
2018-07-17 16:21:50 +02:00
parent 4ad990e087
commit 111f5b209a
13 changed files with 61 additions and 61 deletions
+8 -8
View File
@@ -41,8 +41,8 @@ VAStatus RequestCreateConfig(VADriverContextP context, VAProfile profile,
VAConfigAttrib *attributes, int attributes_count,
VAConfigID *config_id)
{
struct cedrus_data *driver_data =
(struct cedrus_data *)context->pDriverData;
struct request_data *driver_data =
(struct request_data *)context->pDriverData;
struct object_config *config_object;
VAConfigID id;
int i, index;
@@ -91,8 +91,8 @@ VAStatus RequestCreateConfig(VADriverContextP context, VAProfile profile,
VAStatus RequestDestroyConfig(VADriverContextP context, VAConfigID config_id)
{
struct cedrus_data *driver_data =
(struct cedrus_data *)context->pDriverData;
struct request_data *driver_data =
(struct request_data *)context->pDriverData;
struct object_config *config_object;
config_object = CONFIG(driver_data, config_id);
@@ -108,8 +108,8 @@ VAStatus RequestDestroyConfig(VADriverContextP context, VAConfigID config_id)
VAStatus RequestQueryConfigProfiles(VADriverContextP context,
VAProfile *profiles, int *profiles_count)
{
struct cedrus_data *driver_data =
(struct cedrus_data *)context->pDriverData;
struct request_data *driver_data =
(struct request_data *)context->pDriverData;
unsigned int index = 0;
bool found;
@@ -168,8 +168,8 @@ VAStatus RequestQueryConfigAttributes(VADriverContextP context,
VAConfigAttrib *attributes,
int *attributes_count)
{
struct cedrus_data *driver_data =
(struct cedrus_data *)context->pDriverData;
struct request_data *driver_data =
(struct request_data *)context->pDriverData;
struct object_config *config_object;
int i;