Home
last modified time | relevance | path

Searched +full:- +full:l (Results 1 – 25 of 64) sorted by relevance

123

/sof-3.4.0/tools/topology/topology2/platform/intel/
Dcommon_definitions.conf5 CHANNEL_CONFIG_STEREO 1 # L & R.
6 CHANNEL_CONFIG_2_POINT_1 2 # L, R & LFE; PCM only.
7 CHANNEL_CONFIG_3_POINT_0 3 # L, C & R; MP3 & AAC only.
8 CHANNEL_CONFIG_3_POINT_1 4 # L, C, R & LFE; PCM only.
9 CHANNEL_CONFIG_QUATRO 5 # L, R, Ls & Rs; PCM only.
10 CHANNEL_CONFIG_4_POINT_0 6 # L, C, R & Cs; MP3 & AAC only.
11 CHANNEL_CONFIG_5_POINT_0 7 # L, C, R, Ls & Rs.
12 CHANNEL_CONFIG_5_POINT_1 8 # L, C, R, Ls, Rs & LFE.
14 CHANNEL_CONFIG_I2S_DUAL_STEREO_0 10 # Stereo (L,R) in 4 slots, 1st stream: [ L, R, -, - ]
15 CHANNEL_CONFIG_I2S_DUAL_STEREO_1 11 # Stereo (L,R) in 4 slots, 2nd stream: [ -, -, L, R ]
[all …]
/sof-3.4.0/tools/tune/src/
Dsrc_factor2_lm.m3 % factor2_lm - factorize input and output sample rates ratio to fraction l1/m2*l2/m2
7 % fs1 - input sample rate
8 % fs2 - output sample rate
42 if abs(fs1-fs2) < eps
49 l = fs2/k; variable
51 [l01, l02] = factor2(l);
55 if (l==147) && (m==640)
56 l01 = 7; m01 = 8; l02 = l/l01; m02 = m/m01; % 192 to 44.1
58 if (l==147) && (m==320)
59 l01 = 7; m01 = 8; l02 = l/l01; m02 = m/m01; % 96 to 44.1
[all …]
Dsrc_find_l0m0.m1 function [l0, m0] = src_find_l0m0(L, M)
3 % find_l0m0 - find l0, m0 to meet -l0*L + m0*M == 1
5 % [l0, m0] = find_l0m0(L, M)
7 % L - interpolatation factor
8 % M - decimation factor
46 if L == 1
54 for lt=1:4*L
55 mt = (1+lt*L)/M; % Check if -lt*L + mt*M == 1
67 if -l0*L + m0*M ~= 1
Dsrc_factor1_lm.m1 function [l, m] = src_factor1_lm(fs1, fs2)
3 % factor1_lm - factorize input and output sample rates ratio to fraction l/m
5 % [l, m] = factor1_lm(fs1, fs2)
7 % fs1 - input sample rate
8 % fs2 - output sample rate
41 l = fs2/k; variable
Dsrc_export_coef.m3 % src_export_coef - Export FIR coefficients
7 % src - src definition struct
8 % ctype - 'float','int32', or 'int24'
9 % vtype - 'float','int32_t'
10 % hdir - directory for header files
11 % profile - string to append to filename
14 % SPDX-License-Identifier: BSD-3-Clause
16 % Copyright (c) 2016-2020, Intel Corporation. All rights reserved.
24 if src.L == src.M
31 hdir, ctype, src.L, src.M, pbi, sbi);
[all …]
Dsrc_get.m3 % src_get - calculate coefficients for a src
7 % cnv - src parameters
8 % src - src result
59 src.L=1;
75 if abs(cnv.fs1-cnv.fs2) < 1
80 fprintf(1, 'Requested stop-band %.1f dB exceeds maximum %.1f.\n', cnv.rs, cnv.rs_max);
85 [L, M] = src_factor1_lm(cnv.fs1, cnv.fs2);
86 src.L = L;
88 src.num_of_subfilters = L;
89 [src.idm src.odm] = src_find_l0m0(src.L, src.M);
[all …]
Dsrc_generate.m3 % src_generate - export src conversions for given fs_in and fs_out
7 % fs_in - vector of input sample rates (M)
8 % fs_out - vector of output sample rates (N)
9 % fs_inout - matrix of supported conversions (MxN),
11 % cfg - configuration struct with fields
12 % ctype - coefficient type, use 'int16','int24', 'int32', or 'float'
13 % profile - differentiate set with identifier, e.g. 'std'
14 % quality - quality factor, usually 1.0
15 % speed - optimize speed, gives higher RAM size, usually 0
16 % gain - overal filter gain, defaults to -1 dB if empty
[all …]
/sof-3.4.0/tools/
DREADME.md15 ### sof-logger
17 sof-logger is used to print logs delivered from FW dma_trace mechanism, by
20 Every entry declared in FW is placed in elf output file (e.g. sof-tgl) in
26 incorporated from FW elf file (e.g. sof-tgl). `snd_sof_logs_header`
30 sof-logger works by reading entry parameters value and entries addresses from
35 Usage sof-logger <option(s)> <file(s)>
37 -h help
38 -l *.ldc_file Specify the *.ldc file
39 -i in_file Get traces from in_file, instead of the default
41 -o out_file Specify the output file, instead of default stdout
[all …]
/sof-3.4.0/src/include/sof/audio/cadence/aac_dec/
Dxa_aac_dec_api.h2 * Copyright (c) 2006-2020 Cadence Design Systems, Inc.
28 /* aac_dec-specific configuration parameters */
52 XA_AACDEC_CONFIG_PARAM_RAW_AU_SIDEINFO = 20, /* For DAB-plus only */
53 XA_AACDEC_CONFIG_PARAM_EXTERNALBITRATE = 21, /* For DAB-plus only */
54 XA_AACDEC_CONFIG_PARAM_PAD_SIZE = 22, /* For DAB-plus only */
55 XA_AACDEC_CONFIG_PARAM_PAD_PTR = 23, /* For DAB-plus only */
56 XA_AACDEC_CONFIG_PARAM_MPEGSURR_PRESENT = 24, /* For DAB-plus only */
92 CF Center Front CF -> C CF -> C
93 LF Left Front LF or LCF -> L LF -> L
94 RF Right Front RF or RCF -> R RF -> R
[all …]
/sof-3.4.0/src/include/ipc4/
Dbase-config.h1 /* SPDX-License-Identifier: BSD-3-Clause
13 * This code is mostly copied "as-is" from existing C++ interface files hence the use of
19 * \file include/ipc4/base-config.h
52 IPC4_DEPTH_24BIT = 24, /**< 24 bits depth - Default */
60 IPC4_CHANNEL_CONFIG_STEREO = 1, /**< L & R */
61 IPC4_CHANNEL_CONFIG_2_POINT_1 = 2, /**< L, R & LFE; PCM only */
62 IPC4_CHANNEL_CONFIG_3_POINT_0 = 3, /**< L, C & R; MP3 & AAC only */
63 IPC4_CHANNEL_CONFIG_3_POINT_1 = 4, /**< L, C, R & LFE; PCM only */
64 IPC4_CHANNEL_CONFIG_QUATRO = 5, /**< L, R, Ls & Rs; PCM only */
65 IPC4_CHANNEL_CONFIG_4_POINT_0 = 6, /**< L, C, R & Cs; MP3 & AAC only */
[all …]
/sof-3.4.0/src/include/sof/audio/coefficients/up_down_mixer/
Dup_down_mixer.h1 // SPDX-License-Identifier: BSD-3-Clause
18 COMPUTE_COEFF_32BIT(1, 1), /* 1.0 - L */
19 COMPUTE_COEFF_32BIT(707, 1000), /* 0.707 - Center */
20 COMPUTE_COEFF_32BIT(1, 1), /* 1.0 - R */
21 COMPUTE_COEFF_32BIT(707, 1000), /* 0.707 - Ls */
22 COMPUTE_COEFF_32BIT(707, 1000), /* 0.707 - Rs */
23 COMPUTE_COEFF_32BIT(100, 1000), /* 0.100 - LS */
24 COMPUTE_COEFF_32BIT(100, 1000), /* 0.100 - RS */
25 COMPUTE_COEFF_32BIT(000, 1000), /* 0.000 - LFE */
29 COMPUTE_COEFF_32BIT(414, 1000), /* 0.414 - L */
[all …]
/sof-3.4.0/src/arch/xtensa/hal/
Dmem_ecc_parity.S2 // mem_ecc_parity.S - utility routines for the local memory ECC/parity option
7 // Copyright (c) 2006-2010 Tensilica Inc.
32 * For most functions, the link-time HAL defines two entry points:
71 //------------------------------------------------------------------------
73 //------------------------------------------------------------------------
82 // bit 31-5: (reserved)
83 // bit 4: 0 = inject non-correctable error,
92 // a region or page in cache-isolate mode yourself)
101 bbsi.l a4, 4, 1f // branch if correctable error requested
102 movi a6, 0x03030303 // XOR'ing this creates a non-correctable error
[all …]
Ddebug_hndlr.S2 // debug_hndlr.S -- default Xtensa debug exception handler
6 // Copyright (c) 2003-2010 Tensilica Inc.
86 bbci.l a3, DEBUGCAUSE_ICOUNT_SHIFT, 1f // ICOUNT trap?
96 1: bbci.l a3, DEBUGCAUSE_IBREAK_SHIFT, 1f // IBREAK match?
104 1: bbci.l a3, DEBUGCAUSE_DBREAK_SHIFT, 1f // DBREAK match?
113 1: bbci.l a3, DEBUGCAUSE_BREAK_SHIFT, 1f // BREAK instruction?
115 //l8ui a3, a3, 1 // get first 4-bit operand of BREAK (in 2nd byte)
123 1: bbci.l a3, DEBUGCAUSE_BREAKN_SHIFT, 1f // BREAK.N instruction?
129 1: bbci.l a3, DEBUGCAUSE_DEBUGINT_SHIFT, 1f // debug interrupt?
138 .size xthal_debugexc_defhndlr_nw, . - xthal_debugexc_defhndlr_nw
Dmemcopy.S32 # define BL(b,l) b argument
34 # define BL(b,l) l argument
41 .macro ssa8f r // set shift-amount for shift *from* given 2-bit alignment
45 .macro ssa8t r // set shift-amount for shift *to* given 2-bit alignment
49 .macro s2ll r, s // shift-to-later logical (away from zero-addressed byte)
53 .macro s2el r, s // shift-to-early logical (towards zero-addressed byte)
63 * However, it uses strictly 32-bit load and store instructions
76 * 8, 4, and 0-3 byte copies conditional on the length;
79 * This code tries to use fall-through branches for the common
100 * on entry since they share the same function-return code. Also,
[all …]
/sof-3.4.0/src/arch/xtensa/xtos/
Dmemerror-vector.S1 /* memerror-vector.S -- Memory Error Exception Vector and Handler */
3 /* $Id: //depot/rel/Foxhill/dot.8/Xtensa/OS/xtos/memerror-vector.S#1 $ */
6 * Copyright (c) 2006-2013 Tensilica Inc.
33 * _xtos_merr_hook_fatal_dme -- fatal error, double memory exception
34 * _xtos_merr_hook_uncorrectable_local -- fatal error, uncorrectable error in IRAM/DRAM
35 * _xtos_merr_hook_uncor_dtag -- fatal error, uncorrectable error in dcache tag
36 * _xtos_merr_hook_uncor_dirty -- fatal error, uncorrectable error in dirty dcache data
37 * _xtos_merr_hook_icache_relock -- non-fatal, hook to relock icache
38 * _xtos_merr_hook_dcache_relock -- non-fatal, hook to relock dcache
39 * _xtos_merr_hook_nonfatal -- non-fatal, correctable error
[all …]
Dcore-shutoff.S1 // reset-pso.S -- PSO restore routine, invoked from Reset Vector
2 // $Id: //depot/rel/Foxhill/dot.8/Xtensa/OS/xtos/core-shutoff.S#1 $
4 // Copyright (c) 2012-2013 Tensilica Inc.
29 #include <xtensa/xdm-regs.h>
30 #include <xtensa/xtruntime-core-state.h>
31 #include "xtos-internal.h"
66 // This version of the _xtos_core_shutoff() function can be called from assembly-level,
67 // where the stack might not be defined/usable, so can't do window-spill
80 mov a11, a0 // ABI-independent return PC
82 .size _xtos_core_shutoff_nw, . - _xtos_core_shutoff_nw
[all …]
Dcore-restore.S1 // core-restore.S -- core state restore routine (used by PSO)
2 // $Id: //depot/rel/Foxhill/dot.8/Xtensa/OS/xtos/core-restore.S#1 $
4 // Copyright (c) 2012-2013 Tensilica Inc.
30 #include <xtensa/xdm-regs.h>
31 #include <xtensa/config/core-isa.h>
33 #include <xtensa/xtruntime-core-state.h>
34 #include "xtos-internal.h"
73 .size _xtos_core_restore, . - _xtos_core_restore
100 // a0-a15 have possibly all changed, so need to reload a3
130 .rept XCHAL_NUM_INTLEVELS+XCHAL_HAVE_NMI-1
[all …]
/sof-3.4.0/tools/tune/eq/
Deq_load_dsp_ini.m21 l = fgets(f); variable
22 until strcmp(l, "[eq2]\n") || l == -1
24 if l == -1
34 if line == -1
57 -1, ... % none
65 -1, ... % allpass, not implemented in audio-tuning or in SOF
76 index = r(1) - preamble_offset;
84 if strcmp(field_name, "type") && cras_filter2sof_filter(r(2) + 1) == -1
/sof-3.4.0/.github/workflows/
Dzephyr.yml1 ---
7 # yamllint disable-line rule:truthy
12 # eg. "Zephyr-pull_request-my_fork_branch_to_merge"
13 # eg. "Zephyr-push-refs/heads/my_branch_merging"
14 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
15 cancel-in-progress: true
19 manifest-check:
20 runs-on: ubuntu-latest
22 - uses: actions/checkout@v3
26 - name: plain west update
[all …]
Dsparse-zephyr.yml1 ---
7 # yamllint disable-line rule:truthy
16 warnings-subset:
18 # We're sharing binaries with the zephyr-build container so keep
20 runs-on: ubuntu-20.04
23 fail-fast: false
27 real_cc: xtensa-intel_s1000_zephyr-elf/bin/xtensa-intel_s1000_zephyr-elf-gcc},
37 real_cc: xtensa-intel_s1000_zephyr-elf/bin/xtensa-intel_s1000_zephyr-elf-gcc},
41 - name: git clone sparse analyzer
44 fetch-depth: 10
[all …]
/sof-3.4.0/scripts/
Dbuild-tools.sh2 # SPDX-License-Identifier: BSD-3-Clause
6 set -e
19 usage: $0 [-c|-f|-h|-l|-p|-t|-T]
20 -h Display help
22 -c Rebuild ctl/
23 -l Rebuild logger/
24 -p Rebuild probes/
25 -T Rebuild topology/ (not topology/development/! Use ALL)
26 -t Rebuild test/topology/ (or tools/test/topology/tplg-build.sh directly)
28 -C No build, only CMake re-configuration. Shows CMake targets.
[all …]
DREADME.docker7 sudo usermod -aG docker your-user-name
18 ./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
/sof-3.4.0/src/audio/smart_amp/dsm_api/inc/
Ddsm_api_public.h1 /* SPDX-License-Identifier: BSD-3-Clause
151 * ichannelmask: the low 8-bits indicate which channels should be executed.
153 * 1: L channel
155 * 3: L and R channels
156 * -1: place input L channel onto output R channel
157 * -2: place input R channel onto output L channel
158 * -3: switch L and R channel
159 * ibufferorg: the input buffer which contains 16-bit audio PCM input data.
160 * The multi-channel input PCM data are ordered in the format below:
161 * +-----------------------+ ... +-------------------------+
[all …]
/sof-3.4.0/smex/
Dsmex.c1 // SPDX-License-Identifier: BSD-3-Clause
20 fprintf(stdout, "\t -l log dictionary outfile\n"); in usage()
21 fprintf(stdout, "\t -v enable verbose output\n"); in usage()
22 fprintf(stdout, "\t -h this help message\n"); in usage()
33 while ((opt = getopt(argc, argv, "hl:v")) != -1) { in main()
35 case 'l': in main()
54 if (argc - optind != 1) { in main()
56 return -EINVAL; in main()
70 ret = -EINVAL; in main()
/sof-3.4.0/tools/probes/
Dprobes_main.c1 // SPDX-License-Identifier: BSD-3-Clause
12 * Usage to parse data and create wave files: ./sof-probes -p data.bin
26 #define APP_NAME "sof-probes"
31 fprintf(stdout, "%s:\t -p file\tParse extracted file\n\n", APP_NAME); in usage()
32 fprintf(stdout, "%s:\t -l \t\tLog to stdout\n\n", APP_NAME); in usage()
33 fprintf(stdout, "%s:\t -h \t\tHelp, usage info\n", APP_NAME); in usage()
77 while ((opt = getopt(argc, argv, "lhp:")) != -1) { in main()
82 case 'l': in main()

123