Rev 1728 | Rev 2397 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1728 | Rev 1921 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | ;include '../../../../system/board/trunk/debug.inc' |
21 | ;include '../../../../system/board/trunk/debug.inc' |
Line 22... | Line 22... | ||
22 | 22 | ||
23 | ;;================================================================================================;; |
23 | ;;================================================================================================;; |
24 | proc img.is.pcx _data, _length ;//////////////////////////////////////////////////////////////////;; |
24 | proc img.is.pcx _data, _length ;//////////////////////////////////////////////////////////////////;; |
25 | ;;------------------------------------------------------------------------------------------------;; |
25 | ;;------------------------------------------------------------------------------------------------;; |
26 | ;? Determine if raw data could be decoded (is in Targa format) ;; |
26 | ;? Determine if raw data could be decoded (is in pcx format) ;; |
27 | ;;------------------------------------------------------------------------------------------------;; |
27 | ;;------------------------------------------------------------------------------------------------;; |
28 | ;> _data = raw data as read from file/stream ;; |
28 | ;> _data = raw data as read from file/stream ;; |
29 | ;> _length = data length ;; |
29 | ;> _length = data length ;; |
30 | ;;------------------------------------------------------------------------------------------------;; |
30 | ;;------------------------------------------------------------------------------------------------;; |
Line 63... | Line 63... | ||
63 | endp |
63 | endp |
Line 64... | Line 64... | ||
64 | 64 | ||
65 | ;;================================================================================================;; |
65 | ;;================================================================================================;; |
66 | proc img.decode.pcx _data, _length, _options ;////////////////////////////////////////////////////;; |
66 | proc img.decode.pcx _data, _length, _options ;////////////////////////////////////////////////////;; |
67 | ;;------------------------------------------------------------------------------------------------;; |
67 | ;;------------------------------------------------------------------------------------------------;; |
68 | ;? Decode data into image if it contains correctly formed raw data in Targa format ;; |
68 | ;? Decode data into image if it contains correctly formed raw data in pcx format ;; |
69 | ;;------------------------------------------------------------------------------------------------;; |
69 | ;;------------------------------------------------------------------------------------------------;; |
70 | ;> _data = raw data as read from file/stream ;; |
70 | ;> _data = raw data as read from file/stream ;; |
71 | ;> _length = data length ;; |
71 | ;> _length = data length ;; |
72 | ;;------------------------------------------------------------------------------------------------;; |
72 | ;;------------------------------------------------------------------------------------------------;; |
Line 288... | Line 288... | ||
288 | 288 | ||
289 | 289 | ||
290 | ;;================================================================================================;; |
290 | ;;================================================================================================;; |
291 | proc img.encode.pcx _img, _p_length, _options ;///////////////////////////////////////////////////;; |
291 | proc img.encode.pcx _img, _p_length, _options ;///////////////////////////////////////////////////;; |
292 | ;;------------------------------------------------------------------------------------------------;; |
292 | ;;------------------------------------------------------------------------------------------------;; |
293 | ;? Encode image into raw data in Targa format ;; |
293 | ;? Encode image into raw data in pcx format ;; |
294 | ;;------------------------------------------------------------------------------------------------;; |
294 | ;;------------------------------------------------------------------------------------------------;; |
295 | ;> _img = pointer to image ;; |
295 | ;> _img = pointer to image ;; |
296 | ;;------------------------------------------------------------------------------------------------;; |
296 | ;;------------------------------------------------------------------------------------------------;; |