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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 #endif | 65 #endif |
66 | 66 |
67 const uint8_t* orig_frame_; | 67 const uint8_t* orig_frame_; |
68 uint8_t* prev_frame_; | 68 uint8_t* prev_frame_; |
69 int width_; | 69 int width_; |
70 int height_; | 70 int height_; |
71 int skip_num_; | 71 int skip_num_; |
72 int border_; | 72 int border_; |
73 | 73 |
74 // Content Metrics: Stores the local average of the metrics. | 74 // Content Metrics: Stores the local average of the metrics. |
75 float motion_magnitude_; // motion class | 75 float motion_magnitude_; // motion class |
76 float spatial_pred_err_; // spatial class | 76 float spatial_pred_err_; // spatial class |
77 float spatial_pred_err_h_; // spatial class | 77 float spatial_pred_err_h_; // spatial class |
78 float spatial_pred_err_v_; // spatial class | 78 float spatial_pred_err_v_; // spatial class |
79 bool first_frame_; | 79 bool first_frame_; |
80 bool ca_Init_; | 80 bool ca_Init_; |
81 | 81 |
82 VideoContentMetrics* content_metrics_; | 82 VideoContentMetrics* content_metrics_; |
83 }; | 83 }; |
84 | 84 |
85 } // namespace webrtc | 85 } // namespace webrtc |
86 | 86 |
87 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_CONTENT_ANALYSIS_H_ | 87 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_CONTENT_ANALYSIS_H_ |
OLD | NEW |