mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
Fix typo in color constants: Marix -> Matrix
Change-Id: Ia5dc8b37ea7ddbb3dba923e24ef07633edb822eb
This commit is contained in:
parent
ed643f619d
commit
8f4b5c62b7
@ -96,15 +96,15 @@ const SharpYuvConversionMatrix* SharpYuvGetConversionMatrix(
|
|||||||
switch (matrix_type) {
|
switch (matrix_type) {
|
||||||
case kSharpYuvMatrixWebp:
|
case kSharpYuvMatrixWebp:
|
||||||
return &kWebpMatrix;
|
return &kWebpMatrix;
|
||||||
case kSharpYuvMarixRec601Limited:
|
case kSharpYuvMatrixRec601Limited:
|
||||||
return &kRec601LimitedMatrix;
|
return &kRec601LimitedMatrix;
|
||||||
case kSharpYuvMarixRec601Full:
|
case kSharpYuvMatrixRec601Full:
|
||||||
return &kRec601FullMatrix;
|
return &kRec601FullMatrix;
|
||||||
case kSharpYuvMarixRec709Limited:
|
case kSharpYuvMatrixRec709Limited:
|
||||||
return &kRec709LimitedMatrix;
|
return &kRec709LimitedMatrix;
|
||||||
case kSharpYuvMarixRec709Full:
|
case kSharpYuvMatrixRec709Full:
|
||||||
return &kRec709FullMatrix;
|
return &kRec709FullMatrix;
|
||||||
case kSharpYuvMarixNum:
|
case kSharpYuvMatrixNum:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -41,11 +41,11 @@ void SharpYuvComputeConversionMatrix(const SharpYuvColorSpace* yuv_color_space,
|
|||||||
// Enums for precomputed conversion matrices.
|
// Enums for precomputed conversion matrices.
|
||||||
typedef enum {
|
typedef enum {
|
||||||
kSharpYuvMatrixWebp = 0,
|
kSharpYuvMatrixWebp = 0,
|
||||||
kSharpYuvMarixRec601Limited,
|
kSharpYuvMatrixRec601Limited,
|
||||||
kSharpYuvMarixRec601Full,
|
kSharpYuvMatrixRec601Full,
|
||||||
kSharpYuvMarixRec709Limited,
|
kSharpYuvMatrixRec709Limited,
|
||||||
kSharpYuvMarixRec709Full,
|
kSharpYuvMatrixRec709Full,
|
||||||
kSharpYuvMarixNum
|
kSharpYuvMatrixNum
|
||||||
} SharpYuvMatrixType;
|
} SharpYuvMatrixType;
|
||||||
|
|
||||||
// Returns a pointer to a matrix for one of the predefined colorspaces.
|
// Returns a pointer to a matrix for one of the predefined colorspaces.
|
||||||
|
Loading…
Reference in New Issue
Block a user