1b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org/*
2b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *
4b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *  Use of this source code is governed by a BSD-style license
5b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *  that can be found in the LICENSE file in the root of the source
6b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *  tree. An additional intellectual property rights grant can be found
7b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *  in the file PATENTS.  All contributing project authors may
8b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *  be found in the AUTHORS file in the root of the source tree.
9b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org */
10b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
11b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org#ifndef SRC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_SOURCE_BASE_PRIMITIVES_H_
12b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org#define SRC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_SOURCE_BASE_PRIMITIVES_H_
13b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
14b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgnamespace webrtc {
15b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgclass VideoEngine;
16b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgclass ViEBase;
17b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgclass ViECodec;
18b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgclass ViENetwork;
1919f89a1ab2ebe75e38d192c42453e9c50aae0c64stefan@webrtc.orgclass ViERTP_RTCP;
20b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org}
21b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
22b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org// Tests a I420-to-I420 call. This test exercises the most basic WebRTC
23b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org// functionality by training the codec interface to recognize the most common
24b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org// codecs, and the initiating a I420 call. A video channel with a capture device
25b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org// must be set up prior to this call.
26b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgvoid TestI420CallSetup(webrtc::ViECodec* codec_interface,
27b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org                       webrtc::VideoEngine* video_engine,
28b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org                       webrtc::ViEBase* base_interface,
29b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org                       webrtc::ViENetwork* network_interface,
3019f89a1ab2ebe75e38d192c42453e9c50aae0c64stefan@webrtc.org                       webrtc::ViERTP_RTCP* rtp_rtcp_interface,
31b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org                       int video_channel,
32b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org                       const char* device_name);
33b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
34b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org#endif  // SRC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_SOURCE_BASE_PRIMITIVES_H_
35