Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6883 → Rev 6882

/programs/develop/libraries/libs-dev/libimg/png/libpng/pngwutil.asm
174,7 → 174,8
end if
 
; Write the crc in a single operation
lea ebx,[ebp-4]
mov ebx,ebp
sub ebx,4
stdcall png_save_uint_32, ebx, [edi+png_struct.crc]
 
stdcall png_write_data, edi, ebx, 4
3059,9 → 3060,13
pushad
mov edi,[png_ptr]
if PNG_WRITE_FILTER_SUPPORTED eq 0
mov eax,[edi+png_struct.row_number]
png_debug1 2, ' (3)= %d', eax
mov eax,[edi+png_struct.rowbytes]
inc eax
stdcall png_write_filtered_row, edi, [edi+png_struct.row_buf], eax
mov eax,[edi+png_struct.row_number]
png_debug1 2, ' (4)= %d', eax
else
mov esi,[row_info]
movzx eax,byte[edi+png_struct.do_filter]
3071,6 → 3076,7
 
png_debug 1, 'in png_write_find_filter'
 
 
; Find out how many bytes offset each pixel is
movzx eax,byte[edi+png_struct.pixel_depth]
add eax,7
/programs/fs/kfar/trunk/zlib/crc32.asm
115,7 → 115,7
mov eax,[p1crc]
mov ecx,[len]
push edx
call crc_continue
call crc
pop edx
.end_f:
ret
/programs/fs/kfar/trunk/kfar_arc/crc.inc
15,12 → 15,6
jnz .1
ret
 
crc_continue:
; in: eax = pervios crc, ecx = size, esi->buffer
; out: eax = crc
xor eax,-1
jmp crc.loop
 
crc:
; in: ecx=size, esi->buffer
; out: eax=crc