|
RetroArch
|
#include <string.h>#include <file/file_path.h>#include <compat/strl.h>#include <string/stdstring.h>#include <retro_math.h>#include "record_driver.h"#include "../command.h"#include "../configuration.h"#include "../driver.h"#include "../gfx/video_driver.h"#include "../retroarch.h"#include "../verbosity.h"#include "../msg_hash.h"#include "../list_special.h"#include "../paths.h"Variables | |
| static const record_driver_t * | record_drivers [] |
| unsigned | recording_width = 0 |
| unsigned | recording_height = 0 |
| size_t | recording_gpu_width = 0 |
| size_t | recording_gpu_height = 0 |
| static bool | recording_enable = false |
| static bool | streaming_enable = false |
| static const record_driver_t * | recording_driver = NULL |
| void * | recording_data = NULL |
config_get_record_driver_options:
Get an enumerated list of all record driver names, separated by '|'.
Returns: string listing of all record driver names, separated by '|'.
| const record_driver_t* ffemu_find_backend | ( | const char * | ident | ) |
ffemu_find_backend: : Identifier of driver to find.
Finds a recording driver with the name .
Returns: recording driver handle if successful, otherwise NULL.
record_driver_find_handle: : index of driver to get handle to.
Returns: handle to record driver at index. Can be NULL if nothing found.
| const char* record_driver_find_ident | ( | int | idx | ) |
record_driver_find_ident: : index of driver to get handle to.
Returns: Human-readable identifier of record driver at index. Can be NULL if nothing found.
| bool record_driver_init_first | ( | const record_driver_t ** | backend, |
| void ** | data, | ||
| const struct record_params * | params | ||
| ) |
gfx_ctx_init_first: : Recording backend handle. : Recording data handle. : Recording info parameters.
Finds first suitable recording context driver and initializes.
Returns: true (1) if successful, otherwise false (0).
| unsigned* recording_driver_get_height | ( | void | ) |
| unsigned* recording_driver_get_width | ( | void | ) |
| void recording_dump_frame | ( | const void * | data, |
| unsigned | width, | ||
| unsigned | height, | ||
| size_t | pitch, | ||
| bool | is_idle | ||
| ) |
recording_init:
Initializes recording.
Returns: true (1) if successful, otherwise false (0).
|
static |
|
static |
| size_t recording_gpu_height = 0 |
| size_t recording_gpu_width = 0 |
| unsigned recording_height = 0 |
| unsigned recording_width = 0 |
1.8.15