convolver_mips_dspr2.h 999 B

12345678910111213141516171819202122232425
  1. // Copyright (c) 2013 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef SKIA_EXT_CONVOLVER_MIPS_DSPR2_H_
  5. #define SKIA_EXT_CONVOLVER_MIPS_DSPR2_H_
  6. #include "skia/ext/convolver.h"
  7. namespace skia {
  8. void ConvolveVertically_mips_dspr2(const ConvolutionFilter1D::Fixed* filter_val,
  9. int filter_length,
  10. unsigned char* const* source_data_rows,
  11. int pixel_width,
  12. unsigned char* out_row,
  13. bool has_alpha);
  14. void ConvolveHorizontally_mips_dspr2(const unsigned char* src_data,
  15. const ConvolutionFilter1D& filter,
  16. unsigned char* out_row,
  17. bool has_alpha);
  18. } // namespace skia
  19. #endif // SKIA_EXT_CONVOLVER_MIPS_DSPR2_H_