#include "media/capabilities/video_decode_stats_db.h"
#include "base/check_op.h"
#include "base/format_macros.h"
#include "base/strings/stringprintf.h"
#include "media/capabilities/bucket_utility.h"
namespace media {
VideoDecodeStatsDB::VideoDescKey
VideoDecodeStatsDB::VideoDescKey::MakeBucketedKey(
VideoCodecProfile codec_profile,
const gfx::Size& size,
int frame_rate,
std::string key_system,
bool use_hw_secure_codecs) { … }
VideoDecodeStatsDB::VideoDescKey::VideoDescKey(VideoCodecProfile codec_profile,
const gfx::Size& size,
int frame_rate,
std::string key_system,
bool use_hw_secure_codecs)
: … { … }
std::string VideoDecodeStatsDB::VideoDescKey::Serialize() const { … }
std::string VideoDecodeStatsDB::VideoDescKey::ToLogString() const { … }
VideoDecodeStatsDB::DecodeStatsEntry::DecodeStatsEntry(
uint64_t frames_decoded,
uint64_t frames_dropped,
uint64_t frames_power_efficient)
: … { … }
VideoDecodeStatsDB::DecodeStatsEntry::DecodeStatsEntry(
const DecodeStatsEntry& entry) = default;
VideoDecodeStatsDB::DecodeStatsEntry&
VideoDecodeStatsDB::DecodeStatsEntry::operator=(const DecodeStatsEntry& entry) =
default;
std::string VideoDecodeStatsDB::DecodeStatsEntry::ToLogString() const { … }
VideoDecodeStatsDB::DecodeStatsEntry& VideoDecodeStatsDB::DecodeStatsEntry::
operator+=(const DecodeStatsEntry& right) { … }
bool operator==(const VideoDecodeStatsDB::VideoDescKey& x,
const VideoDecodeStatsDB::VideoDescKey& y) { … }
bool operator!=(const VideoDecodeStatsDB::VideoDescKey& x,
const VideoDecodeStatsDB::VideoDescKey& y) { … }
bool operator==(const VideoDecodeStatsDB::DecodeStatsEntry& x,
const VideoDecodeStatsDB::DecodeStatsEntry& y) { … }
bool operator!=(const VideoDecodeStatsDB::DecodeStatsEntry& x,
const VideoDecodeStatsDB::DecodeStatsEntry& y) { … }
}