/+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-09 12:58:27 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20210609125827-402c1l42bgz7kcdd
Did the last test for one of the versions of libffmpeg.

Added the last sections to the document (TODO).

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
    -o libffmpeg.so
120
120
```
121
121
 
 
122
\pagebreak
122
123
# Testing and Results
123
124
The web browser used is UngoogledChromium in a flatpak sandbox, started using
124
125
the following command:
171
172
All tests with configuration options shown have been compiled
172
173
with `--enable-nonfree --enable-gpl --enable-version3`.
173
174
 
174
 
## Original
 
175
\pagebreak
 
176
## Original (TODO)
 
177
 
175
178
This version of `libffmpeg.so` was provided with UngoogledChromium.
176
179
 
 
180
**Test Results**
 
181
 
 
182
| **Test #** | **decode time (ms)** |
 
183
|------------|----------------------|
 
184
| 1          |                      |
 
185
| 2          |                      |
 
186
| 3          |                      |
 
187
 
 
188
 
177
189
## Hardware tables and microarchitecture optimised
 
190
 
178
191
**configuration options**
179
192
 
180
193
```
192
205
|------------|----------------------|
193
206
| 1          | 10.4                 |
194
207
| 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)
195
233
 
196
234
 
197
235
\pagebreak