Lines Matching refs:new_restrictions
476 RestrictionsWithCounters new_restrictions = current_restrictions; in DecreaseResolution() local
478 new_restrictions.restrictions.set_max_pixels_per_frame( in DecreaseResolution()
482 new_restrictions.restrictions.set_target_pixels_per_frame(absl::nullopt); in DecreaseResolution()
483 ++new_restrictions.counters.resolution_adaptations; in DecreaseResolution()
484 return new_restrictions; in DecreaseResolution()
505 RestrictionsWithCounters new_restrictions = current_restrictions; in DecreaseFramerate() local
508 new_restrictions.restrictions.set_max_frame_rate( in DecreaseFramerate()
512 ++new_restrictions.counters.fps_adaptations; in DecreaseFramerate()
513 return new_restrictions; in DecreaseFramerate()
530 RestrictionsWithCounters new_restrictions = current_restrictions; in IncreaseResolution() local
533 new_restrictions.restrictions.set_max_pixels_per_frame( in IncreaseResolution()
537 new_restrictions.restrictions.set_target_pixels_per_frame( in IncreaseResolution()
541 --new_restrictions.counters.resolution_adaptations; in IncreaseResolution()
542 RTC_DCHECK_GE(new_restrictions.counters.resolution_adaptations, 0); in IncreaseResolution()
543 return new_restrictions; in IncreaseResolution()
576 RestrictionsWithCounters new_restrictions = current_restrictions; in IncreaseFramerate() local
577 new_restrictions.restrictions.set_max_frame_rate( in IncreaseFramerate()
581 --new_restrictions.counters.fps_adaptations; in IncreaseFramerate()
582 RTC_DCHECK_GE(new_restrictions.counters.fps_adaptations, 0); in IncreaseFramerate()
583 return new_restrictions; in IncreaseFramerate()