AVBlocks for C++  2.1
Audio and Video Software Development Kit
primo::codecs::CodecError Namespace Reference

Common errors for encoders, decoders, muxers, demuxers and other A/V components. More...

Enumerations

enum  Enum {
  Success = 0,
  Init = 1,
  NoConfigData = 2,
  NoOutput = 3,
  OutputBufferNotEnough = 4,
  Unsupported = 5,
  Failed = 6,
  NotInitialized = 7,
  NullPointer = 8,
  EOS = 9,
  Alloc = 10,
  InvalidStream = 11,
  NotImplemented = 12,
  InvalidParams = 13,
  InvalidOperation = 14,
  MissingDependency = 15,
  StreamOpen = 16,
  StreamRead = 17,
  StreamWrite = 18,
  StreamSeek = 19,
  BufferFull = 20,
  MissingHardwareIntelQuickSync = 21,
  MissingHardwareAmdVce = 22,
  MissingHardwareNvidiaNVENC = 23
}
 

Detailed Description

Common errors for encoders, decoders, muxers, demuxers and other A/V components.

See Also
primo::ErrorFacility::Codec

Enumeration Type Documentation

enum Enum
Enumerator
Init 

Failed to initialize or open codec.

NoConfigData 

Codec configuration data is required, but is missing.

This data is part of a container format and is stored separately from the audio/video stream. It is essential for decoding an elementary stream stored in the container.

NoOutput 

No output has been generated (insufficient input data).

This is a non-fatal error. The component may recover after it receives more valid data.

OutputBufferNotEnough 

The output buffer is not big enough for the generated output data.

Unsupported 

Unsupported format or operation.

Failed 

The operation failed for unknown reason.

NotInitialized 

The operation cannot be completed because the component is not initialized.

NullPointer 

One or more of the input parameters are NULL but are expected to be valid pointers.

EOS 

End of stream; no more data.

Alloc 

Failed to allocate memory.

InvalidStream 

Invalid bitstream.

NotImplemented 

The operation is not implemented yet.

InvalidParams 

At least one of the input parameters has an invalid value for the specified operation.

Check ErrorInfo::hint() for details.

InvalidOperation 

The operation is not allowed.

Check ErrorInfo::hint() for more details.

MissingDependency 

A required library/dependency is not present.

Check ErrorInfo::hint() for more details.

StreamOpen 

Could not open a user stream (primo::Stream).

StreamRead 

Could not read from a user stream (primo::Stream).

StreamWrite 

Could not write to a user stream (primo::Stream).

StreamSeek 

Could not seek in a user stream (primo::Stream).

BufferFull 

One of the input/output buffers is full and cannot accept more data.

MissingHardwareIntelQuickSync 

Intel QuickSync Video hardware not found.

MissingHardwareAmdVce 

AMD VCE hardware not found.

MissingHardwareNvidiaNVENC 

NVIDIA NVENC hardware not found.