OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 int tl0_pic_idx; // Negative value to skip tl0PicIdx. | 57 int tl0_pic_idx; // Negative value to skip tl0PicIdx. |
58 uint8_t temporal_idx; | 58 uint8_t temporal_idx; |
59 uint8_t spatial_idx; | 59 uint8_t spatial_idx; |
60 bool temporal_up_switch; | 60 bool temporal_up_switch; |
61 bool inter_layer_predicted; // Frame is dependent on directly lower spatial | 61 bool inter_layer_predicted; // Frame is dependent on directly lower spatial |
62 // layer frame. | 62 // layer frame. |
63 uint8_t gof_idx; | 63 uint8_t gof_idx; |
64 | 64 |
65 // SS data. | 65 // SS data. |
66 size_t num_spatial_layers; | 66 size_t num_spatial_layers; // Always populated. |
67 bool spatial_layer_resolution_present; | 67 bool spatial_layer_resolution_present; |
68 uint16_t width[kMaxVp9NumberOfSpatialLayers]; | 68 uint16_t width[kMaxVp9NumberOfSpatialLayers]; |
69 uint16_t height[kMaxVp9NumberOfSpatialLayers]; | 69 uint16_t height[kMaxVp9NumberOfSpatialLayers]; |
70 GofInfoVP9 gof; | 70 GofInfoVP9 gof; |
71 }; | 71 }; |
72 | 72 |
73 struct CodecSpecificInfoGeneric { | 73 struct CodecSpecificInfoGeneric { |
74 uint8_t simulcast_idx; | 74 uint8_t simulcast_idx; |
75 }; | 75 }; |
76 | 76 |
(...skipping 11 matching lines...) Expand all Loading... |
88 // in the copy-constructor of VCMEncodedFrame. | 88 // in the copy-constructor of VCMEncodedFrame. |
89 struct CodecSpecificInfo | 89 struct CodecSpecificInfo |
90 { | 90 { |
91 VideoCodecType codecType; | 91 VideoCodecType codecType; |
92 CodecSpecificInfoUnion codecSpecific; | 92 CodecSpecificInfoUnion codecSpecific; |
93 }; | 93 }; |
94 | 94 |
95 } // namespace webrtc | 95 } // namespace webrtc |
96 | 96 |
97 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_VIDEO_CODEC_INTERFACE_H | 97 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_VIDEO_CODEC_INTERFACE_H |
OLD | NEW |