/* * Copyright (c) 2010 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #include "media/base/video_common.h" #include "api/array_view.h" #include "rtc_base/arraysize.h" #include "rtc_base/checks.h" #include "rtc_base/strings/string_builder.h" namespace cricket { struct FourCCAliasEntry { … }; static const FourCCAliasEntry kFourCCAliases[] = …; uint32_t CanonicalFourCC(uint32_t fourcc) { … } // The C++ standard requires a namespace-scope definition of static const // integral types even when they are initialized in the declaration (see // [class.static.data]/4), but MSVC with /Ze is non-conforming and treats that // as a multiply defined symbol error. See Also: // http://msdn.microsoft.com/en-us/library/34h23df8.aspx #ifndef _MSC_EXTENSIONS const int64_t VideoFormat::kMinimumInterval; // Initialized in header. #endif std::string VideoFormat::ToString() const { … } int GreatestCommonDivisor(int a, int b) { … } int LeastCommonMultiple(int a, int b) { … } } // namespace cricket