diff options
Diffstat (limited to 'debian/transcode/transcode-1.1.7/aclib/ac_internal.h')
| -rw-r--r-- | debian/transcode/transcode-1.1.7/aclib/ac_internal.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/debian/transcode/transcode-1.1.7/aclib/ac_internal.h b/debian/transcode/transcode-1.1.7/aclib/ac_internal.h new file mode 100644 index 00000000..67a9c59f --- /dev/null +++ b/debian/transcode/transcode-1.1.7/aclib/ac_internal.h @@ -0,0 +1,42 @@ +/* + * ac_internal.h -- internal include file for aclib functions + * Written by Andrew Church <achurch@achurch.org> + * + * This file is part of transcode, a video stream processing tool. + * transcode is free software, distributable under the terms of the GNU + * General Public License (version 2 or later). See the file COPYING + * for details. + */ + +#ifndef ACLIB_AC_INTERNAL_H +#define ACLIB_AC_INTERNAL_H + + +/* Compiler hint that a condition is unlikely */ +#ifdef __GNUC__ +# define UNLIKELY(x) (__builtin_expect((x) != 0, 0)) +#else +# define UNLIKELY(x) (x) +#endif + +/* Are _all_ of the given acceleration flags (`test') available? */ +#define HAS_ACCEL(accel,test) (((accel) & (test)) == (test)) + +/* Initialization subfunctions */ +extern int ac_average_init(int accel); +extern int ac_imgconvert_init(int accel); +extern int ac_memcpy_init(int accel); +extern int ac_rescale_init(int accel); + + +#endif /* ACLIB_AC_INTERNAL_H */ + +/* + * Local variables: + * c-file-style: "stroustrup" + * c-file-offsets: ((case-label . *) (statement-case-intro . *)) + * indent-tabs-mode: nil + * End: + * + * vim: expandtab shiftwidth=4: + */ |
