#include "third_party/blink/renderer/modules/webcodecs/video_frame_monitor.h"
#include "base/not_fatal_until.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
namespace blink {
VideoFrameMonitor& VideoFrameMonitor::Instance() { … }
void VideoFrameMonitor::OnOpenFrame(const std::string& source_id,
media::VideoFrame::ID frame_id) { … }
void VideoFrameMonitor::OnCloseFrame(const std::string& source_id,
media::VideoFrame::ID frame_id) { … }
wtf_size_t VideoFrameMonitor::NumFrames(const std::string& source_id) { … }
int VideoFrameMonitor::NumRefs(const std::string& source_id,
media::VideoFrame::ID frame_id) { … }
bool VideoFrameMonitor::IsEmpty() { … }
void VideoFrameMonitor::OnOpenFrameLocked(const std::string& source_id,
media::VideoFrame::ID frame_id) { … }
void VideoFrameMonitor::OnCloseFrameLocked(const std::string& source_id,
media::VideoFrame::ID frame_id) { … }
wtf_size_t VideoFrameMonitor::NumFramesLocked(const std::string& source_id) { … }
int VideoFrameMonitor::NumRefsLocked(const std::string& source_id,
media::VideoFrame::ID frame_id) { … }
}