42 lines
1.4 KiB
C
42 lines
1.4 KiB
C
/*
|
|
*
|
|
* Singe 2
|
|
* Copyright (C) 2006-2024 Scott Duensing <scott@kangaroopunch.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 3
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
* 02110-1301, USA.
|
|
*
|
|
*/
|
|
|
|
|
|
#ifndef FRAMEFILE_H
|
|
#define FRAMEFILE_H
|
|
|
|
|
|
#include <SDL2/SDL.h>
|
|
|
|
#include "common.h"
|
|
|
|
|
|
int64_t frameFileGetFrame(int32_t frameFileHandle, int32_t videoHandle);
|
|
int32_t frameFileInit(void);
|
|
int32_t frameFileLoad(char *filename, char *indexPath, bool stretchVideo, SDL_Renderer *renderer, bool showCalculated);
|
|
int32_t frameFileSeek(int32_t frameFileHandle, int64_t seekFrame, int32_t *videoHandle, int64_t *actualFrame);
|
|
int32_t frameFileQuit(void);
|
|
int32_t frameFileUnload(int32_t frameFileHandle);
|
|
int32_t frameFileUpdate(int32_t frameFileHandle, int32_t *videoHandle);
|
|
|
|
|
|
#endif // FRAMEFILE_H
|