diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2016-10-25 15:32:49 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2016-11-18 16:26:58 +0800 |
commit | 9312be8f9cf31f5f0d981e6d55f5d1c21ebabf70 (patch) | |
tree | 39b66ab201ced149111c878ece4444a8a60b72bb | |
parent | 05ef1b85ccce0a2648da2c02be6378f640264ea0 (diff) |
Rename i965_gpe_dri_object_to_2d_gpe_resource() to i965_dri_object_to_2d_gpe_resource()
Like as i965_dri_object_to_buffer_gpe_resource(), use i965_ instead of i965_gpe_ as prefix
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
-rw-r--r-- | src/gen9_post_processing.c | 2 | ||||
-rw-r--r-- | src/gen9_vp9_encoder.c | 2 | ||||
-rw-r--r-- | src/i965_gpe_utils.c | 10 | ||||
-rw-r--r-- | src/i965_gpe_utils.h | 10 |
4 files changed, 12 insertions, 12 deletions
diff --git a/src/gen9_post_processing.c b/src/gen9_post_processing.c index 862a26a..2128697 100644 --- a/src/gen9_post_processing.c +++ b/src/gen9_post_processing.c @@ -578,7 +578,7 @@ gen9_add_dri_buffer_2d_gpe_surface(VADriverContextP ctx, struct i965_gpe_resource gpe_resource; struct i965_gpe_surface gpe_surface; - i965_gpe_dri_object_to_2d_gpe_resource(&gpe_resource, bo, width, height, pitch); + i965_dri_object_to_2d_gpe_resource(&gpe_resource, bo, width, height, pitch); memset(&gpe_surface, 0, sizeof(gpe_surface)); gpe_surface.gpe_resource = &gpe_resource; gpe_surface.is_2d_surface = 1; diff --git a/src/gen9_vp9_encoder.c b/src/gen9_vp9_encoder.c index a933c15..0b66565 100644 --- a/src/gen9_vp9_encoder.c +++ b/src/gen9_vp9_encoder.c @@ -1052,7 +1052,7 @@ gen9_add_dri_buffer_2d_gpe_surface(VADriverContextP ctx, { struct i965_gpe_resource gpe_resource; - i965_gpe_dri_object_to_2d_gpe_resource(&gpe_resource, bo, width, height, pitch); + i965_dri_object_to_2d_gpe_resource(&gpe_resource, bo, width, height, pitch); gen9_add_buffer_2d_gpe_surface(ctx, gpe_context, &gpe_resource, diff --git a/src/i965_gpe_utils.c b/src/i965_gpe_utils.c index 66609c0..b20857b 100644 --- a/src/i965_gpe_utils.c +++ b/src/i965_gpe_utils.c @@ -1413,11 +1413,11 @@ i965_dri_object_to_buffer_gpe_resource(struct i965_gpe_resource *res, } void -i965_gpe_dri_object_to_2d_gpe_resource(struct i965_gpe_resource *res, - dri_bo *bo, - unsigned int width, - unsigned int height, - unsigned int pitch) +i965_dri_object_to_2d_gpe_resource(struct i965_gpe_resource *res, + dri_bo *bo, + unsigned int width, + unsigned int height, + unsigned int pitch) { unsigned int swizzle; diff --git a/src/i965_gpe_utils.h b/src/i965_gpe_utils.h index 66be748..22165da 100644 --- a/src/i965_gpe_utils.h +++ b/src/i965_gpe_utils.h @@ -348,11 +348,11 @@ void i965_object_surface_to_2d_gpe_resource(struct i965_gpe_resource *res, void i965_dri_object_to_buffer_gpe_resource(struct i965_gpe_resource *res, dri_bo *bo); -void i965_gpe_dri_object_to_2d_gpe_resource(struct i965_gpe_resource *res, - dri_bo *bo, - unsigned int width, - unsigned int height, - unsigned int pitch); +void i965_dri_object_to_2d_gpe_resource(struct i965_gpe_resource *res, + dri_bo *bo, + unsigned int width, + unsigned int height, + unsigned int pitch); void i965_zero_gpe_resource(struct i965_gpe_resource *res); |