Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Side by Side Diff: webrtc/modules/audio_coding/neteq/tools/neteq_input.h

Issue 2328483002: Revert of Setting up an RTP input fuzzer for NetEq (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // returned one is pre-fetched in the NetEqInput object, such that future 58 // returned one is pre-fetched in the NetEqInput object, such that future
59 // calls to NextPacketTime() or NextHeader() will return information from that 59 // calls to NextPacketTime() or NextHeader() will return information from that
60 // packet. 60 // packet.
61 virtual std::unique_ptr<PacketData> PopPacket() = 0; 61 virtual std::unique_ptr<PacketData> PopPacket() = 0;
62 62
63 // Move to the next output event. This will make NextOutputEventTime() return 63 // Move to the next output event. This will make NextOutputEventTime() return
64 // a new value (potentially the same if several output events share the same 64 // a new value (potentially the same if several output events share the same
65 // time). 65 // time).
66 virtual void AdvanceOutputEvent() = 0; 66 virtual void AdvanceOutputEvent() = 0;
67 67
68 // Returns true if the source has come to an end. An implementation must 68 // Returns true if the source has come to an end.
69 // eventually return true from this method, or the test will end up in an
70 // infinite loop.
71 virtual bool ended() const = 0; 69 virtual bool ended() const = 0;
72 70
73 // Returns the RTP header for the next packet, i.e., the packet that will be 71 // Returns the RTP header for the next packet, i.e., the packet that will be
74 // delivered next by PopPacket(). 72 // delivered next by PopPacket().
75 virtual rtc::Optional<RTPHeader> NextHeader() const = 0; 73 virtual rtc::Optional<RTPHeader> NextHeader() const = 0;
76 }; 74 };
77 75
78 } // namespace test 76 } // namespace test
79 } // namespace webrtc 77 } // namespace webrtc
80 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_INPUT_H_ 78 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_INPUT_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/encode_neteq_input.cc ('k') | webrtc/test/fuzzers/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698