RetroArch
Macros | Typedefs | Enumerations | Functions
movie.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <boolean.h>
#include <retro_common_api.h>
Include dependency graph for movie.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BSV_MAGIC   0x42535631
 
#define MAGIC_INDEX   0
 
#define SERIALIZER_INDEX   1
 
#define CRC_INDEX   2
 
#define STATE_SIZE_INDEX   3
 

Typedefs

typedef struct bsv_movie bsv_movie_t
 

Enumerations

enum  rarch_movie_type { RARCH_MOVIE_PLAYBACK = 0, RARCH_MOVIE_RECORD }
 
enum  bsv_ctl_state {
  BSV_MOVIE_CTL_NONE = 0, BSV_MOVIE_CTL_IS_INITED, BSV_MOVIE_CTL_SET_INPUT, BSV_MOVIE_CTL_SET_START_RECORDING,
  BSV_MOVIE_CTL_UNSET_START_RECORDING, BSV_MOVIE_CTL_SET_START_PLAYBACK, BSV_MOVIE_CTL_UNSET_START_PLAYBACK, BSV_MOVIE_CTL_UNSET_PLAYBACK,
  BSV_MOVIE_CTL_FRAME_REWIND, BSV_MOVIE_CTL_SET_END_EOF, BSV_MOVIE_CTL_SET_END, BSV_MOVIE_CTL_UNSET_END
}
 

Functions

void bsv_movie_deinit (void)
 
bool bsv_movie_init (void)
 
bool bsv_movie_is_playback_on (void)
 
bool bsv_movie_is_playback_off (void)
 
void bsv_movie_set_path (const char *path)
 
void bsv_movie_set_start_path (const char *path)
 
void bsv_movie_set_frame_start (void)
 
void bsv_movie_set_frame_end (void)
 
bool bsv_movie_get_input (int16_t *bsv_data)
 
bool bsv_movie_is_end_of_file (void)
 
bool bsv_movie_ctl (enum bsv_ctl_state state, void *data)
 
bool bsv_movie_check (void)
 
bool bsv_movie_init_handle (const char *path, enum rarch_movie_type type)
 

Macro Definition Documentation

◆ BSV_MAGIC

#define BSV_MAGIC   0x42535631

◆ CRC_INDEX

#define CRC_INDEX   2

◆ MAGIC_INDEX

#define MAGIC_INDEX   0

◆ SERIALIZER_INDEX

#define SERIALIZER_INDEX   1

◆ STATE_SIZE_INDEX

#define STATE_SIZE_INDEX   3

Typedef Documentation

◆ bsv_movie_t

typedef struct bsv_movie bsv_movie_t

Enumeration Type Documentation

◆ bsv_ctl_state

Enumerator
BSV_MOVIE_CTL_NONE 
BSV_MOVIE_CTL_IS_INITED 
BSV_MOVIE_CTL_SET_INPUT 
BSV_MOVIE_CTL_SET_START_RECORDING 
BSV_MOVIE_CTL_UNSET_START_RECORDING 
BSV_MOVIE_CTL_SET_START_PLAYBACK 
BSV_MOVIE_CTL_UNSET_START_PLAYBACK 
BSV_MOVIE_CTL_UNSET_PLAYBACK 
BSV_MOVIE_CTL_FRAME_REWIND 
BSV_MOVIE_CTL_SET_END_EOF 
BSV_MOVIE_CTL_SET_END 
BSV_MOVIE_CTL_UNSET_END 

◆ rarch_movie_type

Enumerator
RARCH_MOVIE_PLAYBACK 
RARCH_MOVIE_RECORD 

Function Documentation

◆ bsv_movie_check()

bool bsv_movie_check ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bsv_movie_ctl()

bool bsv_movie_ctl ( enum bsv_ctl_state  state,
void data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bsv_movie_deinit()

void bsv_movie_deinit ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bsv_movie_get_input()

bool bsv_movie_get_input ( int16_t bsv_data)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bsv_movie_init()

bool bsv_movie_init ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bsv_movie_init_handle()

bool bsv_movie_init_handle ( const char *  path,
enum rarch_movie_type  type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bsv_movie_is_end_of_file()

bool bsv_movie_is_end_of_file ( void  )

◆ bsv_movie_is_playback_off()

bool bsv_movie_is_playback_off ( void  )
Here is the caller graph for this function:

◆ bsv_movie_is_playback_on()

bool bsv_movie_is_playback_on ( void  )
Here is the caller graph for this function:

◆ bsv_movie_set_frame_end()

void bsv_movie_set_frame_end ( void  )
Here is the caller graph for this function:

◆ bsv_movie_set_frame_start()

void bsv_movie_set_frame_start ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bsv_movie_set_path()

void bsv_movie_set_path ( const char *  path)
Here is the caller graph for this function:

◆ bsv_movie_set_start_path()

void bsv_movie_set_start_path ( const char *  path)
Here is the caller graph for this function: