gfx/ycbcr/yuv_row_other.cpp

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/ycbcr/yuv_row_other.cpp	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +// Copyright (c) 2009 The Chromium Authors. All rights reserved.
     1.5 +// Use of this source code is governed by a BSD-style license that can be
     1.6 +// found in the LICENSE file.
     1.7 +
     1.8 +#include "yuv_row.h"
     1.9 +
    1.10 +extern "C" {
    1.11 +void FastConvertYUVToRGB32Row(const uint8* y_buf,
    1.12 +                              const uint8* u_buf,
    1.13 +                              const uint8* v_buf,
    1.14 +                              uint8* rgb_buf,
    1.15 +                              int width) {
    1.16 +  FastConvertYUVToRGB32Row_C(y_buf, u_buf, v_buf, rgb_buf, width, 1);
    1.17 +}
    1.18 +
    1.19 +void ScaleYUVToRGB32Row(const uint8* y_buf,
    1.20 +                        const uint8* u_buf,
    1.21 +                        const uint8* v_buf,
    1.22 +                        uint8* rgb_buf,
    1.23 +                        int width,
    1.24 +                        int source_dx) {
    1.25 +  ScaleYUVToRGB32Row_C(y_buf, u_buf, v_buf, rgb_buf, width, source_dx);
    1.26 +}
    1.27 +
    1.28 +void LinearScaleYUVToRGB32Row(const uint8* y_buf,
    1.29 +                              const uint8* u_buf,
    1.30 +                              const uint8* v_buf,
    1.31 +                              uint8* rgb_buf,
    1.32 +                              int width,
    1.33 +                              int source_dx) {
    1.34 +  LinearScaleYUVToRGB32Row_C(y_buf, u_buf, v_buf, rgb_buf, width, source_dx);
    1.35 +}
    1.36 +
    1.37 +} 

mercurial