Subversion Repositories Kolibri OS

Rev

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

Rev 1102 Rev 2733
Line 471... Line 471...
471
	lea	eax, [eax*3]
471
	lea	eax, [eax*3]
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.bpp8i
477
	pop	eax	; Image.bpp8 = 1
477
	pop	eax	; Image.bpp8i = 1
478
	cmp	edi, eax
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