/* * Copyright (c) 2016, Alliance for Open Media. All rights reserved. * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at www.aomedia.org/license/software. If the Alliance for Open * Media Patent License 1.0 was not distributed with this source code in the * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
*/
/* \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.