Blender Git Loki

Git Commits -> Revision 1045253

Revision 1045253 by Richard Antalik (temp-vse-h264-proxy)
March 16, 2021, 11:26 (GMT)
Improve proxy building performance

There are minimal changes to current code:
- Use h264 codec for output
- Specify number of threads for encoding to be same as system thread count
- Specify same nuber of threads for decoding. This may work only with some codecs(only h264 tested so far), but performance gain in encoding improves overall performance by big margin still. I have tested variety of codecs, and all were transcoded properly.

This is much simpler and straightforward patch than previous two, and this was in fact first thing I have tried to do in the beginning, but there was no improvement unless I have removed following lines:
```
rv->c->thread_count = BLI_system_thread_count();
rv->c->thread_type = FF_THREAD_SLICE;
```

I am not even sure how I found that these two lines were problematic.

Differential Revision: https://developer.blender.org/D10731

Commit Details:

Full Hash: 1045253f67d000477882ec17a018ae55bbfdba1e
Parent Commit: 04acfab
Lines Changed: +19, -11

1 Modified Path:

/source/blender/imbuf/intern/indexer.c (+19, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021