Edytuj

Udostępnij za pośrednictwem


CMBlockBuffer Class

Definition

A contiguous range of data offsets over a possibly non-contiguous memory region.

public class CMBlockBuffer : CoreMedia.ICMAttachmentBearer, IDisposable
type CMBlockBuffer = class
    interface ICMAttachmentBearer
    interface INativeObject
    interface IDisposable
Inheritance
CMBlockBuffer
Implements

Properties

DataLength
Handle

Handle (pointer) to the unmanaged object representation.

IsEmpty

Methods

AccessDataBytes(nuint, nuint, IntPtr, IntPtr)
AppendBuffer(CMBlockBuffer, nuint, nuint, CMBlockBufferFlags)
AppendMemoryBlock(Byte[], nuint, CMBlockBufferFlags)
AppendMemoryBlock(IntPtr, nuint, CMCustomBlockAllocator, nuint, nuint, CMBlockBufferFlags)
AssureBlockMemory()
CopyDataBytes(nuint, nuint, Byte[])
CopyDataBytes(nuint, nuint, IntPtr)
CreateContiguous(CMBlockBuffer, CMCustomBlockAllocator, nuint, nuint, CMBlockBufferFlags, CMBlockBufferError)
CreateEmpty(UInt32, CMBlockBufferFlags, CMBlockBufferError)
Dispose()

Releases the resources used by the CMBlockBuffer object.

Dispose(Boolean)

Releases the resources used by the CMBlockBuffer object.

FillDataBytes(Byte, nuint, nuint)
Finalize()

Finalizer for the CMBlockBuffer object

FromBuffer(CMBlockBuffer, nuint, nuint, CMBlockBufferFlags, CMBlockBufferError)
FromMemoryBlock(Byte[], nuint, CMBlockBufferFlags, CMBlockBufferError)
FromMemoryBlock(IntPtr, nuint, CMCustomBlockAllocator, nuint, nuint, CMBlockBufferFlags, CMBlockBufferError)
GetDataPointer(nuint, nuint, nuint, IntPtr)
IsRangeContiguous(nuint, nuint)
ReplaceDataBytes(Byte[], nuint)

Copies and Replaces a chunk of the buffer with the given source byte array data.

ReplaceDataBytes(IntPtr, nuint, nuint)

Extension Methods

GetAttachment<T>(ICMAttachmentBearer, CMSampleBufferAttachmentKey, CMAttachmentMode)
GetAttachment<T>(ICMAttachmentBearer, String, CMAttachmentMode)

Returns the attachment that is identifed by key and writes the attachment propagation mode to attachmentModeOut.

GetAttachments(ICMAttachmentBearer, CMAttachmentMode)

Returns an array of all the bearer's attachments and the attachment propagation mode to attachmentMode.

GetAttachments<TKey,TValue>(ICMAttachmentBearer, CMAttachmentMode)
PropagateAttachments(ICMAttachmentBearer, ICMAttachmentBearer)

Propagates the attachments that belong to source and are allowed to propagate to destination.

RemoveAllAttachments(ICMAttachmentBearer)

Removes all of target's attachment.'

RemoveAttachment(ICMAttachmentBearer, String)

Removes the attachment that is identifed by key.

SetAttachment(ICMAttachmentBearer, String, INativeObject, CMAttachmentMode)

Attaches value to the bearer with the specified key and attachmentMode.

SetAttachments(ICMAttachmentBearer, NSDictionary, CMAttachmentMode)

Attaches theAttachments to the bearer with the specified attachmentMode.

Applies to