-
Notifications
You must be signed in to change notification settings - Fork 0
/
MediaCodecInfo+VideoCapabilities.xml
725 lines (725 loc) · 47.3 KB
/
MediaCodecInfo+VideoCapabilities.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
<Type Name="MediaCodecInfo+VideoCapabilities" FullName="Android.Media.MediaCodecInfo+VideoCapabilities">
<TypeSignature Language="C#" Value="public sealed class MediaCodecInfo.VideoCapabilities : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class nested public auto ansi sealed beforefieldinit MediaCodecInfo/VideoCapabilities extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.Media.MediaCodecInfo.VideoCapabilities" />
<TypeSignature Language="F#" Value="type MediaCodecInfo.VideoCapabilities = class
 inherit Object" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/media/MediaCodecInfo$VideoCapabilities", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/media/MediaCodecInfo$VideoCapabilities", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A class that supports querying the video capabilities of a codec.</summary>
<remarks>
<para>A class that supports querying the video capabilities of a codec.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
<Members>
<Member MemberName="AreSizeAndRateSupported">
<MemberSignature Language="C#" Value="public bool AreSizeAndRateSupported (int width, int height, double frameRate);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool AreSizeAndRateSupported(int32 width, int32 height, float64 frameRate) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Media.MediaCodecInfo.VideoCapabilities.AreSizeAndRateSupported(System.Int32,System.Int32,System.Double)" />
<MemberSignature Language="F#" Value="member this.AreSizeAndRateSupported : int * int * double -> bool" Usage="videoCapabilities.AreSizeAndRateSupported (width, height, frameRate)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("areSizeAndRateSupported", "(IID)Z", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("areSizeAndRateSupported", "(IID)Z", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
<Parameter Name="frameRate" Type="System.Double" />
</Parameters>
<Docs>
<param name="width">To be added.</param>
<param name="height">To be added.</param>
<param name="frameRate">To be added.</param>
<summary>Returns whether a given video size (<c>width</c> and
<c>height</c>) and <c>frameRate</c> combination is supported.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns whether a given video size (<c>width</c> and
<c>height</c>) and <c>frameRate</c> combination is supported.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#areSizeAndRateSupported(int,%20int,%20double)" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.areSizeAndRateSupported(int, int, double)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="BitrateRange">
<MemberSignature Language="C#" Value="public Android.Util.Range? BitrateRange { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Util.Range BitrateRange" />
<MemberSignature Language="DocId" Value="P:Android.Media.MediaCodecInfo.VideoCapabilities.BitrateRange" />
<MemberSignature Language="F#" Value="member this.BitrateRange : Android.Util.Range" Usage="Android.Media.MediaCodecInfo.VideoCapabilities.BitrateRange" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getBitrateRange", "()Landroid/util/Range;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getBitrateRange", "()Landroid/util/Range;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Util.Range</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the range of supported bitrates in bits/second.</summary>
<value>To be added.</value>
<remarks>
<para>Returns the range of supported bitrates in bits/second.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#getBitrateRange()" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.getBitrateRange()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetAchievableFrameRatesFor">
<MemberSignature Language="C#" Value="public Android.Util.Range? GetAchievableFrameRatesFor (int width, int height);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Util.Range GetAchievableFrameRatesFor(int32 width, int32 height) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Media.MediaCodecInfo.VideoCapabilities.GetAchievableFrameRatesFor(System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="member this.GetAchievableFrameRatesFor : int * int -> Android.Util.Range" Usage="videoCapabilities.GetAchievableFrameRatesFor (width, height)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getAchievableFrameRatesFor", "(II)Landroid/util/Range;", "", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getAchievableFrameRatesFor", "(II)Landroid/util/Range;", "", ApiSince=23)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Util.Range</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
</Parameters>
<Docs>
<param name="width">the width of the video</param>
<param name="height">the height of the video</param>
<summary>Returns the range of achievable video frame rates for a video size.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns the range of achievable video frame rates for a video size.
May return <c>null</c>, if the codec did not publish any measurement
data.</para>
<para>This is a performance estimate provided by the device manufacturer based on statistical
sampling of full-speed decoding and encoding measurements in various configurations
of common video sizes supported by the codec. As such it should only be used to
compare individual codecs on the device. The value is not suitable for comparing
different devices or even different android releases for the same device.</para>
<para><em>On <c>android.os.Build.VERSION_CODES#M</c> release</em> the returned range
corresponds to the fastest frame rates achieved in the tested configurations. As
such, it should not be used to gauge guaranteed or even average codec performance
on the device.</para>
<para><em>On <c>android.os.Build.VERSION_CODES#N</c> release</em> the returned range
corresponds closer to sustained performance <em>in tested configurations</em>.
One can expect to achieve sustained performance higher than the lower limit more than
50% of the time, and higher than half of the lower limit at least 90% of the time
<em>in tested configurations</em>.
Conversely, one can expect performance lower than twice the upper limit at least
90% of the time.
<p class=note>
Tested configurations use a single active codec. For use cases where multiple
codecs are active, applications can expect lower and in most cases significantly lower
performance.
<p class=note>
The returned range value is interpolated from the nearest frame size(s) tested.
Codec performance is severely impacted by other activity on the device as well
as environmental factors (such as battery level, temperature or power source), and can
vary significantly even in a steady environment.
<p class=note>
Use this method in cases where only codec performance matters, e.g. to evaluate if
a codec has any chance of meeting a performance target. Codecs are listed
in <c>MediaCodecList</c> in the preferred order as defined by the device
manufacturer. As such, applications should use the first suitable codec in the
list to achieve the best balance between power use and performance.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#getAchievableFrameRatesFor(int,%20int)" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.getAchievableFrameRatesFor(int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetSupportedFrameRatesFor">
<MemberSignature Language="C#" Value="public Android.Util.Range? GetSupportedFrameRatesFor (int width, int height);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Util.Range GetSupportedFrameRatesFor(int32 width, int32 height) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Media.MediaCodecInfo.VideoCapabilities.GetSupportedFrameRatesFor(System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="member this.GetSupportedFrameRatesFor : int * int -> Android.Util.Range" Usage="videoCapabilities.GetSupportedFrameRatesFor (width, height)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getSupportedFrameRatesFor", "(II)Landroid/util/Range;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getSupportedFrameRatesFor", "(II)Landroid/util/Range;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Util.Range</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
</Parameters>
<Docs>
<param name="width">the width of the video</param>
<param name="height">the height of the video</param>
<summary>Returns the range of supported video frame rates for a video size.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns the range of supported video frame rates for a video size.</para>
<para>This is not a performance indicator. Rather, it expresses the limits specified in
the coding standard, based on the complexities of encoding material of a given
size for later playback at a certain frame rate, or the decoding of such material
in non-realtime.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#getSupportedFrameRatesFor(int,%20int)" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.getSupportedFrameRatesFor(int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetSupportedHeightsFor">
<MemberSignature Language="C#" Value="public Android.Util.Range? GetSupportedHeightsFor (int width);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Util.Range GetSupportedHeightsFor(int32 width) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Media.MediaCodecInfo.VideoCapabilities.GetSupportedHeightsFor(System.Int32)" />
<MemberSignature Language="F#" Value="member this.GetSupportedHeightsFor : int -> Android.Util.Range" Usage="videoCapabilities.GetSupportedHeightsFor width" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getSupportedHeightsFor", "(I)Landroid/util/Range;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getSupportedHeightsFor", "(I)Landroid/util/Range;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Util.Range</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32" />
</Parameters>
<Docs>
<param name="width">the width of the video</param>
<summary>Returns the range of supported video heights for a video width</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns the range of supported video heights for a video width</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#getSupportedHeightsFor(int)" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.getSupportedHeightsFor(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetSupportedWidthsFor">
<MemberSignature Language="C#" Value="public Android.Util.Range? GetSupportedWidthsFor (int height);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Util.Range GetSupportedWidthsFor(int32 height) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Media.MediaCodecInfo.VideoCapabilities.GetSupportedWidthsFor(System.Int32)" />
<MemberSignature Language="F#" Value="member this.GetSupportedWidthsFor : int -> Android.Util.Range" Usage="videoCapabilities.GetSupportedWidthsFor height" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getSupportedWidthsFor", "(I)Landroid/util/Range;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getSupportedWidthsFor", "(I)Landroid/util/Range;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Util.Range</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="height" Type="System.Int32" />
</Parameters>
<Docs>
<param name="height">the height of the video</param>
<summary>Returns the range of supported video widths for a video height.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns the range of supported video widths for a video height.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#getSupportedWidthsFor(int)" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.getSupportedWidthsFor(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="HeightAlignment">
<MemberSignature Language="C#" Value="public int HeightAlignment { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 HeightAlignment" />
<MemberSignature Language="DocId" Value="P:Android.Media.MediaCodecInfo.VideoCapabilities.HeightAlignment" />
<MemberSignature Language="F#" Value="member this.HeightAlignment : int" Usage="Android.Media.MediaCodecInfo.VideoCapabilities.HeightAlignment" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getHeightAlignment", "()I", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getHeightAlignment", "()I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the alignment requirement for video height (in pixels).</summary>
<value>To be added.</value>
<remarks>
<para>Returns the alignment requirement for video height (in pixels).</para>
<para>This is a power-of-2 value that video height must be a
multiple of.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#getHeightAlignment()" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.getHeightAlignment()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="IsSizeSupported">
<MemberSignature Language="C#" Value="public bool IsSizeSupported (int width, int height);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool IsSizeSupported(int32 width, int32 height) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Media.MediaCodecInfo.VideoCapabilities.IsSizeSupported(System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="member this.IsSizeSupported : int * int -> bool" Usage="videoCapabilities.IsSizeSupported (width, height)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("isSizeSupported", "(II)Z", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("isSizeSupported", "(II)Z", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="width" Type="System.Int32" />
<Parameter Name="height" Type="System.Int32" />
</Parameters>
<Docs>
<param name="width">To be added.</param>
<param name="height">To be added.</param>
<summary>Returns whether a given video size (<c>width</c> and
<c>height</c>) is supported.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns whether a given video size (<c>width</c> and
<c>height</c>) is supported.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#isSizeSupported(int,%20int)" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.isSizeSupported(int, int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Android.Media.MediaCodecInfo.VideoCapabilities.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Media.MediaCodecInfo.VideoCapabilities.JniPeerMembers" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="SupportedFrameRates">
<MemberSignature Language="C#" Value="public Android.Util.Range? SupportedFrameRates { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Util.Range SupportedFrameRates" />
<MemberSignature Language="DocId" Value="P:Android.Media.MediaCodecInfo.VideoCapabilities.SupportedFrameRates" />
<MemberSignature Language="F#" Value="member this.SupportedFrameRates : Android.Util.Range" Usage="Android.Media.MediaCodecInfo.VideoCapabilities.SupportedFrameRates" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getSupportedFrameRates", "()Landroid/util/Range;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getSupportedFrameRates", "()Landroid/util/Range;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Util.Range</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the range of supported frame rates.</summary>
<value>To be added.</value>
<remarks>
<para>Returns the range of supported frame rates.</para>
<para>This is not a performance indicator. Rather, it expresses the
limits specified in the coding standard, based on the complexities
of encoding material for later playback at a certain frame rate,
or the decoding of such material in non-realtime.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#getSupportedFrameRates()" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.getSupportedFrameRates()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="SupportedHeights">
<MemberSignature Language="C#" Value="public Android.Util.Range? SupportedHeights { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Util.Range SupportedHeights" />
<MemberSignature Language="DocId" Value="P:Android.Media.MediaCodecInfo.VideoCapabilities.SupportedHeights" />
<MemberSignature Language="F#" Value="member this.SupportedHeights : Android.Util.Range" Usage="Android.Media.MediaCodecInfo.VideoCapabilities.SupportedHeights" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getSupportedHeights", "()Landroid/util/Range;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getSupportedHeights", "()Landroid/util/Range;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Util.Range</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the range of supported video heights.</summary>
<value>To be added.</value>
<remarks>
<para>Returns the range of supported video heights.
<p class=note>
32-bit processes will not support resolutions larger than 4096x4096 due to
the limited address space.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#getSupportedHeights()" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.getSupportedHeights()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="SupportedPerformancePoints">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IList<Android.Media.MediaCodecInfo.VideoCapabilities.PerformancePoint>? SupportedPerformancePoints { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IList`1<class Android.Media.MediaCodecInfo/VideoCapabilities/PerformancePoint> SupportedPerformancePoints" />
<MemberSignature Language="DocId" Value="P:Android.Media.MediaCodecInfo.VideoCapabilities.SupportedPerformancePoints" />
<MemberSignature Language="F#" Value="member this.SupportedPerformancePoints : System.Collections.Generic.IList<Android.Media.MediaCodecInfo.VideoCapabilities.PerformancePoint>" Usage="Android.Media.MediaCodecInfo.VideoCapabilities.SupportedPerformancePoints" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getSupportedPerformancePoints", "()Ljava/util/List;", "", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getSupportedPerformancePoints", "()Ljava/util/List;", "", ApiSince=29)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.IList<Android.Media.MediaCodecInfo+VideoCapabilities+PerformancePoint></ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the supported performance points.</summary>
<value>To be added.</value>
<remarks>
<para>Returns the supported performance points. May return <c>null</c> if the codec did not
publish any performance point information (e.g. the vendor codecs have not been updated
to the latest android release). May return an empty list if the codec published that
if does not guarantee any performance points.</para>
<para>This is a performance guarantee provided by the device manufacturer for hardware codecs
based on hardware capabilities of the device.</para>
<para>The returned list is sorted first by decreasing number of pixels, then by decreasing
width, and finally by decreasing frame rate.
Performance points assume a single active codec. For use cases where multiple
codecs are active, should use that highest pixel count, and add the frame rates of
each individual codec.
<p class=note>
32-bit processes will not support resolutions larger than 4096x4096 due to
the limited address space, but performance points will be presented as is.
In other words, even though a component publishes a performance point for
a resolution higher than 4096x4096, it does not mean that the resolution is supported
for 32-bit processes.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#getSupportedPerformancePoints()" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.getSupportedPerformancePoints()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="SupportedWidths">
<MemberSignature Language="C#" Value="public Android.Util.Range? SupportedWidths { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Util.Range SupportedWidths" />
<MemberSignature Language="DocId" Value="P:Android.Media.MediaCodecInfo.VideoCapabilities.SupportedWidths" />
<MemberSignature Language="F#" Value="member this.SupportedWidths : Android.Util.Range" Usage="Android.Media.MediaCodecInfo.VideoCapabilities.SupportedWidths" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getSupportedWidths", "()Landroid/util/Range;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getSupportedWidths", "()Landroid/util/Range;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Util.Range</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the range of supported video widths.</summary>
<value>To be added.</value>
<remarks>
<para>Returns the range of supported video widths.
<p class=note>
32-bit processes will not support resolutions larger than 4096x4096 due to
the limited address space.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#getSupportedWidths()" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.getSupportedWidths()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ThresholdClass">
<MemberSignature Language="C#" Value="protected override IntPtr ThresholdClass { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ThresholdClass" />
<MemberSignature Language="DocId" Value="P:Android.Media.MediaCodecInfo.VideoCapabilities.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Media.MediaCodecInfo.VideoCapabilities.ThresholdClass" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ThresholdType">
<MemberSignature Language="C#" Value="protected override Type ThresholdType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ThresholdType" />
<MemberSignature Language="DocId" Value="P:Android.Media.MediaCodecInfo.VideoCapabilities.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.Media.MediaCodecInfo.VideoCapabilities.ThresholdType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="WidthAlignment">
<MemberSignature Language="C#" Value="public int WidthAlignment { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 WidthAlignment" />
<MemberSignature Language="DocId" Value="P:Android.Media.MediaCodecInfo.VideoCapabilities.WidthAlignment" />
<MemberSignature Language="F#" Value="member this.WidthAlignment : int" Usage="Android.Media.MediaCodecInfo.VideoCapabilities.WidthAlignment" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getWidthAlignment", "()I", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getWidthAlignment", "()I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the alignment requirement for video width (in pixels).</summary>
<value>To be added.</value>
<remarks>
<para>Returns the alignment requirement for video width (in pixels).</para>
<para>This is a power-of-2 value that video width must be a
multiple of.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities#getWidthAlignment()" title="Reference documentation">Java documentation for <code>android.media.MediaCodecInfo.VideoCapabilities.getWidthAlignment()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
</Members>
</Type>