OSDN Git Service

Fix coding style in the previous commits
authorXiang, Haihao <haihao.xiang@intel.com>
Thu, 13 Apr 2017 07:43:04 +0000 (15:43 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 12 May 2017 01:47:19 +0000 (09:47 +0800)
Otherwise the pre-commit hook will block the changes to these files
in the future.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_drv_video.c
src/i965_output_dri.c

index 399e8cf..89b0ac5 100644 (file)
@@ -1155,7 +1155,7 @@ i965_GetConfigAttributes(VADriverContextP ctx,
                      profile == VAProfileH264High) ||
                     profile == VAProfileH264StereoHigh ||
                     profile == VAProfileH264MultiviewHigh ||
-                   profile == VAProfileHEVCMain ||
+                    profile == VAProfileHEVCMain ||
                     profile == VAProfileHEVCMain10) {
                     attrib_list[i].value = VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS;
                 }
index d9aeb37..bbe2ec3 100644 (file)
 
 #define LIBVA_X11_NAME "libva-x11.so.1"
 
-typedef struct dri_drawable *(*dri_get_drawable_func)(
-    VADriverContextP ctx, XID drawable);
-typedef union dri_buffer *(*dri_get_rendering_buffer_func)(
-        VADriverContextP ctx, struct dri_drawable *d);
-typedef void (*dri_swap_buffer_func)(
-    VADriverContextP ctx, struct dri_drawable *d);
+typedef struct dri_drawable *(*dri_get_drawable_func)(VADriverContextP ctx, XID drawable);
+typedef union dri_buffer *(*dri_get_rendering_buffer_func)(VADriverContextP ctx, struct dri_drawable *d);
+typedef void (*dri_swap_buffer_func)(VADriverContextP ctx, struct dri_drawable *d);
 
 struct dri_vtable {
     dri_get_drawable_func               get_drawable;