Rotate and Sprite MMX ASM functions 1.0

Version: 1.0

Downloads:145

Hits:2114

SourceNO

Link Broken:Report It!

Package:Without source

Price:$19

More info Download
 

Description


This is module with two very useful graphical functions: rotate and sprite images. They are written on assembler with MMX instructions and optimization. It increases performance of these procedures fourfold versus using CPU and FPU.

functions:
Rotate(Matrix, Src, Dest: Pointer; Width, Height: Integer; RotateX, RotateY: Integer);
Matrix - sin/cos matrix
Matrix[1, 1] := Round(Cos(Angle * PI / 180) * 16384);
Matrix[2, 1] := Round(Sin(Angle * PI / 180) * 16384);
Matrix[1, 2] := - Matrix[2, 1];
Matrix[2, 2] := Matrix[1, 1];
Src - source bitmap
Dest - destination bitmap
Width - width of source bitmap
Height - height of source bitmap
RotateX, RotateY - center of rotating

PlaceSprite(Picture, Sprite, BackgroundColor, PictureWidth, PictureHeight, SpriteWidth, SpriteHeight, StartX, StartY);
Picture - sorce bitmap; here will be stored result
Sprite - sprite bitmap
BackgroundColor - transparent color for sprite bitmap
PictureWidth - source bitmap width
PictureHeight - source bitmap height
SpriteWidth - sprite bitmap width
SpriteHeight - sprite bitmap height
StartX, StartY - left-top point for placing sprite on source bitmap

If you have any questions feel free to ask developer at alzv@softhome.net

Related:

User Reviews:

Write Review *
Your name *
Email *
(Your comments will be reviewed by our staff before they are posted)
Rate this product *

 

Related:

TCAD 2002.7

Always, Like me before, I want add some CAD function into my application before, Think this:If using OLE mode, it is too tired to understand its...

By: hongbin.fei

Shareware

TatukGIS Developer Kernel 7.2

The TatukGIS Developer Kernel (DK) is a comprehensive GIS development toolkit provided as a Delphi/C++Builder VCL. The toolkit incorporates 2,200...

By: TatukGIS

Shareware

dSprite 1.0

dSprite is a component for Delphi and an efficient tool, which allows you to establish 2D animations with just a couple of mouse clicks and a few...

By: Horst-Dieter Kassl

Shareware

MetaTree Component (for Delphi 5,6,7) 1.2

MetaProducts Corporation has released MetaTree Component version 1.1.0.42 for Delphi 5,6, a control to show hierarchical information as a graphs...

By: MetaProducts Corporation

Shareware

MetaTreeX Control 1.2

MetaTreeX is an ActiveX control that you can use in your Visual Basic, C++, VBA, Delphi applications to bring a new revolutionary look and feel to...

By: MetaProducts Corporation

Shareware

XLSReadWriteII.NET 2.00

XLSReadWriteII.NET for Delphi 2005/2006 and others, Win Forms Use this version for creating Win Forms applications with Delphi, Visual Studio and...

By: Axolot Data

Shareware

TGPS 1.11

Interface with your GPS receiver.

By: Axolot Data

Shareware

pgISQL (Interactive SQL for PostgreSQL) ver. 2.2.0 2.2.0

Interactive SQL for PostgreSQL is a powerfull database utility. It allows: Build SQL queries using SQL Editor with SQL syntax highlighting and SQL...

By: Sujit

Shareware

Syndicate Pro 1.0

Syndicate Pro multi-platform compatible. Syndicate Pro is server software for managing and distributing news headlines and other content over the ...

By: Sujit

Shareware

ESBPCS for VCL 4.2.2

ESB Professional Computation Suite (ESBPCS for VCL) provides a huge collection of Borland Delphi Routines and Components to make Data Entry and...

By: Glenn Crouch Homepage

Shareware
Related
  • 3D rotate
    Flash VR tool enables object rotation using an image sequence.
  • Sprite Software
    Publisher of Sprite Backup (for Pocket PC and SmartPhone), and Sprite Clone (for imaging mobile devices).
  • Z88DK Sprite Editor
    A sprite editor for use with z88dk (the Z88 Developer Kit).
  • Modeling Sprite Animation Using Finite State Automata
    Article by Diana Gruber on how to model sprite animation in a computer game.
  • ASM
    Very small and fast Java bytecode manipulation framework; can be used to dynamically generate stub classes or other proxy...
  • ASM
    Java bytecode manipulation and analysis framework. Site includes documentation, issue tracker, and download option. [BSD...
  • Z80-ASM
    A compiler of the Z80 CPU assembler, runs on DOS, Linux; written in C.
  • ASM Community
    For developers using assembler in Win32 environment. Includes message board, wiki book, and project hosting.
  • Systems/Asm
    Dignus' HLASM compatible assembler product for the IBM mainframe. It's available as a native assembler for OS/390 and...
  • Why to Move from ASM to C
    Brief text compares Assembly to C; lower to higher level language. ScienceProg.