mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
Issue #2101 - Part 3: Update libyuv
Updated to version 1861, git revision 88b050f337cc0ca2a51800fe7bf4737222c87344 from https://chromium.googlesource.com/libyuv/libyuv/
This commit is contained in:
parent
42f3296899
commit
a4d1f57b9e
222 changed files with 111006 additions and 37106 deletions
|
|
@ -20,7 +20,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#if !defined(INT_TYPES_DEFINED) && !defined(UINT8_TYPE_DEFINED)
|
||||
typedef unsigned char uint8;
|
||||
typedef unsigned char uint8_t;
|
||||
#define UINT8_TYPE_DEFINED
|
||||
#endif
|
||||
|
||||
|
|
@ -31,7 +31,9 @@ static const double kMaxPSNR = 128.0;
|
|||
#if !defined(HAVE_JPEG)
|
||||
// Computer Sum of Squared Error (SSE).
|
||||
// Pass this to ComputePSNR for final result.
|
||||
double ComputeSumSquareError(const uint8* org, const uint8* rec, int size);
|
||||
double ComputeSumSquareError(const uint8_t* src_a,
|
||||
const uint8_t* src_b,
|
||||
int count);
|
||||
#endif
|
||||
|
||||
// PSNR formula: psnr = 10 * log10 (Peak Signal^2 * size / sse)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue