OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 int target_bandwidth; | 24 int target_bandwidth; |
25 double framerate; | 25 double framerate; |
26 int avg_frame_size; | 26 int avg_frame_size; |
27 TWO_PASS twopass; | 27 TWO_PASS twopass; |
28 struct vpx_fixed_buf rc_twopass_stats_in; | 28 struct vpx_fixed_buf rc_twopass_stats_in; |
29 unsigned int current_video_frame_in_layer; | 29 unsigned int current_video_frame_in_layer; |
30 int is_key_frame; | 30 int is_key_frame; |
31 vpx_svc_parameters_t svc_params_received; | 31 vpx_svc_parameters_t svc_params_received; |
32 struct lookahead_entry *alt_ref_source; | 32 struct lookahead_entry *alt_ref_source; |
33 int alt_ref_idx; | 33 int alt_ref_idx; |
| 34 int gold_ref_idx; |
34 int has_alt_frame; | 35 int has_alt_frame; |
35 size_t layer_size; | 36 size_t layer_size; |
36 } LAYER_CONTEXT; | 37 } LAYER_CONTEXT; |
37 | 38 |
38 typedef struct { | 39 typedef struct { |
39 int spatial_layer_id; | 40 int spatial_layer_id; |
40 int temporal_layer_id; | 41 int temporal_layer_id; |
41 int number_spatial_layers; | 42 int number_spatial_layers; |
42 int number_temporal_layers; | 43 int number_temporal_layers; |
43 | 44 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 // Get a future source buffer to encode | 100 // Get a future source buffer to encode |
100 struct lookahead_entry *vp9_svc_lookahead_peek(struct VP9_COMP *const cpi, | 101 struct lookahead_entry *vp9_svc_lookahead_peek(struct VP9_COMP *const cpi, |
101 struct lookahead_ctx *ctx, | 102 struct lookahead_ctx *ctx, |
102 int index, int copy_params); | 103 int index, int copy_params); |
103 | 104 |
104 #ifdef __cplusplus | 105 #ifdef __cplusplus |
105 } // extern "C" | 106 } // extern "C" |
106 #endif | 107 #endif |
107 | 108 |
108 #endif // VP9_ENCODER_VP9_SVC_LAYERCONTEXT_ | 109 #endif // VP9_ENCODER_VP9_SVC_LAYERCONTEXT_ |
OLD | NEW |