RetroArch
Functions
netplay_delta.c File Reference
#include <stdlib.h>
#include <sys/types.h>
#include <boolean.h>
#include <encodings/crc32.h>
#include "netplay_private.h"
Include dependency graph for netplay_delta.c:

Functions

static void clear_input (netplay_input_state_t istate)
 
bool netplay_delta_frame_ready (netplay_t *netplay, struct delta_frame *delta, uint32_t frame)
 
uint32_t netplay_delta_frame_crc (netplay_t *netplay, struct delta_frame *delta)
 
static void free_input_state (netplay_input_state_t *list)
 
void netplay_delta_frame_free (struct delta_frame *delta)
 
netplay_input_state_t netplay_input_state_for (netplay_input_state_t *list, uint32_t client_num, size_t size, bool must_create, bool must_not_create)
 
uint32_t netplay_expected_input_size (netplay_t *netplay, uint32_t devices)
 

Function Documentation

◆ clear_input()

static void clear_input ( netplay_input_state_t  istate)
static
Here is the caller graph for this function:

◆ free_input_state()

static void free_input_state ( netplay_input_state_t list)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ netplay_delta_frame_crc()

uint32_t netplay_delta_frame_crc ( netplay_t netplay,
struct delta_frame delta 
)

netplay_delta_frame_crc

Get the CRC for the serialization of this frame.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ netplay_delta_frame_free()

void netplay_delta_frame_free ( struct delta_frame delta)

netplay_delta_frame_free

Free a delta frame's dependencies

Here is the call graph for this function:
Here is the caller graph for this function:

◆ netplay_delta_frame_ready()

bool netplay_delta_frame_ready ( netplay_t netplay,
struct delta_frame delta,
uint32_t  frame 
)

netplay_delta_frame_ready

Prepares, if possible, a delta frame for input, and reports whether it is ready.

Returns: True if the delta frame is ready for input at the given frame, false otherwise.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ netplay_expected_input_size()

uint32_t netplay_expected_input_size ( netplay_t netplay,
uint32_t  devices 
)

netplay_expected_input_size

Size in words for a given set of devices.

Here is the caller graph for this function:

◆ netplay_input_state_for()

netplay_input_state_t netplay_input_state_for ( netplay_input_state_t list,
uint32_t  client_num,
size_t  size,
bool  must_create,
bool  must_not_create 
)

netplay_input_state_for

Get an input state for a particular client

Here is the call graph for this function:
Here is the caller graph for this function: