00001 /* 00002 * config_bfin.h 00003 * 00004 * Copyright (C) 2007 Marc Hoffman <marc.hoffman@analog.com> 00005 * 00006 * This file is part of FFmpeg. 00007 * 00008 * FFmpeg is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2.1 of the License, or (at your option) any later version. 00012 * 00013 * FFmpeg is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with FFmpeg; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00021 */ 00022 /* 00023 low level assembler interface wrapper 00024 00025 DEFUN(put_pixels_clamped,mL1, 00026 (DCTELEM *block, uint8_t *dest, int line_size)): 00027 00028 body 00029 00030 rts; 00031 */ 00032 00033 #ifndef FFMPEG_CONFIG_BFIN_H 00034 #define FFMPEG_CONFIG_BFIN_H 00035 00036 #ifndef DEFUN 00037 00038 #ifndef mL1 00039 #define mL1 .l1.text 00040 #endif 00041 #define mL3 .text 00042 00043 #define DEFUN(fname,where,interface) \ 00044 .section where; \ 00045 .global _ff_bfin_ ## fname ; \ 00046 .type _ff_bfin_ ## fname, STT_FUNC; \ 00047 .align 8; \ 00048 _ff_bfin_ ## fname 00049 00050 #define DEFUN_END(fname) \ 00051 .size _ff_bfin_ ## fname, . - _ff_bfin_ ## fname 00052 00053 00054 #endif 00055 00056 #endif /* FFMPEG_CONFIG_BFIN_H */