diff options
author | clang-format <noreply@google.com> | 2016-09-15 15:07:46 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2016-09-15 15:07:53 -0700 |
commit | 5f6d143b41ca45c9f823849473bb8ce5437b0659 (patch) | |
tree | 20d52205fe6d569334cda9c4071e06c16d67976d /vp9/encoder/vp9_svc_layercontext.c | |
parent | 30b1abd6e6763937e7145ff0886dbb138bba61b2 (diff) | |
download | libvpx-5f6d143b41ca45c9f823849473bb8ce5437b0659.tar libvpx-5f6d143b41ca45c9f823849473bb8ce5437b0659.tar.gz libvpx-5f6d143b41ca45c9f823849473bb8ce5437b0659.tar.bz2 libvpx-5f6d143b41ca45c9f823849473bb8ce5437b0659.zip |
apply clang-format
Change-Id: I501597b7c1e0f0c7ae2aea3ee8073f0a641b3487
Diffstat (limited to 'vp9/encoder/vp9_svc_layercontext.c')
-rw-r--r-- | vp9/encoder/vp9_svc_layercontext.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/vp9/encoder/vp9_svc_layercontext.c b/vp9/encoder/vp9_svc_layercontext.c index 879d46c76..2d29e268b 100644 --- a/vp9/encoder/vp9_svc_layercontext.c +++ b/vp9/encoder/vp9_svc_layercontext.c @@ -377,9 +377,10 @@ void vp9_inc_frame_in_layer(VP9_COMP *const cpi) { int vp9_is_upper_layer_key_frame(const VP9_COMP *const cpi) { return is_two_pass_svc(cpi) && cpi->svc.spatial_layer_id > 0 && - cpi->svc.layer_context[cpi->svc.spatial_layer_id * - cpi->svc.number_temporal_layers + - cpi->svc.temporal_layer_id] + cpi->svc + .layer_context[cpi->svc.spatial_layer_id * + cpi->svc.number_temporal_layers + + cpi->svc.temporal_layer_id] .is_key_frame; } @@ -409,8 +410,9 @@ static void set_flags_and_fb_idx_for_temporal_mode3(VP9_COMP *const cpi) { int spatial_id, temporal_id; spatial_id = cpi->svc.spatial_layer_id = cpi->svc.spatial_layer_to_encode; frame_num_within_temporal_struct = - cpi->svc.layer_context[cpi->svc.spatial_layer_id * - cpi->svc.number_temporal_layers] + cpi->svc + .layer_context[cpi->svc.spatial_layer_id * + cpi->svc.number_temporal_layers] .current_video_frame_in_layer % 4; temporal_id = cpi->svc.temporal_layer_id = @@ -512,8 +514,9 @@ static void set_flags_and_fb_idx_for_temporal_mode2(VP9_COMP *const cpi) { int spatial_id, temporal_id; spatial_id = cpi->svc.spatial_layer_id = cpi->svc.spatial_layer_to_encode; temporal_id = cpi->svc.temporal_layer_id = - cpi->svc.layer_context[cpi->svc.spatial_layer_id * - cpi->svc.number_temporal_layers] + cpi->svc + .layer_context[cpi->svc.spatial_layer_id * + cpi->svc.number_temporal_layers] .current_video_frame_in_layer & 1; cpi->ext_refresh_last_frame = cpi->ext_refresh_golden_frame = |