00001 /* 00002 * This file is part of MPlayer. 00003 * 00004 * MPlayer is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * MPlayer is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License along 00015 * with MPlayer; if not, write to the Free Software Foundation, Inc., 00016 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00017 */ 00018 00019 #ifndef MPLAYER_MPBSWAP_H 00020 #define MPLAYER_MPBSWAP_H 00021 00022 #include <sys/types.h> 00023 #include "config.h" 00024 #include "libavutil/bswap.h" 00025 00026 #define bswap_16(v) av_bswap16(v) 00027 #define bswap_32(v) av_bswap32(v) 00028 #define le2me_16(v) av_le2ne16(v) 00029 #define le2me_32(v) av_le2ne32(v) 00030 #define le2me_64(v) av_le2ne64(v) 00031 #define be2me_16(v) av_be2ne16(v) 00032 #define be2me_32(v) av_be2ne32(v) 00033 00034 #endif /* MPLAYER_MPBSWAP_H */