This is a static copy of a profile reportHome
imagesci\private\imbmpinfo>decodeCompression (1 call, 0.000 sec)
Generated 15-Mar-2007 12:01:58 using real time.
M-subfunction in file C:\Program Files\MATLAB71\toolbox\matlab\imagesci\private\imbmpinfo.m
[Copy to new window for comparing multiple runs]
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
314 | msg = ''; | 1 | 0.000 s | 67.3% |  |
318 | compressionType = 'none'; | 1 | 0.000 s | 32.7% |  |
317 | case 0 | 1 | 0 s | 0% |  |
316 | switch compNum | 1 | 0 s | 0% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 0.000 s | 100% | |
Children (called functions)
No childrenM-Lint results
Coverage results
[ Show coverage for parent directory ]
Total lines in file | 35 |
Non-code lines (comments, blank lines) | 15 |
Code lines (lines that can run) | 20 |
Code lines that did run | 4 |
Code lines that did not run | 16 |
Coverage (did run/can run) | 20.00 % |
Function listing
time calls line
311 function [compressionType, msg] = decodeCompression(compNum, verName)
312 %DECODECOMPRESSION Find the compression type given the header value.
313
< 0.01 1 314 msg = '';
315
1 316 switch compNum
1 317 case 0
< 0.01 1 318 compressionType = 'none';
319
320 case 1
321 compressionType = '8-bit RLE';
322
323 case 2
324 compressionType = '4-bit RLE';
325
326 case 3
327 if (isequal(verName, 'Version 3'))
328 compressionType = 'bitfields';
329 else
330 % OS/2 2.x
331 compressionType = 'Huffman 1D';
332 end
333
334 case 4
335 % Only valid for OS/2 2.x
336 compressionType = '24-bit RLE';
337
338 otherwise
339 compressionType = '';
340 msg = 'Unrecognized compression type';
341
342 end
343
344
345
Other subfunctions in this file are not included in this listing.