1 /*--------------------------------------------------------------------------* 2 Project: Revolution DSP ADPCM encoder 3 File: endian.h 4 5 Copyright (C)2001-2006 Nintendo All Rights Reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Log: endian.h,v $ 14 Revision 1.2 02/09/2006 07:07:35 aka 15 Changed copyright. 16 17 18 *--------------------------------------------------------------------------*/ 19 20 #ifndef __ENDIAN_H__ 21 #define __ENDIAN_H__ 22 23 #include "Types.h" 24 25 u32 reverse_endian_32(u32 i); 26 u16 reverse_endian_16(u16 i); 27 void reverse_buffer_16(u16 *p, int samples); 28 29 #endif // __ENDIAN_H__ 30