eBUS SDK .NET API
  • Getting Started
    • Getting started with the eBUS SDK .NET API
    • Configuring Your IDE
    • Receiving Data from a GigE Vision or USB3 Vision Transmitter
    • Sample Applications
    • GigE Vision Device Communication Parameters
    • USB3 Vision Device Communication Parameters
    • PvStream USB3 Vision Parameters
    • PvStream GigE Vision Parameters
  • eBUS SDK .NET API Reference
    • API Overview
    • eBUSDotNet
    • eBUSDotNetReceive
    • eBUSDotNetEdge
Search Results for

    Show / Hide Table of Contents
      • GenDCComponentFlagsGroup
      • GenDCComponentHeader
      • GenDCComponentHeaderBase
      • GenDCComponentType
      • GenDCContainerFlagsGroup
      • GenDCContainerHeader
      • GenDCContainerHeaderBase
      • GenDCContainerVariableFieldsGroup
      • GenDCFlowTable
      • GenDCFlowTableHeader
      • GenDCGenericPartType
      • GenDCHeaderType
      • GenDCInfoTypeSpecificH264
      • GenDCInfoTypeSpecificH264.H264Flags
      • GenDCInfoTypeSpecificJPEG
      • GenDCPartFlagsGroup
      • GenDCPartHeader
      • GenDCPartHeader1D
      • GenDCPartHeader1DBase
      • GenDCPartHeader2D
      • GenDCPartHeader2DBase
      • GenDCPartHeaderBase
      • GenDCPartHeaderGenICamChunk
      • GenDCPartHeaderGenICamXML
      • GenDCPartHeaderH264
      • GenDCPartHeaderJPEG
      • GenDCPartHeaderJPEG2000
      • GenDCPartType
      • GenDCPredefinedComponentValue
      • GenDCPredefinedPartValue
      • GenDCPredefinedValue16
      • GenDCPredefinedValue32
      • GenDCPredefinedValue64
      • GenDCReservedValue
      • GenDCSignature
      • GenDCVersionValue
      • IPvChunkData
      • IPvFilter
      • IPvGenDCChunkData
      • IPvGenDCChunkWriter
      • IPvGenDCImage
      • IPvGenDCManager
      • IPvGenericDataComponent
      • IPvGenericDataContainer
      • IPvGenericDataPart
      • IPvH264AccessUnit
      • IPvImage
      • IPvImageJPEG
      • IPvMultiPartContainer
      • IPvMultiPartContainerReader
      • IPvMultiPartContainerWriter
      • IPvMultiPartSection
      • OnDeviceFoundHandler
      • OnParameterUpdateHandler
      • PvBuffer
      • PvChunkData
      • PvComponentType
      • PvCompressionFilter
      • PvDeInterlacer
      • PvDecompressionFilter
      • PvDeviceClass
      • PvDeviceInfo
      • PvDeviceInfoGEV
      • PvDeviceInfoPleoraProtocol
      • PvDeviceInfoType
      • PvDeviceInfoU3V
      • PvDeviceInfoUSB
      • PvDeviceType
      • PvEncodingEnum
      • PvException
      • PvFPSStabilizer
      • PvGenAccessMode
      • PvGenBoolean
      • PvGenCache
      • PvGenCategory
      • PvGenCommand
      • PvGenDCPart1DFields
      • PvGenDCPart2DFields
      • PvGenDCPartH264Fields
      • PvGenDCPartH264Fields.H264Flags
      • PvGenDCPartMetadataFields
      • PvGenDCPartType
      • PvGenDCVariableField
      • PvGenEndianness
      • PvGenEnum
      • PvGenEnumEntry
      • PvGenEventSink
      • PvGenEventSinkSwigInterface
      • PvGenFile
      • PvGenFloat
      • PvGenInteger
      • PvGenNameSpace
      • PvGenOpenMode
      • PvGenParameter
      • PvGenParameterArray
      • PvGenParameterList
      • PvGenRefresh
      • PvGenRegister
      • PvGenRepresentation
      • PvGenSign
      • PvGenStateStack
      • PvGenString
      • PvGenType
      • PvGenVisibility
      • PvImage
      • PvInterface
      • PvInterfaceType
      • PvMultiPartDataType
      • PvNetworkAdapter
      • PvPayloadType
      • PvPixelType
      • PvPleoraCompressed
      • PvRawData
      • PvResult
      • PvResult.Code
      • PvResult.Code.CodeEnum
      • PvSessionInfo
      • PvString
      • PvStringList
      • PvSystem
      • PvSystemEventSink
      • PvTapFilter
      • PvTapGeometryEnum
      • PvTftpClient
      • PvUSBHostController
      • PvUSBSpeed
      • PvUSBStatus
      • SWIGTYPE_p_PV_GENAPI_NS__INode
      • SWIGTYPE_p_PV_GENAPI_NS__INodeMap
      • SWIGTYPE_p_long_long
      • SWIGTYPE_p_unsigned_char
      • SWIGTYPE_p_unsigned_long_long
      • eBUSDotNet
      • uint24_t

    Class IPvH264AccessUnit

    Generic, read-only H264 access unit interface.

    Inheritance
    object
    IPvH264AccessUnit
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: eBUSDotNet
    Assembly: eBUSDotNet.dll
    Syntax
    public class IPvH264AccessUnit : IDisposable

    Fields

    View Source

    swigCMemOwn

    Determines who is responsible for deleting the underlying C++ object.

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    bool

    Properties

    View Source

    Height

    Height of the H264 frame.

    Declaration
    public virtual uint Height { get; }
    Property Value
    Type Description
    uint
    View Source

    NALCount

    Number of NAL units.

    Declaration
    public virtual uint NALCount { get; }
    Property Value
    Type Description
    uint
    View Source

    NALDataSize

    NAL data size.

    Declaration
    public virtual uint NALDataSize { get; }
    Property Value
    Type Description
    uint
    View Source

    OffsetBottom

    Bottom offset.

    Declaration
    public virtual uint OffsetBottom { get; }
    Property Value
    Type Description
    uint
    View Source

    OffsetLeft

    Left offset.

    Declaration
    public virtual uint OffsetLeft { get; }
    Property Value
    Type Description
    uint
    View Source

    OffsetRight

    Right offset.

    Declaration
    public virtual uint OffsetRight { get; }
    Property Value
    Type Description
    uint
    View Source

    OffsetTop

    Top offset.

    Declaration
    public virtual uint OffsetTop { get; }
    Property Value
    Type Description
    uint
    View Source

    PvDuration

    Duration of the access unit.

    Declaration
    public virtual ulong PvDuration { get; }
    Property Value
    Type Description
    ulong
    View Source

    PvSize

    Size of the H264 access unit in bytes.

    Declaration
    public virtual uint PvSize { get; }
    Property Value
    Type Description
    uint
    View Source

    Width

    Width of the H264 frame.

    Declaration
    public virtual uint Width { get; }
    Property Value
    Type Description
    uint

    Methods

    View Source

    AddNAL(byte[], uint)

    Copies a NAL to this access unit.

    Declaration
    public virtual PvResult AddNAL(byte[] aPtr, uint aLength)
    Parameters
    Type Name Description
    byte[] aPtr

    Pointer to the NAL to copy.

    uint aLength

    Length of the NAL to copy.

    Returns
    Type Description
    PvResult

    Includes: - #PvResult::Code::OK

    View Source

    Alloc(ulong)

    Allocates memory for this access unit.

    Declaration
    public virtual PvResult Alloc(ulong aPayloadLength)
    Parameters
    Type Name Description
    ulong aPayloadLength

    The raw payload length of the H264 Access Unit data, in bytes. See GetNALDataSize.

    Returns
    Type Description
    PvResult

    Includes: - #PvResult::Code::OK - #PvResult::Code::NOT_ENOUGH_MEMORY

    View Source

    Alloc(ulong, uint)

    Allocates memory for this access unit.

    Declaration
    public virtual PvResult Alloc(ulong aPayloadLength, uint aMaximumChunkLength)
    Parameters
    Type Name Description
    ulong aPayloadLength

    The raw payload length of the H264 Access Unit data, in bytes. See GetNALDataSize.

    uint aMaximumChunkLength

    Maximum size in bytes to store chunks ( must include extra 64 bits by chunks for headers ).

    Returns
    Type Description
    PvResult

    Includes: - #PvResult::Code::OK - #PvResult::Code::NOT_ENOUGH_MEMORY

    View Source

    CopyNALData(byte[], uint, uint, uint)

    Copies NAL data to the buffer

    Declaration
    public virtual PvResult CopyNALData(byte[] aPtr, uint aLength, uint aWidth, uint aHeight)
    Parameters
    Type Name Description
    byte[] aPtr

    Pointer to the NAL data.

    uint aLength

    Data length in bytes.

    uint aWidth

    Width of the compressed video stream.

    uint aHeight

    Height of the compressed video stream.

    Returns
    Type Description
    PvResult

    Includes: - #PvResult::Code::OK - #PvResult::Code::INVALID_PARAMETER

    View Source

    Dispose()

    Dispose.

    Declaration
    public void Dispose()
    View Source

    Dispose(bool)

    Dispose

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    View Source

    ~IPvH264AccessUnit()

    Destructor.

    Declaration
    protected ~IPvH264AccessUnit()
    View Source

    Free()

    Frees (de-allocates) the buffer's internal memory.

    Declaration
    public virtual void Free()
    See Also
    Alloc(ulong, uint)
    View Source

    GetNALDataPtr()

    Returns a pointer to the raw NAL data buffer.

    Declaration
    public virtual byte* GetNALDataPtr()
    Returns
    Type Description
    byte*

    Pointer to the first NAL.

    View Source

    GetNALPtr(uint, out byte*, out uint)

    Returns a pointer to a NAL stored in this access unit.

    Declaration
    public virtual PvResult GetNALPtr(uint aIndex, out byte* aPtr, out uint aLength)
    Parameters
    Type Name Description
    uint aIndex

    Zero-based index of the NAL.

    byte* aPtr

    Pointer to the NAL.

    uint aLength

    NAL length in bytes.

    Returns
    Type Description
    PvResult

    Includes: - #PvResult::Code::OK - #PvResult::Code::NOT_FOUND if aIndex is invalid.

    View Source

    HasSPS()

    Indicates if this access unit has SPS NALs.

    Declaration
    public virtual bool HasSPS()
    Returns
    Type Description
    bool

    true if SPS NALs are present; otherwise, false.

    View Source

    Reset()

    Resets the access unit

    Declaration
    public virtual void Reset()

    Implements

    IDisposable
    • View Source
    In this article
    Back to top Generated by DocFX