Flutter Engine
The Flutter Engine
|
#include <skdiff.h>
Public Types | |
enum | Result { kEqualBits_Result , kEqualPixels_Result , kDifferentPixels_Result , kDifferentSizes_Result , kCouldNotCompare_Result , kUnknown_Result , kResultCount } |
Public Member Functions | |
DiffRecord () | |
Static Public Member Functions | |
static Result | getResultByName (const char *name) |
static const char * | getResultDescription (Result result) |
Public Attributes | |
DiffResource | fBase |
DiffResource | fComparison |
DiffResource | fDifference |
DiffResource | fWhite |
float | fFractionDifference |
float | fWeightedFraction |
float | fAverageMismatchA |
float | fAverageMismatchR |
float | fAverageMismatchG |
float | fAverageMismatchB |
uint32_t | fTotalMismatchA |
uint32_t | fMaxMismatchA |
uint32_t | fMaxMismatchR |
uint32_t | fMaxMismatchG |
uint32_t | fMaxMismatchB |
Result | fResult |
Which category of diff result. More... | |
Static Public Attributes | |
static char const *const | ResultNames [DiffRecord::kResultCount] |
enum DiffRecord::Result |
Enumerator | |
---|---|
kEqualBits_Result | |
kEqualPixels_Result | |
kDifferentPixels_Result | |
kDifferentSizes_Result | |
kCouldNotCompare_Result | |
kUnknown_Result | |
kResultCount |
|
inline |
Definition at line 111 of file skdiff.h.
|
static |
Returns the Result with this name. If there is no Result with this name, returns kResultCount.
Definition at line 23 of file skdiff.cpp.
|
static |
Returns a text description of the given Result type.
Definition at line 41 of file skdiff.cpp.
DiffResource DiffRecord::fBase |
DiffResource DiffRecord::fComparison |
DiffResource DiffRecord::fDifference |
float DiffRecord::fFractionDifference |
DiffResource DiffRecord::fWhite |
|
static |