| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 11 matching lines...) Expand all Loading... |
| 22 class NullEventFactory; | 22 class NullEventFactory; |
| 23 | 23 |
| 24 namespace webrtc { | 24 namespace webrtc { |
| 25 class Clock; | 25 class Clock; |
| 26 class CriticalSectionWrapper; | 26 class CriticalSectionWrapper; |
| 27 | 27 |
| 28 namespace rtpplayer { | 28 namespace rtpplayer { |
| 29 class VcmPayloadSinkFactory : public PayloadSinkFactoryInterface { | 29 class VcmPayloadSinkFactory : public PayloadSinkFactoryInterface { |
| 30 public: | 30 public: |
| 31 VcmPayloadSinkFactory(const std::string& base_out_filename, | 31 VcmPayloadSinkFactory(const std::string& base_out_filename, |
| 32 Clock* clock, bool protection_enabled, | 32 Clock* clock, |
| 33 bool protection_enabled, |
| 33 VCMVideoProtection protection_method, | 34 VCMVideoProtection protection_method, |
| 34 int64_t rtt_ms, uint32_t render_delay_ms, | 35 int64_t rtt_ms, |
| 36 uint32_t render_delay_ms, |
| 35 uint32_t min_playout_delay_ms); | 37 uint32_t min_playout_delay_ms); |
| 36 virtual ~VcmPayloadSinkFactory(); | 38 virtual ~VcmPayloadSinkFactory(); |
| 37 | 39 |
| 38 // PayloadSinkFactoryInterface | 40 // PayloadSinkFactoryInterface |
| 39 virtual PayloadSinkInterface* Create(RtpStreamInterface* stream); | 41 virtual PayloadSinkInterface* Create(RtpStreamInterface* stream); |
| 40 | 42 |
| 41 int DecodeAndProcessAll(bool decode_dual_frame); | 43 int DecodeAndProcessAll(bool decode_dual_frame); |
| 42 bool ProcessAll(); | 44 bool ProcessAll(); |
| 43 bool DecodeAll(); | 45 bool DecodeAll(); |
| 44 | 46 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 59 rtc::scoped_ptr<NullEventFactory> null_event_factory_; | 61 rtc::scoped_ptr<NullEventFactory> null_event_factory_; |
| 60 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_; | 62 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_; |
| 61 Sinks sinks_; | 63 Sinks sinks_; |
| 62 | 64 |
| 63 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(VcmPayloadSinkFactory); | 65 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(VcmPayloadSinkFactory); |
| 64 }; | 66 }; |
| 65 } // namespace rtpplayer | 67 } // namespace rtpplayer |
| 66 } // namespace webrtc | 68 } // namespace webrtc |
| 67 | 69 |
| 68 #endif // WEBRTC_MODULES_VIDEO_CODING_TEST_VCM_PAYLOAD_SINK_FACTORY_H_ | 70 #endif // WEBRTC_MODULES_VIDEO_CODING_TEST_VCM_PAYLOAD_SINK_FACTORY_H_ |
| OLD | NEW |