Rev 2733 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2733 | Rev 8341 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | ;; ;; |
27 | ;; ;; |
28 | ;;================================================================================================;; |
28 | ;;================================================================================================;; |
29 | include 'xcf.inc' |
29 | include 'xcf.inc' |
30 | ;include '../../../../../system/board/trunk/debug.inc' |
30 | ;include '../../../../../system/board/trunk/debug.inc' |
Line 31... | Line -... | ||
31 | - | ||
32 | COMPOSITE_MODE equ MMX |
- | |
33 | ; MMX | pretty fast and compatible |
- | |
34 | ; SSE | a bit faster, but may be unsupported by some CPUs |
- | |
35 | 31 | ||
Line 36... | Line 32... | ||
36 | MAX_LAYERS = 255 |
32 | MAX_LAYERS = 255 |
37 | 33 | ||
38 | ;;================================================================================================;; |
34 | ;;================================================================================================;; |
Line 1614... | Line 1610... | ||
1614 | 1610 | ||
1615 | 1611 | ||
Line 1616... | Line -... | ||
1616 | ret |
- | |
1617 | endp |
- | |
1618 | - | ||
1619 | - | ||
1620 | match =MMX, COMPOSITE_MODE{include 'composite_mmx.asm'} |
1612 | ret |
1621 | match =SSE, COMPOSITE_MODE{include 'composite_sse.asm'} |
1613 | endp |
1622 | 1614 | ||
1623 | ;;================================================================================================;; |
1615 | ;;================================================================================================;; |
1624 | ;;////////////////////////////////////////////////////////////////////////////////////////////////;; |
1616 | ;;////////////////////////////////////////////////////////////////////////////////////////////////;; |
Line 1634... | Line 1626... | ||
1634 | dd 07, xcf._.parse_properties.07 |
1626 | dd 07, xcf._.parse_properties.07 |
1635 | dd 08, xcf._.parse_properties.08 |
1627 | dd 08, xcf._.parse_properties.08 |
1636 | dd 11, xcf._.parse_properties.11 |
1628 | dd 11, xcf._.parse_properties.11 |
1637 | dd 15, xcf._.parse_properties.15 |
1629 | dd 15, xcf._.parse_properties.15 |
1638 | xcf._.prop_table_end: |
1630 | xcf._.prop_table_end:>>>>>>>> |
1639 | - | ||
1640 | xcf._.composite_table.begin: |
- | |
1641 | .p00 dd 00, xcf._.composite_rgb_00, xcf._.composite_gray_00, xcf._.composite_indexed_00 ; Normal |
- | |
1642 | .p01 dd 01, xcf._.composite_rgb_01, xcf._.composite_gray_01, xcf._.composite_gray_01 ; Dissolve : random dithering to discrete alpha |
- | |
1643 | ; .p02 dd 02, xcf._.composite_rgb_02, 0, xcf._.composite_indexed_02 ; Behind : not selectable in the GIMP UI. not implemented |
- | |
1644 | .p03 dd 03, xcf._.composite_rgb_03, xcf._.composite_rgb_03, xcf._.composite_indexed_00 ; Multiply |
- | |
1645 | .p04 dd 04, xcf._.composite_rgb_04, xcf._.composite_rgb_04, xcf._.composite_indexed_00 ; Screen |
- | |
1646 | .p05 dd 05, xcf._.composite_rgb_05, xcf._.composite_rgb_05, xcf._.composite_indexed_00 ; Overlay |
- | |
1647 | .p06 dd 06, xcf._.composite_rgb_06, xcf._.composite_rgb_06, xcf._.composite_indexed_00 ; Difference |
- | |
1648 | .p07 dd 07, xcf._.composite_rgb_07, xcf._.composite_rgb_07, xcf._.composite_indexed_00 ; Addition |
- | |
1649 | .p08 dd 08, xcf._.composite_rgb_08, xcf._.composite_rgb_08, xcf._.composite_indexed_00 ; Subtract |
- | |
1650 | .p09 dd 09, xcf._.composite_rgb_09, xcf._.composite_rgb_09, xcf._.composite_indexed_00 ; Darken Only |
- | |
1651 | .p10 dd 10, xcf._.composite_rgb_10, xcf._.composite_rgb_10, xcf._.composite_indexed_00 ; Lighten Only |
- | |
1652 | .p11 dd 11, xcf._.composite_rgb_11, xcf._.composite_gray_00, xcf._.composite_indexed_00 ; Hue (H of HSV) |
- | |
1653 | .p12 dd 12, xcf._.composite_rgb_12, xcf._.composite_gray_00, xcf._.composite_indexed_00 ; Saturation (S of HSV) |
- | |
1654 | .p13 dd 13, xcf._.composite_rgb_13, xcf._.composite_gray_00, xcf._.composite_indexed_00 ; Color (H and S of HSL) |
- | |
1655 | .p14 dd 14, xcf._.composite_rgb_14, xcf._.composite_gray_00, xcf._.composite_indexed_00 ; Value (V of HSV) |
- | |
1656 | .p15 dd 15, xcf._.composite_rgb_15, xcf._.composite_rgb_15, xcf._.composite_indexed_00 ; Divide |
- | |
1657 | .p16 dd 16, xcf._.composite_rgb_16, xcf._.composite_rgb_16, xcf._.composite_indexed_00 ; Dodge |
- | |
1658 | .p17 dd 17, xcf._.composite_rgb_17, xcf._.composite_rgb_17, xcf._.composite_indexed_00 ; Burn |
- | |
1659 | .p18 dd 18, xcf._.composite_rgb_18, xcf._.composite_rgb_18, xcf._.composite_indexed_00 ; Hard Light |
- | |
1660 | .p19 dd 19, xcf._.composite_rgb_05, xcf._.composite_rgb_05, xcf._.composite_indexed_00 ; Soft Light : XCF >= 2 only ('soft light' == 'overlay') |
- | |
1661 | .p20 dd 20, xcf._.composite_rgb_20, xcf._.composite_rgb_20, xcf._.composite_indexed_00 ; Grain Extract : XCF >= 2 only |
- | |
1662 | .p21 dd 21, xcf._.composite_rgb_21, xcf._.composite_rgb_21, xcf._.composite_indexed_00 ; Grain Merge : XCF >= 2 only |
- | |
1663 | xcf._.composite_table.end:>>>>>>>> |
- |