/* * Copyright 2011 The LibYuv 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 "libyuv/video_common.h" #ifdef __cplusplus namespace libyuv { extern "C" { #endif struct FourCCAliasEntry { … }; #define NUM_ALIASES … static const struct FourCCAliasEntry kFourCCAliases[NUM_ALIASES] = …; // TODO(fbarchard): Consider mapping kCMPixelFormat_32BGRA to FOURCC_ARGB. // {FOURCC_BGRA, FOURCC_ARGB}, // kCMPixelFormat_32BGRA LIBYUV_API uint32_t CanonicalFourCC(uint32_t fourcc) { … } #ifdef __cplusplus } // extern "C" } // namespace libyuv #endif