OSDN Git Service

Fix coding style
authorVictor Toso <me@victortoso.com>
Tue, 19 Dec 2017 07:15:41 +0000 (08:15 +0100)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 10 Jan 2018 01:12:43 +0000 (09:12 +0800)
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>
src/gen9_hevc_encoder.c
src/i965_encoder_vp8.c

index e118ee2..ccd862d 100644 (file)
@@ -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);
index b5eb5ef..061745c 100644 (file)
@@ -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,