| Index: include/libyuv/row.h
|
| diff --git a/include/libyuv/row.h b/include/libyuv/row.h
|
| index d5e7eacdca18736e558ba333f75e41f7bf499f3d..66c4a649debc39132ff9cb904839cd626d13f01b 100644
|
| --- a/include/libyuv/row.h
|
| +++ b/include/libyuv/row.h
|
| @@ -456,6 +456,15 @@ struct YuvConstants {
|
| lvec16 kYToRgb;
|
| };
|
|
|
| +// Offsets into YuvConstants structure
|
| +#define KUVTOB 0
|
| +#define KUVTOG 32
|
| +#define KUVTOR 64
|
| +#define KUVBIASB 96
|
| +#define KUVBIASG 128
|
| +#define KUVBIASR 160
|
| +#define KYTORGB 192
|
| +
|
| struct YuvConstantsNEON {
|
| uvec8 kUVToRB;
|
| uvec8 kUVToG;
|
| @@ -463,6 +472,14 @@ struct YuvConstantsNEON {
|
| vec32 kYToRgb;
|
| };
|
|
|
| +extern struct YuvConstants kYuvConstants;
|
| +extern struct YuvConstants kYvuConstants;
|
| +extern struct YuvConstants kYuvJConstants;
|
| +extern struct YuvConstants kYuvHConstants;
|
| +extern struct YuvConstantsNEON kYuvConstantsNEON;
|
| +extern struct YuvConstantsNEON kYuvJConstantsNEON;
|
| +extern struct YuvConstantsNEON kYuvHConstantsNEON;
|
| +
|
| #if defined(__APPLE__) || defined(__x86_64__) || defined(__llvm__)
|
| #define OMITFP
|
| #else
|
|
|