/+junk/build-libffmpeg-for-chromium

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/build-libffmpeg-for-chromium

« back to all changes in this revision

Viewing changes to document.md

  • Committer: Gustav Hartvigsson
  • Date: 2021-06-07 20:40:26 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20210607204026-vjij9pidlt0jqwxq
Use XeLaTeX so we get the correct font

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
    -o libffmpeg.so
120
120
```
121
121
 
122
 
\pagebreak
123
122
# Testing and Results
124
123
The web browser used is UngoogledChromium in a flatpak sandbox, started using
125
124
the following command:
172
171
All tests with configuration options shown have been compiled
173
172
with `--enable-nonfree --enable-gpl --enable-version3`.
174
173
 
175
 
\pagebreak
176
 
## Original (TODO)
177
 
 
 
174
## Original
178
175
This version of `libffmpeg.so` was provided with UngoogledChromium.
179
176
 
180
 
**Test Results**
181
 
 
182
 
| **Test #** | **decode time (ms)** |
183
 
|------------|----------------------|
184
 
| 1          |                      |
185
 
| 2          |                      |
186
 
| 3          |                      |
187
 
 
188
 
 
189
177
## Hardware tables and microarchitecture optimised
190
 
 
191
178
**configuration options**
192
179
 
193
180
```
205
192
|------------|----------------------|
206
193
| 1          | 10.4                 |
207
194
| 2          | 10.0                 |
208
 
| 3          | 10.15                |
209
 
 
210
 
## Microarchitecture optimised (TODO)
211
 
 
212
 
**configuration optimisations**
213
 
 
214
 
```
215
 
--enable-hardcoded-tables
216
 
--extra-cflags='-mtune=bdver3 -O2'
217
 
--extra-cxxflags='-mtune=bdver3 -O2'
218
 
--extra-objcflags='-mtune=bdver3 -O2'
219
 
--arch=amd64
220
 
--cpu=bdver3
221
 
```
222
 
 
223
 
**Test Results**
224
 
 
225
 
| **Test #** | **decode time (ms)** |
226
 
|------------|----------------------|
227
 
| 1          |                      |
228
 
| 2          |                      |
229
 
| 3          |                      |
230
 
 
231
 
\pagebreak
232
 
# Discussion (TODO)
233
195
 
234
196
 
235
197
\pagebreak