webrtc_m130/common_video/frame_instrumentation_data.h
Fanny Linderborg a61a25a0b1 Correct format for TODO comments
Bug: webrtc:358039777
Change-Id: Iad5f8867bcbca883b16617819ea24a965160d23e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/363802
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Fanny Linderborg <linderborg@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43089}
2024-09-27 07:17:40 +00:00

36 lines
997 B
C++

/*
* Copyright 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 COMMON_VIDEO_FRAME_INSTRUMENTATION_DATA_H_
#define COMMON_VIDEO_FRAME_INSTRUMENTATION_DATA_H_
#include <vector>
namespace webrtc {
// TODO: bugs.webrtc.org/358039777 - Error handling: negative values etc.
struct FrameInstrumentationSyncData {
int sequence_index;
bool communicate_upper_bits;
};
struct FrameInstrumentationData {
int sequence_index;
bool communicate_upper_bits;
double std_dev;
int luma_error_threshold;
int chroma_error_threshold;
std::vector<double> sample_values;
};
} // namespace webrtc
#endif // COMMON_VIDEO_FRAME_INSTRUMENTATION_DATA_H_