yuv_row_other.cpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // Copyright (c) 2009 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. #include "yuv_row.h"
  5. extern "C" {
  6. void FastConvertYUVToRGB32Row(const uint8* y_buf,
  7. const uint8* u_buf,
  8. const uint8* v_buf,
  9. uint8* rgb_buf,
  10. int width) {
  11. FastConvertYUVToRGB32Row_C(y_buf, u_buf, v_buf, rgb_buf, width, 1);
  12. }
  13. void ScaleYUVToRGB32Row(const uint8* y_buf,
  14. const uint8* u_buf,
  15. const uint8* v_buf,
  16. uint8* rgb_buf,
  17. int width,
  18. int source_dx) {
  19. ScaleYUVToRGB32Row_C(y_buf, u_buf, v_buf, rgb_buf, width, source_dx);
  20. }
  21. void LinearScaleYUVToRGB32Row(const uint8* y_buf,
  22. const uint8* u_buf,
  23. const uint8* v_buf,
  24. uint8* rgb_buf,
  25. int width,
  26. int source_dx) {
  27. LinearScaleYUVToRGB32Row_C(y_buf, u_buf, v_buf, rgb_buf, width, source_dx);
  28. }
  29. }