yuv_row_other.cpp (1232B)
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 5 #include "yuv_row.h" 6 7 extern "C" { 8 void FastConvertYUVToRGB32Row(const uint8_t* y_buf, 9 const uint8_t* u_buf, 10 const uint8_t* v_buf, 11 uint8_t* rgb_buf, 12 int width) { 13 FastConvertYUVToRGB32Row_C(y_buf, u_buf, v_buf, rgb_buf, width, 1); 14 } 15 16 void ScaleYUVToRGB32Row(const uint8_t* y_buf, 17 const uint8_t* u_buf, 18 const uint8_t* v_buf, 19 uint8_t* rgb_buf, 20 int width, 21 int source_dx) { 22 ScaleYUVToRGB32Row_C(y_buf, u_buf, v_buf, rgb_buf, width, source_dx); 23 } 24 25 void LinearScaleYUVToRGB32Row(const uint8_t* y_buf, 26 const uint8_t* u_buf, 27 const uint8_t* v_buf, 28 uint8_t* rgb_buf, 29 int width, 30 int source_dx) { 31 LinearScaleYUVToRGB32Row_C(y_buf, u_buf, v_buf, rgb_buf, width, source_dx); 32 } 33 34 }