Show / Hide Table of Contents

Struct AVResult64

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

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

Constructors

View Source

AVResult64()

Initializes a new instance of the AVResult64 struct with a value of 0.

Declaration
public AVResult64()
View Source

AVResult64(long)

Initializes a new instance of the AVResult64 struct with the specified value.

Declaration
public AVResult64(long value)
Parameters
Type Name Description
long value

The 64-bit integer value to initialize with.

Properties

View Source

ArgumentListTooLong

Argument list too long (E2BIG)

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

BadAddress

Bad address (EFAULT)

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

BadFileDescriptor

Bad file descriptor (EBADF)

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

BitstreamFilterNotFound

Bitstream filter not found.

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

BlockDeviceRequired

Block device required (ENOTBLK)

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

BrokenPipe

Broken pipe (EPIPE)

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

BufferTooSmall

Buffer too small.

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

Bug

Internal bug, also see Bug2

Declaration
public static long Bug { get; }
Property Value
Type Description
long
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 long Bug2 { get; }
Property Value
Type Description
long
View Source

CrossDeviceLink

Cross-device link (EXDEV)

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

DecoderNotFound

Decoder not found.

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

DemuxerNotFound

Demuxer not found.

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

DeviceOrResourceBusy

Device or resource busy (EBUSY)

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

EncoderNotFound

Encoder not found.

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

EndOfFile

End of file.

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

ExecFormatError

Exec format error (ENOEXEC)

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

Exit

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

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

ExperimentalFeature

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

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

ExternalError

Generic error in an external library.

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

FileExists

File exists (EEXIST)

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

FileTooLarge

File too large (EFBIG)

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

FilterNotFound

Filter not found.

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

HttpBadRequest

HTTP 400 Bad Request.

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

HttpForbidden

HTTP 403 Forbidden.

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

HttpNotFound

HTTP 404 Not Found.

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

HttpOther4xx

HTTP other 4xx errors.

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

HttpServerError

HTTP server error (5xx).

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

HttpTooManyRequests

HTTP 429 Too Many Requests.

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

HttpUnauthorized

HTTP 401 Unauthorized.

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

IOError

I/O error (EIO)

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

IllegalSeek

Illegal seek (ESPIPE)

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

InputChanged

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

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

InterruptedSystemCall

Interrupted system call (EINTR)

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

InvalidArgument

Invalid argument (EINVAL)

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

InvalidData

Invalid data found when processing input.

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

IsADirectory

Is a directory (EISDIR)

Declaration
public static long IsADirectory { get; }
Property Value
Type Description
long
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; otherwise, false.

View Source

MuxerNotFound

Muxer not found.

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

NoChildProcesses

No child processes (ECHILD)

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

NoSpaceLeftOnDevice

No space left on device (ENOSPC)

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

NoSuchDevice

No such device (ENODEV)

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

NoSuchDeviceOrAddress

No such device or address (ENXIO)

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

NoSuchFileOrDirectory

No such file or directory (ENOENT)

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

NoSuchProcess

No such process (ESRCH)

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

NotADirectory

Not a directory (ENOTDIR)

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

NotATypewriter

Not a typewriter (ENOTTY)

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

OperationNotPermitted

Operation not permitted (EPERM)

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

OptionNotFound

Option not found.

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

OutOfMemory

Out of memory (ENOMEM)

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

OutputChanged

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

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

PatchWelcome

Not yet implemented in FFmpeg, patches welcome.

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

PermissionDenied

Permission denied (EACCES)

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

ProtocolNotFound

Protocol not found.

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

ReadOnlyFileSystem

Read-only file system (EROFS)

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

StreamNotFound

Stream not found.

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

TextFileBusy

Text file busy (ETXTBSY)

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

TooManyLinks

Too many links (EMLINK)

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

TooManyOpenFiles

Too many open files (EMFILE)

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

TooManyOpenFilesInSystem

Too many open files in system (ENFILE)

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

TryAgain

Try again (EAGAIN)

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

UnknownError

Unknown error, typically from an external library.

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

Methods

View Source

Equals(AVResult64)

Declaration
public bool Equals(AVResult64 other)
Parameters
Type Name Description
AVResult64 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 ==(AVResult64, AVResult64)

Determines whether two AVResult64 instances are equal.

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

The first AVResult64 instance to compare.

AVResult64 right

The second AVResult64 instance to compare.

Returns
Type Description
bool

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

View Source

operator ==(AVResult64, long)

Determines whether an AVResult64 instance is equal to a long value.

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

The AVResult64 instance to compare.

long right

The long value to compare.

Returns
Type Description
bool

true if the instance's value is equal to the long value; otherwise, false.

View Source

operator ==(long, AVResult64)

Determines whether a long value is equal to an AVResult64 instance.

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

The long value to compare.

AVResult64 right

The AVResult64 instance to compare.

Returns
Type Description
bool

true if the long value is equal to the instance's value; otherwise, false.

View Source

explicit operator AVResult32(AVResult64)

Explicitly converts an AVResult64 instance to an AVResult32.

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

The AVResult64 instance to convert.

Returns
Type Description
AVResult32

A new AVResult32 instance with the converted value.

View Source

explicit operator ulong(AVResult64)

Explicitly converts an AVResult64 to a ulong.

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

The AVResult64 instance to convert.

Returns
Type Description
ulong

The underlying ulong value of the AVResult64 instance.

View Source

explicit operator AVResult64(ulong)

Explicitly converts a ulong to an AVResult64.

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

The ulong value to convert.

Returns
Type Description
AVResult64

A new AVResult64 instance initialized with the specified value.

View Source

implicit operator AVResult64(AVResult32)

Implicitly converts an AVResult32 instance to an AVResult64.

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

The AVResult32 instance to convert.

Returns
Type Description
AVResult64

A new AVResult64 instance with the corresponding value.

View Source

implicit operator long(AVResult64)

Implicitly converts an AVResult64 to a long.

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

The AVResult64 instance to convert.

Returns
Type Description
long

The underlying long value of the AVResult64 instance.

View Source

implicit operator AVResult64(long)

Implicitly converts a long to an AVResult64.

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

The long value to convert.

Returns
Type Description
AVResult64

A new AVResult64 instance initialized with the specified value.

View Source

operator !=(AVResult64, AVResult64)

Determines whether two AVResult64 instances are not equal.

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

The first AVResult64 instance to compare.

AVResult64 right

The second AVResult64 instance to compare.

Returns
Type Description
bool

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

View Source

operator !=(AVResult64, long)

Determines whether an AVResult64 instance is not equal to a long value.

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

The AVResult64 instance to compare.

long right

The long value to compare.

Returns
Type Description
bool

true if the instance's value is not equal to the long value; otherwise, false.

View Source

operator !=(long, AVResult64)

Determines whether a long value is not equal to an AVResult64 instance.

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

The long value to compare.

AVResult64 right

The AVResult64 instance to compare.

Returns
Type Description
bool

true if the long value is not equal to the instance's value; otherwise, false.

Implements

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