Show / Hide Table of Contents

Struct AVResult32

Represents a 32-bit integer result from an AV operation.

Implements
IEquatable<AVResult32>
IEquatable<int>
Inherited Members
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: FFmpeg.Utils
Assembly: FFmpeg.dll
Syntax
public readonly struct AVResult32 : IEquatable<AVResult32>, IEquatable<int>

Constructors

View Source

AVResult32()

Initializes a new instance of the AVResult32 class with a value of 0.

Declaration
public AVResult32()
View Source

AVResult32(int)

Initializes a new instance of the AVResult32 class with the specified value.

Declaration
public AVResult32(int value)
Parameters
Type Name Description
int value

The 32-bit integer value to initialize with.

Properties

View Source

ArgumentListTooLong

Argument list too long (E2BIG)

Declaration
public static int ArgumentListTooLong { get; }
Property Value
Type Description
int
View Source

BadAddress

Bad address (EFAULT)

Declaration
public static int BadAddress { get; }
Property Value
Type Description
int
View Source

BadFileDescriptor

Bad file descriptor (EBADF)

Declaration
public static int BadFileDescriptor { get; }
Property Value
Type Description
int
View Source

BitstreamFilterNotFound

Bitstream filter not found.

Declaration
public static int BitstreamFilterNotFound { get; }
Property Value
Type Description
int
View Source

BlockDeviceRequired

Block device required (ENOTBLK)

Declaration
public static int BlockDeviceRequired { get; }
Property Value
Type Description
int
View Source

BrokenPipe

Broken pipe (EPIPE)

Declaration
public static int BrokenPipe { get; }
Property Value
Type Description
int
View Source

BufferTooSmall

Buffer too small.

Declaration
public static int BufferTooSmall { get; }
Property Value
Type Description
int
View Source

Bug

Internal bug, also see Bug2

Declaration
public static int Bug { get; }
Property Value
Type Description
int
View Source

Bug2

This is semantically identical to Bug it has been introduced in Libav after our AVERROR_BUG and with a modified value.

Declaration
public static int Bug2 { get; }
Property Value
Type Description
int
View Source

CrossDeviceLink

Cross-device link (EXDEV)

Declaration
public static int CrossDeviceLink { get; }
Property Value
Type Description
int
View Source

DecoderNotFound

Decoder not found.

Declaration
public static int DecoderNotFound { get; }
Property Value
Type Description
int
View Source

DemuxerNotFound

Demuxer not found.

Declaration
public static int DemuxerNotFound { get; }
Property Value
Type Description
int
View Source

DeviceOrResourceBusy

Device or resource busy (EBUSY)

Declaration
public static int DeviceOrResourceBusy { get; }
Property Value
Type Description
int
View Source

EncoderNotFound

Encoder not found.

Declaration
public static int EncoderNotFound { get; }
Property Value
Type Description
int
View Source

EndOfFile

End of file.

Declaration
public static int EndOfFile { get; }
Property Value
Type Description
int
View Source

ExecFormatError

Exec format error (ENOEXEC)

Declaration
public static int ExecFormatError { get; }
Property Value
Type Description
int
View Source

Exit

Immediate exit was requested; the called function should not be restarted.

Declaration
public static int Exit { get; }
Property Value
Type Description
int
View Source

ExperimentalFeature

Requested feature is flagged experimental. Notify strict_std_compliance if you really want to use it.

Declaration
public static int ExperimentalFeature { get; }
Property Value
Type Description
int
View Source

ExternalError

Generic error in an external library.

Declaration
public static int ExternalError { get; }
Property Value
Type Description
int
View Source

FileExists

File exists (EEXIST)

Declaration
public static int FileExists { get; }
Property Value
Type Description
int
View Source

FileTooLarge

File too large (EFBIG)

Declaration
public static int FileTooLarge { get; }
Property Value
Type Description
int
View Source

FilterNotFound

Filter not found.

Declaration
public static int FilterNotFound { get; }
Property Value
Type Description
int
View Source

HttpBadRequest

HTTP 400 Bad Request.

Declaration
public static int HttpBadRequest { get; }
Property Value
Type Description
int
View Source

HttpForbidden

HTTP 403 Forbidden.

Declaration
public static int HttpForbidden { get; }
Property Value
Type Description
int
View Source

HttpNotFound

HTTP 404 Not Found.

Declaration
public static int HttpNotFound { get; }
Property Value
Type Description
int
View Source

HttpOther4xx

HTTP other 4xx errors.

Declaration
public static int HttpOther4xx { get; }
Property Value
Type Description
int
View Source

HttpServerError

HTTP server error (5xx).

Declaration
public static int HttpServerError { get; }
Property Value
Type Description
int
View Source

HttpTooManyRequests

HTTP 429 Too Many Requests.

Declaration
public static int HttpTooManyRequests { get; }
Property Value
Type Description
int
View Source

HttpUnauthorized

HTTP 401 Unauthorized.

Declaration
public static int HttpUnauthorized { get; }
Property Value
Type Description
int
View Source

IOError

I/O error (EIO)

Declaration
public static int IOError { get; }
Property Value
Type Description
int
View Source

IllegalSeek

Illegal seek (ESPIPE)

Declaration
public static int IllegalSeek { get; }
Property Value
Type Description
int
View Source

InputChanged

Input changed between calls. Reconfiguration is required. (can be OR-ed with OutputChanged)

Declaration
public static int InputChanged { get; }
Property Value
Type Description
int
View Source

InterruptedSystemCall

Interrupted system call (EINTR)

Declaration
public static int InterruptedSystemCall { get; }
Property Value
Type Description
int
View Source

InvalidArgument

Invalid argument (EINVAL)

Declaration
public static int InvalidArgument { get; }
Property Value
Type Description
int
View Source

InvalidData

Invalid data found when processing input.

Declaration
public static int InvalidData { get; }
Property Value
Type Description
int
View Source

IsADirectory

Is a directory (EISDIR)

Declaration
public static int IsADirectory { get; }
Property Value
Type Description
int
View Source

IsError

Gets a value indicating whether the result represents an error.

Declaration
public bool IsError { get; }
Property Value
Type Description
bool

true if the result is less than 0 or (EAGAIN); otherwise, false.

View Source

IsTryAgain

True if, this == TryAgain

Declaration
public bool IsTryAgain { get; }
Property Value
Type Description
bool
View Source

MuxerNotFound

Muxer not found.

Declaration
public static int MuxerNotFound { get; }
Property Value
Type Description
int
View Source

NoChildProcesses

No child processes (ECHILD)

Declaration
public static int NoChildProcesses { get; }
Property Value
Type Description
int
View Source

NoSpaceLeftOnDevice

No space left on device (ENOSPC)

Declaration
public static int NoSpaceLeftOnDevice { get; }
Property Value
Type Description
int
View Source

NoSuchDevice

No such device (ENODEV)

Declaration
public static int NoSuchDevice { get; }
Property Value
Type Description
int
View Source

NoSuchDeviceOrAddress

No such device or address (ENXIO)

Declaration
public static int NoSuchDeviceOrAddress { get; }
Property Value
Type Description
int
View Source

NoSuchFileOrDirectory

No such file or directory (ENOENT)

Declaration
public static int NoSuchFileOrDirectory { get; }
Property Value
Type Description
int
View Source

NoSuchProcess

No such process (ESRCH)

Declaration
public static int NoSuchProcess { get; }
Property Value
Type Description
int
View Source

NotADirectory

Not a directory (ENOTDIR)

Declaration
public static int NotADirectory { get; }
Property Value
Type Description
int
View Source

NotATypewriter

Not a typewriter (ENOTTY)

Declaration
public static int NotATypewriter { get; }
Property Value
Type Description
int
View Source

OperationNotPermitted

Operation not permitted (EPERM)

Declaration
public static int OperationNotPermitted { get; }
Property Value
Type Description
int
View Source

OptionNotFound

Option not found.

Declaration
public static int OptionNotFound { get; }
Property Value
Type Description
int
View Source

OutOfMemory

Out of memory (ENOMEM)

Declaration
public static int OutOfMemory { get; }
Property Value
Type Description
int
View Source

OutOfRange

The value was out of range (ERANGE)

Declaration
public static int OutOfRange { get; }
Property Value
Type Description
int
View Source

OutputChanged

Output changed between calls. Reconfiguration is required. (can be OR-ed with InputChanged)

Declaration
public static int OutputChanged { get; }
Property Value
Type Description
int
View Source

PatchWelcome

Not yet implemented in FFmpeg, patches welcome.

Declaration
public static int PatchWelcome { get; }
Property Value
Type Description
int
View Source

PermissionDenied

Permission denied (EACCES)

Declaration
public static int PermissionDenied { get; }
Property Value
Type Description
int
View Source

ProtocolNotFound

Protocol not found.

Declaration
public static int ProtocolNotFound { get; }
Property Value
Type Description
int
View Source

ReadOnlyFileSystem

Read-only file system (EROFS)

Declaration
public static int ReadOnlyFileSystem { get; }
Property Value
Type Description
int
View Source

StreamNotFound

Stream not found.

Declaration
public static int StreamNotFound { get; }
Property Value
Type Description
int
View Source

TextFileBusy

Text file busy (ETXTBSY)

Declaration
public static int TextFileBusy { get; }
Property Value
Type Description
int
View Source

TooManyLinks

Too many links (EMLINK)

Declaration
public static int TooManyLinks { get; }
Property Value
Type Description
int
View Source

TooManyOpenFiles

Too many open files (EMFILE)

Declaration
public static int TooManyOpenFiles { get; }
Property Value
Type Description
int
View Source

TooManyOpenFilesInSystem

Too many open files in system (ENFILE)

Declaration
public static int TooManyOpenFilesInSystem { get; }
Property Value
Type Description
int
View Source

TryAgain

Try again (EAGAIN)

Declaration
public static int TryAgain { get; }
Property Value
Type Description
int
View Source

UnknownError

Unknown error, typically from an external library.

Declaration
public static int UnknownError { get; }
Property Value
Type Description
int

Methods

View Source

Equals(AVResult32)

Declaration
public bool Equals(AVResult32 other)
Parameters
Type Name Description
AVResult32 other
Returns
Type Description
bool
View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
ValueType.Equals(object)
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
ValueType.GetHashCode()
View Source

ThrowIfError()

Throws an FFmpegException if the specified error code is negative.

Declaration
public void ThrowIfError()
Exceptions
Type Condition
FFmpegException

Thrown if the error code is negative.

OutOfMemoryException

Thrown if the error code is ENOMEM.

IOException

Thrown if the error code is EPIPE.

ArgumentException

Thrown if the error code is EINVAL or E2BIG.

ArgumentOutOfRangeException

Thrown if the error code is ERANGE.

View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
ValueType.ToString()

Operators

View Source

operator ==(AVResult32, AVResult32)

Determines whether two AVResult32 instances are equal.

Declaration
public static bool operator ==(AVResult32 left, AVResult32 right)
Parameters
Type Name Description
AVResult32 left

The first AVResult32 instance to compare.

AVResult32 right

The second AVResult32 instance to compare.

Returns
Type Description
bool

true if the two instances are equal; otherwise, false.

View Source

explicit operator uint(AVResult32)

Explicitly converts an AVResult32 to an uint.

Declaration
public static explicit operator uint(AVResult32 result)
Parameters
Type Name Description
AVResult32 result

The AVResult32 instance to convert.

Returns
Type Description
uint

The underlying integer value of the AVResult32 instance, cast to uint.

View Source

explicit operator ulong(AVResult32)

Explicitly converts an AVResult32 to an ulong.

Declaration
public static explicit operator ulong(AVResult32 result)
Parameters
Type Name Description
AVResult32 result

The AVResult32 instance to convert.

Returns
Type Description
ulong

The underlying integer value of the AVResult32 instance, cast to ulong.

View Source

implicit operator int(AVResult32)

Implicitly converts an AVResult32 to an int.

Declaration
public static implicit operator int(AVResult32 result)
Parameters
Type Name Description
AVResult32 result

The AVResult32 instance to convert.

Returns
Type Description
int

The underlying integer value of the AVResult32 instance.

View Source

implicit operator long(AVResult32)

Implicitly converts an AVResult32 to an long.

Declaration
public static implicit operator long(AVResult32 result)
Parameters
Type Name Description
AVResult32 result

The AVResult32 instance to convert.

Returns
Type Description
long

The underlying int value of the AVResult32 instance.

View Source

implicit operator AVResult32(int)

Implicitly converts an int to an AVResult32.

Declaration
public static implicit operator AVResult32(int result)
Parameters
Type Name Description
int result

The integer value to convert.

Returns
Type Description
AVResult32

A new AVResult32 instance initialized with the specified value.

View Source

implicit operator AVResult32(long)

Explicitly converts an long to an AVResult32.

Declaration
public static implicit operator AVResult32(long result)
Parameters
Type Name Description
long result

The long value to convert.

Returns
Type Description
AVResult32

A new AVResult32 instance initialized with the specified value.

View Source

implicit operator AVResult32(uint)

Explicitly converts an uint to an AVResult32.

Declaration
public static implicit operator AVResult32(uint result)
Parameters
Type Name Description
uint result

The unsigned integer value to convert.

Returns
Type Description
AVResult32

A new AVResult32 instance initialized with the specified value.

View Source

implicit operator AVResult32(ulong)

Explicitly converts an ulong to an AVResult32.

Declaration
public static implicit operator AVResult32(ulong result)
Parameters
Type Name Description
ulong result

The unsigned long value to convert.

Returns
Type Description
AVResult32

A new AVResult32 instance initialized with the specified value.

View Source

operator !=(AVResult32, AVResult32)

Determines whether two AVResult32 instances are not equal.

Declaration
public static bool operator !=(AVResult32 left, AVResult32 right)
Parameters
Type Name Description
AVResult32 left

The first AVResult32 instance to compare.

AVResult32 right

The second AVResult32 instance to compare.

Returns
Type Description
bool

true if the two instances are not equal; otherwise, false.

Implements

IEquatable<T>
IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX