/
VTCompressionSession+VTCompressionOutputCallback.xml
34 lines (34 loc) · 2.52 KB
/
VTCompressionSession+VTCompressionOutputCallback.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
<Type Name="VTCompressionSession+VTCompressionOutputCallback" FullName="VideoToolbox.VTCompressionSession+VTCompressionOutputCallback">
<TypeSignature Language="C#" Value="public delegate void VTCompressionSession.VTCompressionOutputCallback(IntPtr sourceFrame, VTStatus status, VTEncodeInfoFlags flags, CMSampleBuffer buffer);" />
<TypeSignature Language="ILAsm" Value=".class nested public auto ansi sealed VTCompressionSession/VTCompressionOutputCallback extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:VideoToolbox.VTCompressionSession.VTCompressionOutputCallback" />
<TypeSignature Language="F#" Value="type VTCompressionSession.VTCompressionOutputCallback = delegate of nativeint * VTStatus * VTEncodeInfoFlags * CMSampleBuffer -> unit" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="sourceFrame" Type="System.IntPtr" />
<Parameter Name="status" Type="VideoToolbox.VTStatus" />
<Parameter Name="flags" Type="VideoToolbox.VTEncodeInfoFlags" />
<Parameter Name="buffer" Type="CoreMedia.CMSampleBuffer" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Docs>
<param name="sourceFrame">The token passed to <see cref="M:VideoToolbox.VTCompressionSession.EncodeFrame(CoreVideo.CVImageBuffer,CoreMedia.CMTime,CoreMedia.CMTime,Foundation.NSDictionary,System.IntPtr,VideoToolbox.VTEncodeInfoFlags@)" /> method</param>
<param name="status">Status code indicating if the operation was successful or not.</param>
<param name="flags">Contains information about the encoding operation. </param>
<param name="buffer">Contains a pointer to the encoded buffer if successful and the frame was not dropped. A value of null indicates either an error, or that the frame was dropped.</param>
<summary>Handler prototype to be called for each compressed frame</summary>
<remarks>The methods invoked as a result of calling <see cref="M:VideoToolbox.VTDecompressionSession.Create(VideoToolbox.VTDecompressionSession.VTDecompressionOutputCallback,CoreMedia.CMVideoFormatDescription,VideoToolbox.VTVideoDecoderSpecification,Foundation.NSDictionary)" /> will be invoked for each frame in decode order, not necessarily the display order.</remarks>
</Docs>
</Type>