Home
last modified time | relevance | path

Searched full:sh (Results 1 – 25 of 72) sorted by relevance

123

/sof-3.4.0/tools/tune/drc/
Ddrc_build_blob.m10 sh = [0 -8 -16 -24]; variable
12 sh = [-24 -16 -8 0]; variable
32 blob8(j:j+3) = word2byte(data_size, sh); j=j+4;
33 blob8(j:j+3) = word2byte(0, sh); j=j+4; % Reserved
34 blob8(j:j+3) = word2byte(0, sh); j=j+4; % Reserved
35 blob8(j:j+3) = word2byte(0, sh); j=j+4; % Reserved
36 blob8(j:j+3) = word2byte(0, sh); j=j+4; % Reserved
38 blob8(j:j+3) = word2byte(blob_struct.enabled, sh); j=j+4;
39 blob8(j:j+3) = word2byte(blob_struct.db_threshold, sh); j=j+4;
40 blob8(j:j+3) = word2byte(blob_struct.db_knee, sh); j=j+4;
[all …]
/sof-3.4.0/tools/tune/multiband_drc/
Dmultiband_drc_build_blob.m13 sh = [0 -8 -16 -24]; variable
15 sh = [-24 -16 -8 0]; variable
38 blob8(j:j+3) = word2byte(data_size, sh); j=j+4; % size
39 blob8(j:j+3) = word2byte(num_bands, sh); j=j+4; % num_bands
40 blob8(j:j+3) = word2byte(enable_emp_deemp, sh); j=j+4; % enable_emp_deemp
42 blob8(j:j+3) = word2byte(0, sh); j=j+4; % reserved
45 blob8(j:j+3) = word2byte(emp_coefs(i), sh); j=j+4; % emp_coef
48 blob8(j:j+3) = word2byte(deemp_coefs(i), sh); j=j+4; % deemp_coef
51 blob8(j:j+3) = word2byte(crossover_coefs(i), sh); j=j+4; % crossover_coef
54 blob8(j:j+3) = word2byte(drc_coefs(i).enabled, sh); j=j+4;
[all …]
/sof-3.4.0/tools/tune/eq/
Deq_iir_blob_pack.m33 sh = [0 -8 -16 -24]; variable
35 sh = [-24 -16 -8 0]; variable
57 blob8(j:j+3) = w2b(nbytes_data, sh); j=j+4;
58 blob8(j:j+3) = w2b(bs.channels_in_config, sh); j=j+4;
59 blob8(j:j+3) = w2b(bs.number_of_responses_defined, sh); j=j+4;
60 blob8(j:j+3) = w2b(0, sh);j=j+4; % Reserved
61 blob8(j:j+3) = w2b(0, sh);j=j+4; % Reserved
62 blob8(j:j+3) = w2b(0, sh);j=j+4; % Reserved
63 blob8(j:j+3) = w2b(0, sh);j=j+4; % Reserved
66 blob8(j:j+3) = w2b(int32(bs.assign_response(i)), sh);
[all …]
Deq_fir_blob_pack.m113 function bytes = w16b(word, sh)
115 bytes(1) = bitand(bitshift(word, sh(1)), 255);
116 bytes(2) = bitand(bitshift(word, sh(2)), 255);
119 function bytes = w32b(word, sh)
121 bytes(1) = bitand(bitshift(word, sh(1)), 255);
122 bytes(2) = bitand(bitshift(word, sh(2)), 255);
123 bytes(3) = bitand(bitshift(word, sh(3)), 255);
124 bytes(4) = bitand(bitshift(word, sh(4)), 255);
Deq_get_abi.m66 sh = [0 -8 -16 -24]; variable
68 bytes(1) = bitand(bitshift(word, sh(1)), 255);
69 bytes(2) = bitand(bitshift(word, sh(2)), 255);
70 bytes(3) = bitand(bitshift(word, sh(3)), 255);
71 bytes(4) = bitand(bitshift(word, sh(4)), 255);
/sof-3.4.0/tools/tune/crossover/
Dcrossover_build_blob.m14 sh = [0 -8 -16 -24]; variable
16 sh = [-24 -16 -8 0]; variable
35 blob8(j:j+3) = word2byte(data_size, sh); j=j+4;
36 blob8(j:j+3) = word2byte(blob_struct.num_sinks, sh); j=j+4;
37 blob8(j:j+3) = word2byte(0, sh); j=j+4; % Reserved
38 blob8(j:j+3) = word2byte(0, sh); j=j+4; % Reserved
39 blob8(j:j+3) = word2byte(0, sh); j=j+4; % Reserved
40 blob8(j:j+3) = word2byte(0, sh); j=j+4; % Reserved
43 blob8(j:j+3) = word2byte(blob_struct.assign_sinks(i), sh);
48 blob8(j:j+3) = word2byte(blob_struct.all_coef(i), sh);
[all …]
/sof-3.4.0/scripts/
DREADME.docker18 ./docker-build.sh
23 ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -l tgl
25 ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh tgl
28 ./scripts/docker-run.sh ./scripts/build-tools.sh
31 ./scripts/docker-run.sh make
34 ./scripts/docker-run.sh bash
Ddocker-run.sh1 #!/bin/sh
9 # ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh tgl
11 # ./scripts/docker-run.sh ./scripts/build-tools.sh
31 # scripts/sudo-cwd.sh script.
Ddocker-qemu.sh1 #!/bin/sh
8 # ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh
Dsof-post-commit-hook.sh1 #!/bin/sh
6 # TODO: reduce duplication with scripts/sof-pre-commit-hook.sh
/sof-3.4.0/
D.travis.yml39 ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -r $PLATFORM
51 - name: "./scripts/build-tools.sh Release"
53 script: CMAKE_BUILD_TYPE=Release ./scripts/docker-run.sh ./scripts/build-tools.sh
61 - ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -o no-agent -r $PLATFORM
62 - ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh $PLATFORM
86 - ./scripts/docker-run.sh ./scripts/build-tools.sh -t
87 - ./scripts/docker-run.sh ./scripts/rebuild-testbench.sh
88 - ./scripts/host-testbench.sh
/sof-3.4.0/tools/tune/dcblock/
Ddcblock_build_blob.m14 sh = [0 -8 -16 -24]; variable
16 sh = [-24 -16 -8 0]; variable
39 blob8(j:j+3) = word2byte(R_coeffs(i), sh);
45 function bytes = word2byte(word, sh)
47 bytes(1) = bitand(bitshift(word, sh(1)), 255);
48 bytes(2) = bitand(bitshift(word, sh(2)), 255);
49 bytes(3) = bitand(bitshift(word, sh(3)), 255);
50 bytes(4) = bitand(bitshift(word, sh(4)), 255);
/sof-3.4.0/tools/tune/mfcc/
DREADME.txt7 need to be created with "scripts/build-tools.sh -t". Next the testbench
8 is build with "scripts/rebuild-testbench.sh".
11 into stream of cepstral coefficients with script run_mfcc.sh. E.g.
15 ./run_mfcc.sh /usr/share/sounds/alsa/Front_Center.wav
28 ./run_mfcc.sh /usr/share/sounds/gnome/default/alerts/bark.ogg
29 ./run_mfcc.sh /usr/share/sounds/gnome/default/alerts/sonar.ogg
Dsetup_mfcc.m137 sh = [0 -8]; variable
139 bytes(1) = bitand(bitshift(word, sh(1)), 255);
140 bytes(2) = bitand(bitshift(word, sh(2)), 255);
144 sh = [0 -8 -16 -24]; variable
146 bytes(1) = bitand(bitshift(word, sh(1)), 255);
147 bytes(2) = bitand(bitshift(word, sh(2)), 255);
148 bytes(3) = bitand(bitshift(word, sh(3)), 255);
149 bytes(4) = bitand(bitshift(word, sh(4)), 255);
/sof-3.4.0/.github/workflows/
Dpull-request.yml115 - name: xtensa-build-all.sh -a
116 run: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -a ||
117 ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -a -j 1
143 - name: xtensa-build-all.sh platforms
146 run: ./scripts/docker-run.sh
147 ./scripts/xtensa-build-all.sh -r ${PLATFORM}
163 # xtensa-build-all.sh. Pay attention to commas and whitespace.
182 - name: xtensa-build-all.sh -o no-agent platforms
185 run: ./scripts/docker-run.sh
186 ./scripts/xtensa-build-all.sh -o no-agent -r ${PLATFORM}
[all …]
Dtools.yml11 # This is not the same as building every ./build-tools.sh option.
25 run: CMAKE_BUILD_TYPE=Release ./scripts/docker-run.sh
26 ./scripts/build-tools.sh ||
28 CMAKE_BUILD_TYPE=Release ./scripts/docker-run.sh
29 ./scripts/build-tools.sh
Dsparse-zephyr.yml15 # sof/scripts/parse_sparse_output.sh
68 run: cd workspace && ./sof/zephyr/docker-run.sh ls -l /opt/toolchains/
80 ./sof/zephyr/docker-run.sh /bin/sh -c \
84 REAL_CC="$ZSDK/$_RCC" ./sof/zephyr/docker-run.sh \
85 ./sof/zephyr/docker-build.sh ${{ matrix.platforms.platform }} \
88 (set -x; ./sof/scripts/parse_sparse_output.sh ${{ matrix.platforms.platform }} <_.log)
Dtestbench.yml46 run: ./scripts/build-tools.sh -t ||
48 ./scripts/build-tools.sh -t
51 run: ./scripts/rebuild-testbench.sh
54 run: ./scripts/host-testbench.sh
Dcodestyle.yml28 # TODO: reduce duplication with scripts/sof-*-commit-hook.sh
45 .github/workflows/shallowfetchPRcommits.sh \
53 run: .github/workflows/checkpatch_list.sh ${CHK_CMD_OPTS}
Dinstaller.yml46 # harder through 'docker-run.sh'.
48 ./scripts/docker-run.sh
51 ./scripts/docker-run.sh
Drepro-build.yml29 run: ./scripts/docker-run.sh ./scripts/test-repro-build.sh
/sof-3.4.0/zephyr/
Ddocker-run.sh1 #!/bin/sh
10 # ./sof/zephyr/docker-run.sh ls -l /opt/toolchains/
11 # ./sof/zephyr/docker-run.sh /opt/sparse/bin/sparse --version
12 # ./sof/zephyr/docker-run.sh /bin/bash
67 ./sof/scripts/sudo-cwd.sh "$@"
/sof-3.4.0/tools/tune/tdfb/
Dbf_blob_pack.m167 function bytes = w16b(word, sh)
169 bytes(1) = bitand(bitshift(word, sh(1)), 255);
170 bytes(2) = bitand(bitshift(word, sh(2)), 255);
173 function bytes = w32b(word, sh)
175 bytes(1) = bitand(bitshift(word, sh(1)), 255);
176 bytes(2) = bitand(bitshift(word, sh(2)), 255);
177 bytes(3) = bitand(bitshift(word, sh(3)), 255);
178 bytes(4) = bitand(bitshift(word, sh(4)), 255);
/sof-3.4.0/scripts/cmake/
Dgit-hooks.cmake11 COMMAND sh -c echo
27 execute_process(COMMAND ln -s -f -T ../../scripts/sof-pre-commit-hook.sh ${pre_commit_hook})
32 execute_process(COMMAND ln -s -f -T ../../scripts/sof-post-commit-hook.sh ${post_commit_hook})
/sof-3.4.0/tools/test/audio/test_utils/
Dtest_run.m34 test.ex = './comp_run.sh';
43 fn_config = sprintf("%s_config.sh", tempname);
58 fprintf(fh, '#!/bin/sh\n', test.comp);
89 % Override defaults in comp_run.sh

123