Subversion Repositories Kolibri OS

Rev

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

Rev 6797 Rev 6870
Line 2939... Line 2939...
2939
align 4
2939
align 4
2940
	.cycle4:
2940
	.cycle4:
2941
		mov dword[edi+png_struct.zstream.avail_out],16*1024
2941
		mov dword[edi+png_struct.zstream.avail_out],16*1024
2942
 
2942
 
Line 2943... Line 2943...
2943
		stdcall [deflate], esi, Z_FINISH ;Z_NO_FLUSH
2943
		stdcall [deflate], esi, Z_NO_FLUSH
2944
		cmp eax,Z_STREAM_ERROR
2944
		cmp eax,Z_STREAM_ERROR
2945
		je .end1
2945
		je .end1
Line 2946... Line 2946...
2946
 
2946
 
2947
		add ecx,16*1024
2947
		add ecx,16*1024
2948
		sub ecx,[edi+png_struct.zstream.avail_out]
2948
		sub ecx,[edi+png_struct.zstream.avail_out]
2949
		cmp dword[edi+png_struct.zstream.avail_out],0
2949
		cmp dword[edi+png_struct.zstream.avail_out],0
2950
	je .cycle4 ;while (strm.avail_out == 0)
-
 
2951
if 0
2950
	je .cycle4 ;while (strm.avail_out == 0)
2952
	mov dword[edi+png_struct.zstream.avail_out],16*1024
2951
	mov dword[edi+png_struct.zstream.avail_out],16*1024
-
 
2952
	stdcall [deflate], esi, Z_FINISH
-
 
2953
	add ecx,16*1024
2953
	stdcall [deflate], esi, Z_FINISH
2954
	sub ecx,[edi+png_struct.zstream.avail_out]
2954
	cmp eax,Z_STREAM_ERROR
2955
	cmp eax,Z_STREAM_ERROR
2955
	je .end1
2956
	je .end1
2956
end if
2957
 
Line 2957... Line 2958...
2957
	stdcall [deflateEnd], esi
2958
	stdcall [deflateEnd], esi
2958
 
2959
 
2959
if PNG_WRITE_OPTIMIZE_CMF_SUPPORTED eq 1
2960
if PNG_WRITE_OPTIMIZE_CMF_SUPPORTED eq 1