|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Functions | |
| % saves to matlab variable st | eval (strcat(command, cout)) |
| if (length(cout)>3) load st.txt else disp('No cout file to load') end % initialize vector to zero index | |
| for for | new (i, st(j, 2)) |
| result (i, 1) | |
| % Compute each function s mean complexity % | result (i, 2) |
| % Compute each function s maximum complexity in encoding % and decoding respectively and then add it | result (i, 3) |
Variables | |
| clear | |
| pack | |
| % % Enter the path to YOUR executable and remember to define the perprocessor % variable PRINT_MIPS te get the instructions printed to the screen % | command = '!iLBCtest.exe 30 speechAndBGnoise.pcm out1.bit out1.pcm tlm10_30ms.dat' |
| cout =' > st.txt' | |
| indexnonzero = find(st(1:end,1)>0) | |
| frames = length(index)-indexnonzero(1)+1 | |
| start = indexnonzero(1) - 1 | |
| functionOrder =max(st(:,2)) | |
| new =zeros(frames,functionOrder) | |
| for | i = 1:frames |
| for for | j = index(start-1+i)+1:(index(start+i)-1) |
| end end | result =zeros(functionOrder,3) |
| % Compute each function s maximum complexity in encoding % and decoding respectively and then add it | together |
| result | ( | i | , |
| 1 | |||
| ) |
| % Compute each function s maximum complexity in encoding % and decoding respectively and then add it result | ( | i | , |
| 3 | |||
| ) |
| clear |
| % % Enter the path to YOUR executable and remember to define the perprocessor % variable PRINT_MIPS te get the instructions printed to the screen % command = '!iLBCtest.exe 30 speechAndBGnoise.pcm out1.bit out1.pcm tlm10_30ms.dat' |
| cout =' > st.txt' |
| frames = length(index)-indexnonzero(1)+1 |
| functionOrder =max(st(:,2)) |
| new =zeros(frames,functionOrder) |
| pack |
| end end result =zeros(functionOrder,3) |
| start = indexnonzero(1) - 1 |
1.8.13