RetroArch
Functions
rbmp_encode.c File Reference
#include <stdlib.h>
#include <string.h>
#include <streams/file_stream.h>
#include <formats/rbmp.h>
Include dependency graph for rbmp_encode.c:

Functions

static bool write_header_bmp (RFILE *file, unsigned width, unsigned height, bool is32bpp)
 
static void dump_line_565_to_24 (uint8_t *line, const uint16_t *src, unsigned width)
 
static void dump_line_32_to_24 (uint8_t *line, const uint32_t *src, unsigned width)
 
static void dump_content (RFILE *file, const void *frame, int width, int height, int pitch, enum rbmp_source_type type)
 
bool rbmp_save_image (const char *filename, const void *frame, unsigned width, unsigned height, unsigned pitch, enum rbmp_source_type type)
 

Function Documentation

◆ dump_content()

static void dump_content ( RFILE file,
const void frame,
int  width,
int  height,
int  pitch,
enum rbmp_source_type  type 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dump_line_32_to_24()

static void dump_line_32_to_24 ( uint8_t line,
const uint32_t src,
unsigned  width 
)
static
Here is the caller graph for this function:

◆ dump_line_565_to_24()

static void dump_line_565_to_24 ( uint8_t line,
const uint16_t src,
unsigned  width 
)
static
Here is the caller graph for this function:

◆ rbmp_save_image()

bool rbmp_save_image ( const char *  filename,
const void frame,
unsigned  width,
unsigned  height,
unsigned  pitch,
enum rbmp_source_type  type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_header_bmp()

static bool write_header_bmp ( RFILE file,
unsigned  width,
unsigned  height,
bool  is32bpp 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: