/* * Copyright (c) 2010 The WebM 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.
*/
/* \file * \brief Provides portable memory access primitives * * This function provides portable primitives for getting and setting of * signed and unsigned integers in 16, 24, and 32 bit sizes. The operations * can be performed on unaligned data regardless of hardware support for * unaligned accesses. * * The type used to pass the integral values may be changed by defining * MEM_VALUE_T with the appropriate type. The type given must be an integral * numeric type. * * The actual functions instantiated have the MEM_VALUE_T type name pasted * on to the symbol name. This allows the developer to instantiate these * operations for multiple types within the same translation unit. This is * of somewhat questionable utility, but the capability exists nonetheless. * Users not making use of this functionality should call the functions * without the type name appended, and the preprocessor will take care of * it. * * NOTE: This code is not supported on platforms where char > 1 octet ATM.
*/
#ifndef MAU_T /* Minimum Access Unit for this target */ #define MAU_T unsignedchar #endif
#ifndef MEM_VALUE_T #define MEM_VALUE_T int #endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.