| /* | |
| * Copyright (c) 2024 The WebRTC project authors. All Rights Reserved. | |
| * | |
| * Use of this source code is governed by a BSD-style license | |
| * that can be found in the LICENSE file in the root of the source | |
| * tree. An additional intellectual property rights grant can be found | |
| * in the file PATENTS. All contributing project authors may | |
| * be found in the AUTHORS file in the root of the source tree. | |
| */ | |
| #ifndef API_VIDEO_CORRUPTION_DETECTION_CORRUPTION_DETECTION_FILTER_SETTINGS_H_ | |
| #define API_VIDEO_CORRUPTION_DETECTION_CORRUPTION_DETECTION_FILTER_SETTINGS_H_ | |
| #include <stdint.h> | |
| namespace webrtc { | |
| // Filter settings for automatic corruption detection. See | |
| // http://www.webrtc.org/experiments/rtp-hdrext/corruption-detection for more | |
| // information. | |
| struct CorruptionDetectionFilterSettings { | |
| // Size of the blur kernel used. | |
| double std_dev = 0.0; | |
| // Allowed error thresholds (maps to `Y err` and `UV err` respectively). | |
| int luma_error_threshold = 0; | |
| int chroma_error_threshold = 0; | |
| }; | |
| } // namespace webrtc | |
| #endif // API_VIDEO_CORRUPTION_DETECTION_CORRUPTION_DETECTION_FILTER_SETTINGS_H_ |