Subversion Repositories Kolibri OS

Rev

Rev 999 | Rev 1102 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 999 Rev 1079
Line 472... Line 472...
472
	sub	edx, eax
472
	sub	edx, eax
473
	jnz	.end2
473
	jnz	.end2
474
; image type: 8 bpp for grayscale JPEGs, 24 bpp for normal,
474
; image type: 8 bpp for grayscale JPEGs, 24 bpp for normal,
475
; 32 bpp for Adobe YCCK
475
; 32 bpp for Adobe YCCK
476
	push	Image.bpp8
476
	push	Image.bpp8
477
	pop	eax
477
	pop	eax	; Image.bpp8 = 1
478
	cmp	edi, 1
478
	cmp	edi, eax
479
	jz	@f
479
	jz	@f
480
	inc	eax	; Image.bpp24 = 2
480
	inc	eax	; Image.bpp24 = 2
481
	cmp	edi, 3
481
	cmp	edi, 3
482
	jz	@f
482
	jz	@f
483
	inc	eax	; Image.bpp32 = 3
483
	inc	eax	; Image.bpp32 = 3
Line 1619... Line 1619...
1619
	inc	eax
1619
	inc	eax
1620
	sub	eax, edx
1620
	sub	eax, edx
1621
	stosd		; dd VFactor_i+1 - (height % VFactor_i)
1621
	stosd		; dd VFactor_i+1 - (height % VFactor_i)
1622
	pop	ecx
1622
	pop	ecx
1623
	xor	eax, eax
1623
	xor	eax, eax
1624
	cmp	ebp, 1
1624
	test	ebp, ebp
1625
	cmc
1625
	setnp	al
1626
	rcr	eax, 1
1626
	ror	eax, 1
1627
	stosd		; dd DCPrediction
1627
	stosd		; dd DCPrediction
1628
	mov	eax, ebp
1628
	mov	eax, ebp
1629
	stosd		; dd ComponentOffset
1629
	stosd		; dd ComponentOffset
1630
	inc	ebp
1630
	inc	ebp
1631
	push	ecx
1631
	push	ecx