Home
last modified time | relevance | path

Searched refs:expected_buffer (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/test/testsupport/
Dvideo_frame_writer_unittest.cc128 rtc::scoped_refptr<I420Buffer> expected_buffer = in TEST_F() local
132 VideoFrame::Builder().set_video_frame_buffer(expected_buffer).build(); in TEST_F()
145 AssertI420BuffersEq(frame_reader->ReadFrame(), expected_buffer); in TEST_F()
146 AssertI420BuffersEq(frame_reader->ReadFrame(), expected_buffer); in TEST_F()
154 rtc::scoped_refptr<I420Buffer> expected_buffer = in TEST_F() local
158 VideoFrame::Builder().set_video_frame_buffer(expected_buffer).build(); in TEST_F()
170 AssertI420BuffersEq(frame_reader->ReadFrame(), expected_buffer); in TEST_F()
171 AssertI420BuffersEq(frame_reader->ReadFrame(), expected_buffer); in TEST_F()
Dcopy_to_file_audio_capturer_unittest.cc41 rtc::BufferT<int16_t> expected_buffer; in TEST_F() local
42 ASSERT_TRUE(capturer_->Capture(&expected_buffer)); in TEST_F()
43 ASSERT_TRUE(!expected_buffer.empty()); in TEST_F()
53 ASSERT_EQ(actual_buffer, expected_buffer); in TEST_F()
/external/webrtc/common_video/h264/
Dsps_vui_rewriter_unittest.cc458 rtc::Buffer expected_buffer; in TEST() local
461 expected_buffer.AppendData(kStartSequence); in TEST()
462 expected_nalu_offsets[0] = expected_buffer.size(); in TEST()
464 expected_buffer.AppendData(kIdr1); in TEST()
465 expected_buffer.AppendData(kStartSequence); in TEST()
466 expected_nalu_offsets[1] = expected_buffer.size(); in TEST()
468 expected_buffer.AppendData(kSpsNaluType); in TEST()
469 expected_buffer.AppendData(optimal_sps); in TEST()
470 expected_buffer.AppendData(kStartSequence); in TEST()
471 expected_nalu_offsets[2] = expected_buffer.size(); in TEST()
[all …]
/external/libwebm/webm_parser/tests/
Dlimited_reader_test.cc39 std::array<std::uint8_t, 4> expected_buffer = {{1, 2, 3, 4}}; in TEST_F() local
40 EXPECT_EQ(expected_buffer, buffer); in TEST_F()
70 std::array<std::uint8_t, 4> expected_buffer = {{1, 2, 0, 0}}; in TEST_F() local
71 EXPECT_EQ(expected_buffer, buffer); in TEST_F()
94 std::array<std::uint8_t, 4> expected_buffer = {{1, 2, 3, 4}}; in TEST_F() local
95 EXPECT_EQ(expected_buffer, buffer); in TEST_F()
143 std::array<std::uint8_t, 4> expected_buffer = {{1, 2, 3, 4}}; in TEST_F() local
144 EXPECT_EQ(expected_buffer, buffer); in TEST_F()
246 std::array<std::uint8_t, 4> expected_buffer = {{0, 0, 0, 0}}; in TEST_F() local
247 EXPECT_EQ(expected_buffer, buffer); in TEST_F()
/external/webrtc/sdk/objc/unittests/
Dnalu_rewriter_xctest.mm157 const uint8_t expected_buffer[] = {0x00};
164 XCTAssertEqual(0, memcmp(expected_buffer, buffer.get(), arraysize(expected_buffer)));
168 const uint8_t expected_buffer[] = {
178 XCTAssertEqual(0, memcmp(expected_buffer, buffer.get(), arraysize(expected_buffer)));
183 const uint8_t expected_buffer[] = {
196 XCTAssertEqual(0, memcmp(expected_buffer, buffer.get(), arraysize(expected_buffer)));
200 const uint8_t expected_buffer[] = {0x00, 0x00, 0x00};
208 XCTAssertEqual(0, memcmp(expected_buffer, buffer.get(), arraysize(expected_buffer)));
/external/libchrome/mojo/core/
Ddata_pipe_unittest.cc920 int32_t expected_buffer[100]; in TEST_F() local
921 memset(expected_buffer, 0xab, sizeof(expected_buffer)); in TEST_F()
922 ASSERT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); in TEST_F()
957 memset(expected_buffer, 0xab, sizeof(expected_buffer)); in TEST_F()
958 Seq(100, 5, expected_buffer); in TEST_F()
959 ASSERT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); in TEST_F()
965 memset(expected_buffer, 0xab, sizeof(expected_buffer)); in TEST_F()
966 ASSERT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); in TEST_F()
999 memset(expected_buffer, 0xab, sizeof(expected_buffer)); in TEST_F()
1000 ASSERT_EQ(0, memcmp(buffer, expected_buffer, sizeof(buffer))); in TEST_F()
[all …]
/external/deqp/external/vulkancts/data/vulkan/amber/compute/workgroup_memory_explicit_layout/
Dcopy_memory_variable_pointers.amber180 BUFFER expected_buffer DATA_TYPE uint32 SIZE 32 SERIES_FROM 1 INC_BY 1
197 EXPECT output_buffer EQ_BUFFER expected_buffer
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_model_test.cc116 const auto expected_buffer = expected_model.buffers[buffer_idx].get()->data; in ExpectSameModels() local
117 EXPECT_EQ(buffer, expected_buffer); in ExpectSameModels()
1288 const auto expected_buffer = expected_model.buffers[buffer_idx].get()->data; in TEST_F() local
1289 EXPECT_EQ(buffer, expected_buffer); in TEST_F()