Mercurial > libavcodec.hg
comparison armv4l/dsputil_iwmmxt_rnd.h @ 5828:1876bc447aa4 libavcodec
Add missing multiple inclusion guards.
author | diego |
---|---|
date | Wed, 17 Oct 2007 09:31:06 +0000 |
parents | c8c591fe26f8 |
children | 533bfc034f45 |
comparison
equal
deleted
inserted
replaced
5827:5577fd4f31e1 | 5828:1876bc447aa4 |
---|---|
16 * | 16 * |
17 * You should have received a copy of the GNU Lesser General Public | 17 * You should have received a copy of the GNU Lesser General Public |
18 * License along with FFmpeg; if not, write to the Free Software | 18 * License along with FFmpeg; if not, write to the Free Software |
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 */ | 20 */ |
21 | |
22 #ifndef FFMPEG_DSPUTIL_IWMMXT_RND_H | |
23 #define FFMPEG_DSPUTIL_IWMMXT_RND_H | |
21 | 24 |
22 void DEF(put, pixels8)(uint8_t *block, const uint8_t *pixels, const int line_size, int h) | 25 void DEF(put, pixels8)(uint8_t *block, const uint8_t *pixels, const int line_size, int h) |
23 { | 26 { |
24 int stride = line_size; | 27 int stride = line_size; |
25 __asm__ __volatile__ ( | 28 __asm__ __volatile__ ( |
1110 "bne 1b \n\t" | 1113 "bne 1b \n\t" |
1111 : [h]"+r"(h), [pixels]"+r"(pixels), [block]"+r"(block) | 1114 : [h]"+r"(h), [pixels]"+r"(pixels), [block]"+r"(block) |
1112 : [line_size]"r"(line_size) | 1115 : [line_size]"r"(line_size) |
1113 : "r12", "memory"); | 1116 : "r12", "memory"); |
1114 } | 1117 } |
1118 | |
1119 #endif /* FFMPEG_DSPUTIL_IWMMXT_RND_H */ |