#ifndef CLIB_MPEGA_PROTOS_H
#define CLIB_MPEGA_PROTOS_H

/*
    *** Automatically generated from '/home/aros/ABIv0/Build/20120820/AROS/contrib/libs/mpega/mpega.conf'. Edits will be lost. ***
    Copyright © 1995-2012, The AROS Development Team. All rights reserved.
*/

#include <aros/libcall.h>


#include <exec/types.h>
#include <libraries/mpega.h>


__BEGIN_DECLS

AROS_LP2(MPEGA_STREAM *, MPEGA_open,
         AROS_LPA(char *, stream_name, A0),
         AROS_LPA(MPEGA_CTRL *, ctrl, A1),
         LIBBASETYPEPTR, mpegaBase, 5, mpega
);
AROS_LP1(void, MPEGA_close,
         AROS_LPA(MPEGA_STREAM *, mpega_stream, A0),
         LIBBASETYPEPTR, mpegaBase, 6, mpega
);
AROS_LP2(LONG, MPEGA_decode_frame,
         AROS_LPA(MPEGA_STREAM *, mpega_stream, A0),
         AROS_LPA(WORD **, pcm, A1),
         LIBBASETYPEPTR, mpegaBase, 7, mpega
);
AROS_LP2(LONG, MPEGA_seek,
         AROS_LPA(MPEGA_STREAM *, mpega_stream, A0),
         AROS_LPA(ULONG, ms_time_position, D0),
         LIBBASETYPEPTR, mpegaBase, 8, mpega
);
AROS_LP2(LONG, MPEGA_time,
         AROS_LPA(MPEGA_STREAM *, mpega_stream, A0),
         AROS_LPA(ULONG *, ms_time_position, A1),
         LIBBASETYPEPTR, mpegaBase, 9, mpega
);
AROS_LP2(LONG, MPEGA_find_sync,
         AROS_LPA(UBYTE *, buffer, A0),
         AROS_LPA(LONG, buffer_size, D0),
         LIBBASETYPEPTR, mpegaBase, 10, mpega
);
AROS_LP2(LONG, MPEGA_scale,
         AROS_LPA(MPEGA_STREAM *, mpega_stream, A0),
         AROS_LPA(LONG, scale_percent, D0),
         LIBBASETYPEPTR, mpegaBase, 11, mpega
);

__END_DECLS

#endif /* CLIB_MPEGA_PROTOS_H */
