gfx/ycbcr/yuv_row_other.cpp

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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* y_buf,
     9                               const uint8* u_buf,
    10                               const uint8* v_buf,
    11                               uint8* rgb_buf,
    12                               int width) {
    13   FastConvertYUVToRGB32Row_C(y_buf, u_buf, v_buf, rgb_buf, width, 1);
    14 }
    16 void ScaleYUVToRGB32Row(const uint8* y_buf,
    17                         const uint8* u_buf,
    18                         const uint8* v_buf,
    19                         uint8* rgb_buf,
    20                         int width,
    21                         int source_dx) {
    22   ScaleYUVToRGB32Row_C(y_buf, u_buf, v_buf, rgb_buf, width, source_dx);
    23 }
    25 void LinearScaleYUVToRGB32Row(const uint8* y_buf,
    26                               const uint8* u_buf,
    27                               const uint8* v_buf,
    28                               uint8* rgb_buf,
    29                               int width,
    30                               int source_dx) {
    31   LinearScaleYUVToRGB32Row_C(y_buf, u_buf, v_buf, rgb_buf, width, source_dx);
    32 }
    34 } 

mercurial