#include "media/capabilities/learning_helper.h"
#include "base/task/thread_pool.h"
#include "media/learning/common/feature_library.h"
#include "media/learning/common/learning_task.h"
namespace media {
FeatureLibrary;
FeatureProviderFactoryCB;
FeatureValue;
LabelledExample;
LearningSessionImpl;
LearningTask;
LearningTaskController;
ObservationCompletion;
SequenceBoundFeatureProvider;
TargetValue;
const char* const kDroppedFrameRatioBaseUnweightedTreeTaskName = …;
const char* const kDroppedFrameRatioBaseUnweightedTableTaskName = …;
const char* const kDroppedFrameRatioBaseUnweightedTree200TaskName = …;
const char* const kDroppedFrameRatioEnhancedUnweightedTree200TaskName = …;
constexpr double kSmoothnessThreshold = …;
LearningHelper::LearningHelper(FeatureProviderFactoryCB feature_factory) { … }
LearningHelper::~LearningHelper() = default;
void LearningHelper::AppendStats(
const VideoDecodeStatsDB::VideoDescKey& video_key,
learning::FeatureValue origin,
const VideoDecodeStatsDB::DecodeStatsEntry& new_stats) { … }
void LearningHelper::AddExample(LearningTaskController* controller,
const LabelledExample& example) { … }
}