summaryrefslogtreecommitdiff
path: root/src/gen7_mfd.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2017-03-23 15:31:47 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-04-07 16:32:33 +0800
commit85d5aa7602fcc5e0561f93eff155353cbf903816 (patch)
treef5816d85b8e42416c846c3b56984595c24da137f /src/gen7_mfd.h
parent38a124e1f94682162ac12c00f8106ac6a627b3cd (diff)
downloadlibva-intel-driver-85d5aa7602fcc5e0561f93eff155353cbf903816.tar.gz
Unify the coding style in the driver
Linux coding style is used in the driver source code. Use the command below to format/indent .c/.h files $> astyle --style=linux -cnpUH -s4 -M120 <file> A script of style_unify is added in the top-level directory to handle all .c/.h files in the driver. There is no change to any functionality This fixes https://github.com/01org/intel-vaapi-driver/issues/99 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/gen7_mfd.h')
-rw-r--r--src/gen7_mfd.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gen7_mfd.h b/src/gen7_mfd.h
index f268f5a8..aede3743 100644
--- a/src/gen7_mfd.h
+++ b/src/gen7_mfd.h
@@ -60,16 +60,14 @@
#define GEN7_YUV422H_4Y 6
#define GEN7_YUV422V_4Y 7
-struct gen7_vc1_surface
-{
+struct gen7_vc1_surface {
dri_bo *dmv;
int picture_type;
};
struct hw_context;
-struct gen7_mfd_context
-{
+struct gen7_mfd_context {
struct hw_context base;
union {
@@ -87,7 +85,7 @@ struct gen7_mfd_context
GenBuffer mpr_row_store_scratch_buffer;
GenBuffer bitplane_read_buffer;
GenBuffer segmentation_buffer;
-
+
VASurfaceID jpeg_wa_surface_id;
struct object_surface *jpeg_wa_surface_object;
dri_bo *jpeg_wa_slice_data_bo;