/usr/include/allegro5/allegro_video.h is in liballegro-video5-dev 2:5.2.3.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | #ifndef __al_included_allegro_video_h
#define __al_included_allegro_video_h
#ifdef __cplusplus
extern "C" {
#endif
#include "allegro5/allegro5.h"
#include "allegro5/allegro_audio.h"
#if (defined ALLEGRO_MINGW32) || (defined ALLEGRO_MSVC) || (defined ALLEGRO_BCC32)
#ifndef ALLEGRO_STATICLINK
#ifdef ALLEGRO_VIDEO_SRC
#define _ALLEGRO_VIDEO_DLL __declspec(dllexport)
#else
#define _ALLEGRO_VIDEO_DLL __declspec(dllimport)
#endif
#else
#define _ALLEGRO_VIDEO_DLL
#endif
#endif
#if defined ALLEGRO_MSVC
#define ALLEGRO_VIDEO_FUNC(type, name, args) _ALLEGRO_VIDEO_DLL type __cdecl name args
#elif defined ALLEGRO_MINGW32
#define ALLEGRO_VIDEO_FUNC(type, name, args) extern type name args
#elif defined ALLEGRO_BCC32
#define ALLEGRO_VIDEO_FUNC(type, name, args) extern _ALLEGRO_VIDEO_DLL type name args
#else
#define ALLEGRO_VIDEO_FUNC AL_FUNC
#endif
/* Enum: ALLEGRO_VIDEO_EVENT_TYPE
*/
enum ALLEGRO_VIDEO_EVENT_TYPE
{
ALLEGRO_EVENT_VIDEO_FRAME_SHOW = 550,
ALLEGRO_EVENT_VIDEO_FINISHED = 551,
_ALLEGRO_EVENT_VIDEO_SEEK = 552 /* internal */
};
enum ALLEGRO_VIDEO_POSITION_TYPE
{
ALLEGRO_VIDEO_POSITION_ACTUAL = 0,
ALLEGRO_VIDEO_POSITION_VIDEO_DECODE = 1,
ALLEGRO_VIDEO_POSITION_AUDIO_DECODE = 2
};
/* Enum: ALLEGRO_VIDEO_POSITION_TYPE
*/
typedef enum ALLEGRO_VIDEO_POSITION_TYPE ALLEGRO_VIDEO_POSITION_TYPE;
typedef struct ALLEGRO_VIDEO ALLEGRO_VIDEO;
ALLEGRO_VIDEO_FUNC(ALLEGRO_VIDEO *, al_open_video, (char const *filename));
ALLEGRO_VIDEO_FUNC(void, al_close_video, (ALLEGRO_VIDEO *video));
ALLEGRO_VIDEO_FUNC(void, al_start_video, (ALLEGRO_VIDEO *video, ALLEGRO_MIXER *mixer));
ALLEGRO_VIDEO_FUNC(void, al_start_video_with_voice, (ALLEGRO_VIDEO *video, ALLEGRO_VOICE *voice));
ALLEGRO_VIDEO_FUNC(ALLEGRO_EVENT_SOURCE *, al_get_video_event_source, (ALLEGRO_VIDEO *video));
ALLEGRO_VIDEO_FUNC(void, al_set_video_playing, (ALLEGRO_VIDEO *video, bool playing));
ALLEGRO_VIDEO_FUNC(bool, al_is_video_playing, (ALLEGRO_VIDEO *video));
ALLEGRO_VIDEO_FUNC(double, al_get_video_audio_rate, (ALLEGRO_VIDEO *video));
ALLEGRO_VIDEO_FUNC(double, al_get_video_fps, (ALLEGRO_VIDEO *video));
ALLEGRO_VIDEO_FUNC(float, al_get_video_scaled_width, (ALLEGRO_VIDEO *video));
ALLEGRO_VIDEO_FUNC(float, al_get_video_scaled_height, (ALLEGRO_VIDEO *video));
ALLEGRO_VIDEO_FUNC(ALLEGRO_BITMAP *, al_get_video_frame, (ALLEGRO_VIDEO *video));
ALLEGRO_VIDEO_FUNC(double, al_get_video_position, (ALLEGRO_VIDEO *video, ALLEGRO_VIDEO_POSITION_TYPE which));
ALLEGRO_VIDEO_FUNC(bool, al_seek_video, (ALLEGRO_VIDEO *video, double pos_in_seconds));
ALLEGRO_VIDEO_FUNC(bool, al_init_video_addon, (void));
ALLEGRO_VIDEO_FUNC(void, al_shutdown_video_addon, (void));
ALLEGRO_VIDEO_FUNC(uint32_t, al_get_allegro_video_version, (void));
#ifdef __cplusplus
}
#endif
#endif
|