Subversion Repositories Kolibri OS

Rev

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

Rev 2397 Rev 2691
Line 16... Line 16...
16
;; If not, see .                                                    ;;
16
;; If not, see .                                                    ;;
17
;;                                                                                                ;;
17
;;                                                                                                ;;
18
;;================================================================================================;;
18
;;================================================================================================;;
Line 19... Line 19...
19
 
19
 
20
include	'pcx.inc'
-
 
Line 21... Line 20...
21
;include '../../../../system/board/trunk/debug.inc'
20
include	'pcx.inc'
22
 
21
 
23
;;================================================================================================;;
22
;;================================================================================================;;
24
proc img.is.pcx _data, _length ;//////////////////////////////////////////////////////////////////;;
23
proc img.is.pcx _data, _length ;//////////////////////////////////////////////////////////////////;;
Line 236... Line 235...
236
	ret
235
	ret
237
endp
236
endp
Line 238... Line 237...
238
 
237
 
239
 
238
 
240
;;================================================================================================;;
239
;;================================================================================================;;
241
proc img.encode.pcx _img, _p_length, _options ;///////////////////////////////////////////////////;;
240
proc img.encode.pcx _img, _common, _specific ;////////////////////////////////////////////////////;;
242
;;------------------------------------------------------------------------------------------------;;
241
;;------------------------------------------------------------------------------------------------;;
243
;? Encode image into raw data in pcx format                                                     ;;
242
;? Encode image into raw data in pcx format                                                       ;;
-
 
243
;;------------------------------------------------------------------------------------------------;;
-
 
244
;> [_img]      = pointer to image                                                                 ;;
244
;;------------------------------------------------------------------------------------------------;;
245
;> [_common]   = format independent options                                                       ;;
245
;> _img = pointer to image                                                                        ;;
246
;> [_specific] = 0 / pointer to the structure of format specific options                          ;;
246
;;------------------------------------------------------------------------------------------------;;
247
;;------------------------------------------------------------------------------------------------;;
247
;< eax = 0 (error) or pointer to encoded data                                                     ;;
248
;< eax = 0 / pointer to encoded data                                                              ;;
248
;< _p_length = encoded data length                                                                ;;
249
;< ecx = error code / the size of encoded data                                                    ;;
249
;;================================================================================================;;
250
;;================================================================================================;;
250
	xor	eax, eax
251
	xor	eax, eax