Home
last modified time | relevance | path

Searched refs:GetAllocation (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/modules/video_coding/utility/
Dsimulcast_rate_allocator_unittest.cc136 VideoBitrateAllocation GetAllocation(uint32_t target_bitrate) { in GetAllocation() function in webrtc::SimulcastRateAllocatorTest
141 VideoBitrateAllocation GetAllocation(DataRate target_rate, in GetAllocation() function in webrtc::SimulcastRateAllocatorTest
171 ExpectEqual(expected, GetAllocation(codec_.minBitrate - 1)); in TEST_F()
172 ExpectEqual(expected, GetAllocation(1)); in TEST_F()
173 ExpectEqual(expected, GetAllocation(0)); in TEST_F()
179 ExpectEqual(expected, GetAllocation(codec_.maxBitrate + 1)); in TEST_F()
180 ExpectEqual(expected, GetAllocation(std::numeric_limits<uint32_t>::max())); in TEST_F()
190 ExpectEqual(expected, GetAllocation(kMax)); in TEST_F()
198 ExpectEqual(expected, GetAllocation(bitrate)); in TEST_F()
209 ExpectEqual(expected, GetAllocation(kMinBitrateKbps - 10)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dbuffer_assignment_test.cc268 const BufferAllocation& GetAllocation(const BufferAssignment& buffers, in GetAllocation() function in xla::__anon8a84187f0111::BufferAssignmentTest
501 BufferAllocation neg_1_buffer = GetAllocation(*buffers, neg_1, {}); in TEST_F()
502 BufferAllocation neg_2_buffer = GetAllocation(*buffers, neg_2, {}); in TEST_F()
1076 auto while_op_allocation = GetAllocation(*buffers, while_op, index); in TEST_F()
1077 auto body_root_allocation = GetAllocation(*buffers, body_root, index); in TEST_F()
1462 auto allocation = GetAllocation(*assignment, tuple_param, index); in TEST_F()
1490 GetAllocation(*assignment, tuple_param, /*index=*/{}).maybe_live_out()); in TEST_F()
1494 GetAllocation(*assignment, tuple_param, /*index=*/{1}).maybe_live_out()); in TEST_F()
1495 EXPECT_TRUE(GetAllocation(*assignment, tuple_param, /*index=*/{1, 0}) in TEST_F()
1497 EXPECT_TRUE(GetAllocation(*assignment, tuple_param, /*index=*/{1, 1}) in TEST_F()
[all …]
Dbuffer_assignment.h393 const BufferAllocation& GetAllocation(BufferAllocation::Index index) const;
Dbuffer_assignment.cc405 return GetAllocation(allocation_index_for_value_.at(&value)); in GetAssignedAllocation()
430 const BufferAllocation& BufferAssignment::GetAllocation( in GetAllocation() function in xla::BufferAssignment
453 return const_cast<BufferAllocation*>(&GetAllocation(index)); in GetMutableAllocation()
/external/webrtc/api/video/
Dvideo_bitrate_allocator.cc39 VideoBitrateAllocation VideoBitrateAllocator::GetAllocation( in GetAllocation() function in webrtc::VideoBitrateAllocator
49 return GetAllocation(parameters.total_bitrate.bps(), parameters.framerate); in Allocate()
Dvideo_bitrate_allocator.h38 virtual VideoBitrateAllocation GetAllocation(uint32_t total_bitrate_bps,
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_executable.cc136 const BufferAllocation& allocation = assignment_->GetAllocation(i); in CreateBufferTable()