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
+6 -6
View File
@@ -38,8 +38,8 @@
VAStatus RequestCreateImage(VADriverContextP context, VAImageFormat *format,
int width, int height, VAImage *image)
{
struct cedrus_data *driver_data =
(struct cedrus_data *)context->pDriverData;
struct request_data *driver_data =
(struct request_data *)context->pDriverData;
unsigned int destination_sizes[VIDEO_MAX_PLANES];
unsigned int destination_bytesperlines[VIDEO_MAX_PLANES];
unsigned int destination_planes_count;
@@ -99,8 +99,8 @@ VAStatus RequestCreateImage(VADriverContextP context, VAImageFormat *format,
VAStatus RequestDestroyImage(VADriverContextP context, VAImageID image_id)
{
struct cedrus_data *driver_data =
(struct cedrus_data *)context->pDriverData;
struct request_data *driver_data =
(struct request_data *)context->pDriverData;
struct object_image *image_object;
VAStatus status;
@@ -121,8 +121,8 @@ VAStatus RequestDestroyImage(VADriverContextP context, VAImageID image_id)
VAStatus RequestDeriveImage(VADriverContextP context, VASurfaceID surface_id,
VAImage *image)
{
struct cedrus_data *driver_data =
(struct cedrus_data *)context->pDriverData;
struct request_data *driver_data =
(struct request_data *)context->pDriverData;
struct object_surface *surface_object;
struct object_buffer *buffer_object;
unsigned int i;