File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -194,10 +194,10 @@ Similarly for decoder
194194
195195Image 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
213213You 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
You can’t perform that action at this time.
0 commit comments