Files
veejay/veejay-current/veejay-server/aclib/img_internal.h
Niels Elburg d8e6f98d53 Initial checkin of veejay 1.4
git-svn-id: svn://code.dyne.org/veejay/trunk@1172 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2008-11-10 20:16:24 +00:00

41 lines
1.3 KiB
C

/*
* img_internal.h - imgconvert internal use header
* 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_IMG_INTERNAL_H
#define ACLIB_IMG_INTERNAL_H
/* Type of a conversion function */
typedef int (*ConversionFunc)(uint8_t **src, uint8_t **dest,
int width, int height);
/* Function to register a conversion */
extern int register_conversion(ImageFormat srcfmt, ImageFormat destfmt,
ConversionFunc function);
/* Initialization routines */
extern int ac_imgconvert_init(int accel);
extern int ac_imgconvert_init_yuv_planar(int accel);
extern int ac_imgconvert_init_yuv_packed(int accel);
extern int ac_imgconvert_init_yuv_mixed(int accel);
extern int ac_imgconvert_init_yuv_rgb(int accel);
extern int ac_imgconvert_init_rgb_packed(int accel);
#endif /* ACLIB_IMG_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:
*/