summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <me@victortoso.com>2017-12-19 08:15:41 +0100
committerXiang, Haihao <haihao.xiang@intel.com>2018-01-10 09:12:43 +0800
commit3443434d88ad116cd6decebccfab265679980bc4 (patch)
tree22e130313ef6299f38aa8a1cd0dd679807d05c0b
parent61d13f1efd564c4adc74bb99da1b4aa56806aa8a (diff)
downloadlibva-intel-driver-3443434d88ad116cd6decebccfab265679980bc4.tar.gz
Fix coding style
Fix requested by the pre-commit hook introduced in 2f0a8449f37b > astyle --style=linux -cnpUH -s4 -M120 \ > src/gen9_hevc_encoder.c src/i965_encoder_vp8.c This is necessary to avoid unrelated changes in the next two commits. Signed-off-by: Victor Toso <victortoso@redhat.com>
-rw-r--r--src/gen9_hevc_encoder.c2
-rw-r--r--src/i965_encoder_vp8.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gen9_hevc_encoder.c b/src/gen9_hevc_encoder.c
index e118ee25..ccd862d5 100644
--- a/src/gen9_hevc_encoder.c
+++ b/src/gen9_hevc_encoder.c
@@ -4148,7 +4148,7 @@ gen9_hevc_set_control_region(VADriverContextP ctx,
}
} else {
int cur_lcu_pel_y = region_start_table[GEN9_HEVC_ENC_REGION_START_Y_OFFSET +
- (k * priv_state->num_regions_in_slice)] << 5;
+ (k * priv_state->num_regions_in_slice)] << 5;
int ts_width = (priv_state->picture_width + 16) >> 5;
int ts_height = height;
int offset_y = -4 * ((ts_width + 1) >> 1);
diff --git a/src/i965_encoder_vp8.c b/src/i965_encoder_vp8.c
index b5eb5ef0..061745c8 100644
--- a/src/i965_encoder_vp8.c
+++ b/src/i965_encoder_vp8.c
@@ -3623,7 +3623,7 @@ i965_encoder_vp8_vme_mbenc_add_surfaces(VADriverContextP ctx,
i965_add_buffer_gpe_surface(ctx,
gpe_context,
- &vp8_context->reference_frame_mb_count_buffer ,
+ &vp8_context->reference_frame_mb_count_buffer,
0,
32, /* sizeof(unsigned int) * 8 */
0,