You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For usage in Unity, You have to specify the absolute path for openh264 dll. (i.e. StreamingAssets)
34
+
For usage in Unity, manually place the dlls from releases. H264SharpNative will be resolved automatically. You have to specify the absolute path for openh264 dll(Cisco). (i.e. StreamingAssets)
Examples codes can be found on examples directory on the repository.
43
41
44
42
Following code shows minimalist example of encoder and decoder in action.
45
43
46
-
<ins>For detailed information and documentation please check out [Wiki](https://github.com/ReferenceType/H264Sharp/wiki) page</ins>
44
+
For detailed information and documentation please check out [Wiki](https://github.com/ReferenceType/H264Sharp/wiki) page
47
45
48
46
```csharp
49
47
staticvoidMain(string[] args)
@@ -80,7 +78,6 @@ static void Main(string[] args)
80
78
}
81
79
```
82
80
Bitmaps are not included on library to keep it cross platform.
83
-
An extention library is provided for windows.
84
81
85
82
For the bitmaps and other image container types, an extention library is provided.
86
83
@@ -226,10 +223,11 @@ Similarly for decoder
226
223
```
227
224
228
225
## Converter
226
+
Significant development effort has been spent here to deliver best possible performance. It was impactful to improve format conversions as much as possible especially for mobile platforms.
229
227
230
228
Color format conversion (RGB <-> YUV) has optional configuration where you can provide number of threads on parallelisation.
231
229
<br/>Using 1 thread consumes least cpu cycles(minimum context switch) and most efficient but it may be slower.
232
-
<br/>Performance depends on image size, your system memory speed, core IPC, cache and many other factors, so your milage may vary.
230
+
<br/>Performance of parallel proccesing depends on image size, memory speed, core IPC, cache size and many other factors, so your milage may vary.
233
231
234
232
You can configure on RGB to YUV conversion SIMD support. By default highest supported instruction set will be selected on runtime
235
233
For example, if AVX2 is enabled it wont run SSE version
@@ -241,7 +239,7 @@ var config = Converter.GetCurrentConfig();
0 commit comments