WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
SoftwareImage.cpp File Reference
#include "SoftwareImage.h"
#include <algorithm>
#include <cmath>
#include <cstring>
#include "stb_image.h"
#include "stb_image_write.h"
#include "Logger.h"
Include dependency graph for SoftwareImage.cpp:

Go to the source code of this file.

Functions

static void bgraToRgba (const uint8_t *src, uint8_t *dst, int count)
 
static uint8_t clampByte (float v)
 
static float overlayChannel (float base, float blend)
 

Function Documentation

◆ bgraToRgba()

static void bgraToRgba ( const uint8_t *  src,
uint8_t *  dst,
int  count 
)
static

Definition at line 81 of file SoftwareImage.cpp.

Here is the caller graph for this function:

◆ clampByte()

static uint8_t clampByte ( float  v)
inlinestatic

Definition at line 129 of file SoftwareImage.cpp.

Here is the caller graph for this function:

◆ overlayChannel()

static float overlayChannel ( float  base,
float  blend 
)
inlinestatic

Definition at line 134 of file SoftwareImage.cpp.

Here is the caller graph for this function: