Table of Contents

Enum NVENCErrorCode

Namespace
VisioForge.Core.Types.Output
Assembly
VisioForge.Core.dll

NVENC error codes.

public enum NVENCErrorCode

Fields

Success = 0

This indicates that API call returned with no errors.

NoEncodeDevice = 1

This indicates that no encode capable devices were detected.

UnsupportedDevice = 2

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

InvalidEncoderDevice = 3

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

InvalidDevice = 4

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

DeviceNotExist = 5

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.

InvalidPointer = 6

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

InvalidEvent = 7

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

InvalidParameter = 8

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

InvalidCall = 9

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

OutOfMemory = 10

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

EncoderNotInitialized = 11

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.

UnsupportedParameter = 12

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

LockBusy = 13

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

NotEnoughBuffer = 14

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

InvalidVersion = 15

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

MapFailed = 16

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

NeedMoreInput = 17

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

EncoderBusy = 18

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.

EventNotRegistered = 19

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

GenericError = 20

This indicates that an unknown internal error has occurred.

IncompatibleClientKey = 21

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

Unimplemeted = 22

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

ResourceRegisterFailder = 23

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

ResourceNotRegistered = 24

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

ResourceNotMapped = 25

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