Debian Codegraph @

TODO

raw
1 Background
2 ==========
3
4 - Priority scale: High, Medium and Low
5
6 - Complexity scale: C1, C2, C4 and C8. The complexity scale is exponential,
7 with complexity 1 being the lowest complexity. Complexity is a function
8 of both task 'complexity' and task 'scope'.
9
10 The general rule of thumb is that a complexity 1 task should take 1-2 weeks
11 for a person very familiar with oFono codebase. Higher complexity tasks
12 require more time and have higher uncertainty.
13
14 Higher complexity tasks should be refined into several lower complexity tasks
15 once the task is better understood.
16
17
18 Encoder optimizations
19 =====================
20
21 - Currently, only the decoder is optimized to take advantage of advanced
22 processor instruction sets. In use cases like HFP 1.6, optimizing the
23 encoder will bring a significant latency, power and performance advantage.
24 For example, the MMX encoder is 3 to 6 time faster than the SIMD encoder.
25
26 Priority: High
27 Complexity: C8
28
29 - Use a log2 table for byte integer scale factors calculation (sum log2
30 results for high and low bytes) fill bitpool by 16 bits instead of one
31 at a time in bits allocation/bitpool generation port to the dsp
32
33 Priority: Medium
34 Complexity: C2
35
36 - The neon optimization code is split in two parts. Sample reordering and
37 blocks encoding. There is a neon optimization for encoding SBC. But mSBC
38 is not supported by this optimizer because the reordering has been
39 specifically for mSBC.
40
41 Priority: Low
42 Complexity: C2
43
44
45 Decoder optimizations
46 =====================
47
48 - The decoder is optimized to take advantage of advanced processor
49 instruction sets. Currently implemented are MMX, arm neon, arm v6
50 and iwmmxt. SSE3 is available since almost 10 years now, on a large
51 range of Intel processors. It should be interesting to implement it
52 and to compare with MMX implementation on Intel processors.
53
54 Priority: Medium
55 Complexity: C4
56