Skip to content

Commit 23f7eae

Browse files
Update README.md
1 parent 51a0c36 commit 23f7eae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ Similarly for decoder
194194

195195
Image format conversion (RGB <-> YUV420) has optional configuration where you can provide number of threads on parallelisation.
196196
<br/>Using 1 thread gives consumes least cpu cycles and most efficient but it takes more time.
197-
<br/>Beyond 4 threads you start to get diminishing returns.
197+
Beyond 4 threads you start to get diminishing returns.
198198
<br/>Fastest performance is achieved when threadcount is same as your phyical threads on your machine.
199-
<br/>Larger the image more effective is the parallelisation.
200-
<br/>Default count is 4.
199+
Larger the image more effective is the parallelisation.
200+
Default count is 4.
201201
```c#
202202
encoder.ConverterNumberOfThreads = Environment.ProcessorCount;
203203
decoder.ConverterNumberOfThreads = 4;
@@ -213,9 +213,9 @@ You can configure on RGB to YUV conversion wether to use SSE or table based conv
213213
You can get and set options to decoder and encoder on runtime. All options API is implemented 1-1 with cisco api.
214214

215215
```c#
216-
encoder.SetOption(ENCODER_OPTION.ENCODER_OPTION_IDR_INTERVAL, 600);
217-
encoder.GetOption(ENCODER_OPTION.ENCODER_OPTION_IDR_INTERVAL, out int idrPeriod);
218-
decoder.GetOption(DECODER_OPTION.DECODER_OPTION_FRAME_NUM, out tempInt);
216+
encoder.SetOption(ENCODER_OPTION.ENCODER_OPTION_IDR_INTERVAL, 600);
217+
encoder.GetOption(ENCODER_OPTION.ENCODER_OPTION_IDR_INTERVAL, out int idrPeriod);
218+
decoder.GetOption(DECODER_OPTION.DECODER_OPTION_FRAME_NUM, out tempInt);
219219
...
220220
```
221221

0 commit comments

Comments
 (0)