layout/svg/nsSVGMaskFrameNEON.h
author Ethan Lin <etlin@mozilla.com>
Mon, 12 Jan 2015 07:36:00 -0500
changeset 223591 da63d41b57e9de3d91d1660e36fc16a1ef2fa189
parent 222467 a437d18a4b9b3b3d8c36c8cd32f9f16f76dc47db
child 292789 f1631a25825bc0da92bbc8dcca350bcd893edfe0
permissions -rw-r--r--
Bug 1120294 - Use A8 format svg mask and refactor svg neon code. r=longsonr

/* -*- mode: c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* this source code form is subject to the terms of the mozilla public
 * license, v. 2.0. if a copy of the mpl was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef __NS_SVGMASKFRAMENEON_H__
#define __NS_SVGMASKFRAMENEON_H__

#include "mozilla/gfx/2D.h"

using namespace mozilla::gfx;

void
ComputesRGBLuminanceMask_NEON(const uint8_t *aSourceData,
                              int32_t aSourceStride,
                              uint8_t *aDestData,
                              int32_t aDestStride,
                              const IntSize &aSize,
                              float aOpacity);

#endif /* __NS_SVGMASKFRAMENEON_H__ */