Subversion Repositories Kolibri OS

Rev

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

Rev 1079 Rev 1102
Line 76... Line 76...
76
	pop ebx
76
	pop ebx
77
	ret
77
	ret
78
endp
78
endp
Line 79... Line 79...
79
 
79
 
80
;;================================================================================================;;
80
;;================================================================================================;;
81
proc img.decode.tga _data, _length ;//////////////////////////////////////////////////////////////;;
81
proc img.decode.tga _data, _length, _options ;////////////////////////////////////////////////////;;
82
;;------------------------------------------------------------------------------------------------;;
82
;;------------------------------------------------------------------------------------------------;;
83
;? Decode data into image if it contains correctly formed raw data in Targa format                ;;
83
;? Decode data into image if it contains correctly formed raw data in Targa format                ;;
84
;;------------------------------------------------------------------------------------------------;;
84
;;------------------------------------------------------------------------------------------------;;
85
;> _data = raw data as read from file/stream                                                      ;;
85
;> _data = raw data as read from file/stream                                                      ;;
Line 215... Line 215...
215
	popad
215
	popad
216
	ret
216
	ret
217
endp
217
endp
Line 218... Line 218...
218
 
218
 
219
;;================================================================================================;;
219
;;================================================================================================;;
220
proc img.encode.tga _img, _p_length ;/////////////////////////////////////////////////////////////;;
220
proc img.encode.tga _img, _p_length, _options ;///////////////////////////////////////////////////;;
221
;;------------------------------------------------------------------------------------------------;;
221
;;------------------------------------------------------------------------------------------------;;
222
;? Encode image into raw data in Targa format                                                     ;;
222
;? Encode image into raw data in Targa format                                                     ;;
223
;;------------------------------------------------------------------------------------------------;;
223
;;------------------------------------------------------------------------------------------------;;
224
;> _img = pointer to image                                                                        ;;
224
;> _img = pointer to image                                                                        ;;