Lines Matching refs:EncodeUsageResource
23 rtc::scoped_refptr<EncodeUsageResource> EncodeUsageResource::Create( in Create()
25 return new rtc::RefCountedObject<EncodeUsageResource>( in Create()
29 EncodeUsageResource::EncodeUsageResource( in EncodeUsageResource() function in webrtc::EncodeUsageResource
38 EncodeUsageResource::~EncodeUsageResource() {} in ~EncodeUsageResource()
40 bool EncodeUsageResource::is_started() const { in is_started()
45 void EncodeUsageResource::StartCheckForOveruse(CpuOveruseOptions options) { in StartCheckForOveruse()
54 void EncodeUsageResource::StopCheckForOveruse() { in StopCheckForOveruse()
60 void EncodeUsageResource::SetTargetFrameRate( in SetTargetFrameRate()
70 void EncodeUsageResource::OnEncodeStarted(const VideoFrame& cropped_frame, in OnEncodeStarted()
78 void EncodeUsageResource::OnEncodeCompleted( in OnEncodeCompleted()
90 void EncodeUsageResource::AdaptUp() { in AdaptUp()
95 [this_ref = rtc::scoped_refptr<EncodeUsageResource>(this)] { in AdaptUp()
101 void EncodeUsageResource::AdaptDown() { in AdaptDown()
106 [this_ref = rtc::scoped_refptr<EncodeUsageResource>(this)] { in AdaptDown()
112 int EncodeUsageResource::TargetFrameRateAsInt() { in TargetFrameRateAsInt()