Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(737)

Side by Side Diff: source/libvpx/vp9/encoder/vp9_svc_layercontext.h

Issue 341293003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
11 #ifndef VP9_ENCODER_VP9_SVC_LAYERCONTEXT_H_ 11 #ifndef VP9_ENCODER_VP9_SVC_LAYERCONTEXT_H_
12 #define VP9_ENCODER_VP9_SVC_LAYERCONTEXT_H_ 12 #define VP9_ENCODER_VP9_SVC_LAYERCONTEXT_H_
13 13
14 #include "vpx/vpx_encoder.h" 14 #include "vpx/vpx_encoder.h"
15 15
16 #include "vp9/encoder/vp9_ratectrl.h" 16 #include "vp9/encoder/vp9_ratectrl.h"
17 17
18 #ifdef __cplusplus 18 #ifdef __cplusplus
19 extern "C" { 19 extern "C" {
20 #endif 20 #endif
21 21
22 typedef struct { 22 typedef struct {
23 RATE_CONTROL rc; 23 RATE_CONTROL rc;
24 int target_bandwidth; 24 int target_bandwidth;
25 int64_t starting_buffer_level;
26 int64_t optimal_buffer_level;
27 int64_t maximum_buffer_size;
28 double framerate; 25 double framerate;
29 int avg_frame_size; 26 int avg_frame_size;
30 struct twopass_rc twopass; 27 TWO_PASS twopass;
31 struct vpx_fixed_buf rc_twopass_stats_in; 28 struct vpx_fixed_buf rc_twopass_stats_in;
32 unsigned int current_video_frame_in_layer; 29 unsigned int current_video_frame_in_layer;
33 int is_key_frame; 30 int is_key_frame;
34 } LAYER_CONTEXT; 31 } LAYER_CONTEXT;
35 32
36 typedef struct { 33 typedef struct {
37 int spatial_layer_id; 34 int spatial_layer_id;
38 int temporal_layer_id; 35 int temporal_layer_id;
39 int number_spatial_layers; 36 int number_spatial_layers;
40 int number_temporal_layers; 37 int number_temporal_layers;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void vp9_inc_frame_in_layer(SVC *svc); 72 void vp9_inc_frame_in_layer(SVC *svc);
76 73
77 // Check if current layer is key frame in spatial upper layer 74 // Check if current layer is key frame in spatial upper layer
78 int vp9_is_upper_layer_key_frame(const struct VP9_COMP *const cpi); 75 int vp9_is_upper_layer_key_frame(const struct VP9_COMP *const cpi);
79 76
80 #ifdef __cplusplus 77 #ifdef __cplusplus
81 } // extern "C" 78 } // extern "C"
82 #endif 79 #endif
83 80
84 #endif // VP9_ENCODER_VP9_SVC_LAYERCONTEXT_ 81 #endif // VP9_ENCODER_VP9_SVC_LAYERCONTEXT_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_speed_features.c ('k') | source/libvpx/vp9/encoder/vp9_svc_layercontext.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698