SkYUVMath.h 463 B

12345678910111213141516171819
  1. /*
  2. * Copyright 2019 Google Inc.
  3. *
  4. * Use of this source code is governed by a BSD-style license that can be
  5. * found in the LICENSE file.
  6. */
  7. #ifndef SkYUVMath_DEFINED
  8. #define SkYUVMath_DEFINED
  9. #include "include/core/SkImageInfo.h"
  10. void SkColorMatrix_RGB2YUV(SkYUVColorSpace, float m[20]);
  11. void SkColorMatrix_YUV2RGB(SkYUVColorSpace, float m[20]);
  12. // Used to create the pre-compiled tables in SkYUVMath.cpp
  13. void SkColorMatrix_DumpYUVMatrixTables();
  14. #endif