VisioForge (c) 2025

Search Results for

    Enum NVENCErrorCode

    NVENC error codes.

    Namespace: VisioForge.Core.Types.Output
    Assembly: VisioForge.Core.dll
    Syntax
    public enum NVENCErrorCode

    Fields

    Name Description
    DeviceNotExist

    This indicates that device passed to the API call is no longer available and needs to be reinitialized. The clients need to destroy the current encoder
    session by freeing the allocated input output buffers and destroying the device and create a new encoding session.

    EncoderBusy

    This indicates that the HW encoder is busy encoding and is unable to encode
    the input. The client should call ::NvEncEncodePicture() again after few milliseconds.

    EncoderNotInitialized

    This indicates that the encoder has not been initialized with ::NvEncInitializeEncoder() or that initialization has failed. The client cannot allocate input or output buffers or do any encoding related operation before successfully initializing the encoder.

    EventNotRegistered

    This indicates that the completion event passed in ::NvEncEncodePicture() API has not been registered with encoder driver using ::NvEncRegisterAsyncEvent().

    GenericError

    This indicates that an unknown internal error has occurred.

    IncompatibleClientKey

    This indicates that the client is attempting to use a feature that is not available for the license type for the current system.

    InvalidCall

    This indicates that an API call was made in wrong sequence/order.

    InvalidDevice

    This indicates that device passed to the API call is invalid.

    InvalidEncoderDevice

    This indicates that the encoder device supplied by the client is not valid.

    InvalidEvent

    This indicates that completion event passed in ::NvEncEncodePicture() call is invalid.

    InvalidParameter

    This indicates that one or more of the parameter passed to the API call is invalid.

    InvalidPointer

    This indicates that one or more of the pointers passed to the API call is invalid.

    InvalidVersion

    This indicates that an invalid struct version was used by the client.

    LockBusy

    This indicates that the ::NvEncLockBitstream() failed to lock the output buffer.

    MapFailed

    This indicates that ::NvEncMapInputResource() API failed to map the client provided input resource.

    NeedMoreInput

    This indicates encode driver requires more input buffers to produce an output bitstream.

    NoEncodeDevice

    This indicates that no encode capable devices were detected.

    NotEnoughBuffer

    This indicates that the size of the user buffer passed by the client is insufficient for the requested operation.

    OutOfMemory

    This indicates that the API call failed because it was unable to allocate enough memory to perform the requested operation.

    ResourceNotMapped

    This indicates that the client is attempting to unmap a resource that has not been successfully mapped.

    ResourceNotRegistered

    This indicates that the client is attempting to unregister a resource that has not been successfully registered.

    ResourceRegisterFailder

    This indicates that the ::NvEncRegisterResource API failed to register the resource.

    Success

    This indicates that API call returned with no errors.

    Unimplemeted

    This indicates that the client is attempting to use a feature that is not implemented for the current version.

    UnsupportedDevice

    This indicates that devices pass by the client is not supported.

    UnsupportedParameter

    This indicates that an unsupported parameter was passed by the client.