Home
last modified time | relevance | path

Searched refs:kFrameSize (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/webrtc/tools/frame_editing/
Dframe_editing_unittest.cc27 const size_t kFrameSize = CalcBufferSize(kI420, kWidth, kHeight); variable
47 original_buffer_.reset(new int[kFrameSize]); in SetUp()
48 edited_buffer_.reset(new int[kFrameSize]); in SetUp()
62 num_bytes_read_ = fread(ref_buffer->get(), 1, kFrameSize, ref_video_fid); in CompareToTheEnd()
64 EXPECT_EQ(kFrameSize, num_bytes_read_); in CompareToTheEnd()
66 num_bytes_read_ = fread(test_buffer->get(), 1, kFrameSize, in CompareToTheEnd()
69 EXPECT_EQ(kFrameSize, num_bytes_read_); in CompareToTheEnd()
73 kFrameSize)); in CompareToTheEnd()
100 num_bytes_read_ = fread(original_buffer_.get(), 1, kFrameSize, in TEST_F()
102 EXPECT_EQ(kFrameSize, num_bytes_read_); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_classifier_unittest.cc24 static const size_t kFrameSize = 960; variable
27 int16_t in_mono[kFrameSize] = {0}; in TEST()
33 zero_classifier.Analysis(in_mono, kFrameSize, 1); in TEST()
42 rtc::scoped_ptr<int16_t[]> in(new int16_t[channels * kFrameSize]); in RunAnalysisTest()
51 while (fread(in.get(), sizeof(int16_t), channels * kFrameSize, audio_file) == in RunAnalysisTest()
52 channels * kFrameSize) { in RunAnalysisTest()
54 classifier.Analysis(in.get(), channels * kFrameSize, channels); in RunAnalysisTest()
Dpacket_buffer_unittest.cc235 const int kFrameSize = 10; in TEST() local
263 PacketGenerator gen(0, 0, 0, kFrameSize); in TEST()
269 kFrameSize); in TEST()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9_unittest.cc183 const size_t kFrameSize = 25; in TEST_F() local
185 Init(kFrameSize, kPacketSize); in TEST_F()
196 const size_t kFrameSize = 27; in TEST_F() local
198 Init(kFrameSize, kPacketSize); in TEST_F()
210 const size_t kFrameSize = 1; in TEST_F() local
212 Init(kFrameSize, kPacketSize); // 1hdr + 1 payload in TEST_F()
219 const size_t kFrameSize = 30; in TEST_F() local
224 Init(kFrameSize, kPacketSize); in TEST_F()
237 const size_t kFrameSize = 31; in TEST_F() local
241 Init(kFrameSize, kPacketSize); in TEST_F()
[all …]
Drtp_format_h264_unittest.cc174 const size_t kFrameSize = kMaxPayloadSize + 100; in TEST() local
175 uint8_t frame[kFrameSize] = {0}; in TEST()
176 for (size_t i = 0; i < kFrameSize; ++i) in TEST()
190 packetizer->SetPayloadData(frame, kFrameSize, &fragmentation); in TEST()
197 VerifySingleNaluPayload(fragmentation, 0, frame, kFrameSize, packet, length); in TEST()
201 VerifySingleNaluPayload(fragmentation, 1, frame, kFrameSize, packet, length); in TEST()
208 const size_t kFrameSize = in TEST() local
210 uint8_t frame[kFrameSize] = {0x07, 0xFF, // F=0, NRI=0, Type=7 (SPS). in TEST()
214 for (size_t i = 0; i < kFrameSize - kPayloadOffset; ++i) in TEST()
224 kNalHeaderSize + kFrameSize - kPayloadOffset; in TEST()
[all …]
/external/compiler-rt/test/asan/TestCases/
Dheavy_uar_test.cc25 template<size_t kFrameSize>
29 char x[kFrameSize]; in RecursiveFunctionWithStackFrame()
32 RecursiveFunctionWithStackFrame<kFrameSize>(depth - 1); in RecursiveFunctionWithStackFrame()
/external/webrtc/webrtc/modules/video_coding/
Dvideo_receiver_unittest.cc108 const size_t kFrameSize = 1200; in TEST_F() local
110 const uint8_t payload[kFrameSize] = {0}; in TEST_F()
124 InsertAndVerifyDecodableFrame(payload, kFrameSize, &header); in TEST_F()
159 const size_t kFrameSize = 1200; in TEST_F() local
161 const uint8_t payload[kFrameSize] = {0}; in TEST_F()
183 InsertAndVerifyDecodableFrame(payload, kFrameSize, &header); in TEST_F()
/external/v8/src/arm64/
Dframes-arm64.h40 static const int kFrameSize = 2 * kPointerSize;
/external/v8/src/x64/
Dframes-x64.h45 static const int kFrameSize = 2 * kPointerSize;
/external/v8/src/x87/
Dframes-x87.h52 static const int kFrameSize = 2 * kPointerSize;
/external/v8/src/ia32/
Dframes-ia32.h52 static const int kFrameSize = 2 * kPointerSize;
/external/webrtc/webrtc/modules/video_coding/test/
Dstream_generator.h24 const unsigned int kFrameSize = variable
Dstream_generator.cc41 (kFrameSize + num_media_packets / 2) / num_media_packets; in GenerateFrame()
/external/v8/src/arm/
Dframes-arm.h99 static const int kFrameSize =
Dmacro-assembler-arm.cc1104 sub(sp, sp, Operand(ExitFrameConstants::kFrameSize)); in EnterExitFrame()
1186 const int offset = ExitFrameConstants::kFrameSize; in LeaveExitFrame()
/external/v8/src/mips64/
Dframes-mips64.h139 static const int kFrameSize = 2 * kPointerSize;
Dmacro-assembler-mips64.cc5568 Dsubu(t8, fp, Operand(ExitFrameConstants::kFrameSize + in LeaveExitFrame()
/external/v8/src/mips/
Dframes-mips.h139 static const int kFrameSize = 2 * kPointerSize;
/external/v8/src/ppc/
Dframes-ppc.h158 static const int kFrameSize =
Dmacro-assembler-ppc.cc898 subi(sp, sp, Operand(ExitFrameConstants::kFrameSize)); in EnterExitFrame()
983 (ExitFrameConstants::kFrameSize + kNumRegs * kDoubleSize); in LeaveExitFrame()
/external/v8/src/
Dframes.h148 static const int kFrameSize = variable
172 static const int kFrameSize = variable
Ddeoptimizer.cc1265 unsigned fixed_frame_size = ArgumentsAdaptorFrameConstants::kFrameSize; in DoComputeArgumentsAdaptorFrame()
1373 unsigned fixed_frame_size = ConstructFrameConstants::kFrameSize; in DoComputeConstructStubFrame()
/external/v8/test/cctest/heap/
Dtest-heap.cc716 static const int kFrameSize = 32; in TEST() local
735 kRawBytesSize, kRawBytes, kFrameSize, kParameterCount, constant_pool); in TEST()
739 CHECK_EQ(array->frame_size(), kFrameSize); in TEST()
760 CHECK_EQ(array->frame_size(), kFrameSize); in TEST()