<?phpnamespace App\Alis;/** Constants of alis/src/video/ (video.h, fli.c) that are not in C. */final class FilmConst{ // eAlisVideo public const eAlisVideoNone = 0; public const eAlisVideoS512 = 1; public const eAlisVideoHAM6 = 2; public const eAlisVideoFLIC = 3; /** Film composition buffer size (video.h) */ public const kVgaLogicSize = 128400; /** Per-slot size of the FLI speech copies (fli.c) */ public const FLI_AUDIO_CHUNK_MAX = 4096; /** Minimum streaming read size (fli.c) */ public const FLI_STREAM_TOPUP = 32768; /** * PORT: films bigger than this are played through the streaming window of fli.c (the C does it only when * malloc of the whole file fails): the browser PHP keeps at most a 512 KB window instead of the whole film. */ public const kFilmStreamAbove = 0x100000; /** PORT: zero bytes kept past the film data so header peeks past the end read 0 (as the C reads garbage). */ public const kFilmPad = 16;}