| 1 |
/* |
| 2 |
* $Id$ |
| 3 |
* |
| 4 |
* Copyright (C) 2003-2009 JNode.org |
| 5 |
* |
| 6 |
* This library is free software; you can redistribute it and/or modify it |
| 7 |
* under the terms of the GNU Lesser General Public License as published |
| 8 |
* by the Free Software Foundation; either version 2.1 of the License, or |
| 9 |
* (at your option) any later version. |
| 10 |
* |
| 11 |
* This library is distributed in the hope that it will be useful, but |
| 12 |
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 13 |
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public |
| 14 |
* License for more details. |
| 15 |
* |
| 16 |
* You should have received a copy of the GNU Lesser General Public License |
| 17 |
* along with this library; If not, write to the Free Software Foundation, Inc., |
| 18 |
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 19 |
*/ |
| 20 |
|
| 21 |
package org.jnode.vm; |
| 22 |
|
| 23 |
import org.vmmagic.unboxed.Address; |
| 24 |
|
| 25 |
/** |
| 26 |
* Class used to implement multi media support for |
| 27 |
* {@link org.jnode.system.MultiMediaMemoryResource}. |
| 28 |
* |
| 29 |
* @author Ewout Prangsma (epr@users.sourceforge.net) |
| 30 |
*/ |
| 31 |
public abstract class VmMultiMediaSupport { |
| 32 |
|
| 33 |
/** |
| 34 |
* Merge 32-bit ARGB values at the given memory address. |
| 35 |
* |
| 36 |
* @param src The source address (points to 32-bit ARGB int's) |
| 37 |
* @param dst The destination address (points to 32-bit RGB int's) |
| 38 |
* @param length The number of 32-bit int's to merge. |
| 39 |
*/ |
| 40 |
public abstract void setARGB32bpp(Address src, Address dst, int length); |
| 41 |
} |