Merge mozilla-central to autoland. CLOSED TREE
[gecko.git] / gfx / ycbcr / yuv_row_other.cpp
blob437f90476df4062e97c14ecab5ae0f29917ac6ea
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.
5 #include "yuv_row.h"
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);
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);
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);