Struct AVResult64
Represents a 64-bit integer result from an AV operation.
Inherited Members
Namespace: FFmpeg.Utils
Assembly: FFmpeg.dll
Syntax
public readonly struct AVResult64 : IEquatable<AVResult64>, IEquatable<long>
Constructors
View SourceAVResult64()
Initializes a new instance of the AVResult64 struct with a value of 0.
Declaration
public AVResult64()
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 SourceArgumentListTooLong
Argument list too long (E2BIG)
Declaration
public static long ArgumentListTooLong { get; }
Property Value
| Type | Description |
|---|---|
| long |
BadAddress
Bad address (EFAULT)
Declaration
public static long BadAddress { get; }
Property Value
| Type | Description |
|---|---|
| long |
BadFileDescriptor
Bad file descriptor (EBADF)
Declaration
public static long BadFileDescriptor { get; }
Property Value
| Type | Description |
|---|---|
| long |
BitstreamFilterNotFound
Bitstream filter not found.
Declaration
public static long BitstreamFilterNotFound { get; }
Property Value
| Type | Description |
|---|---|
| long |
BlockDeviceRequired
Block device required (ENOTBLK)
Declaration
public static long BlockDeviceRequired { get; }
Property Value
| Type | Description |
|---|---|
| long |
BrokenPipe
Broken pipe (EPIPE)
Declaration
public static long BrokenPipe { get; }
Property Value
| Type | Description |
|---|---|
| long |
BufferTooSmall
Buffer too small.
Declaration
public static long BufferTooSmall { get; }
Property Value
| Type | Description |
|---|---|
| long |
Bug
Internal bug, also see Bug2
Declaration
public static long Bug { get; }
Property Value
| Type | Description |
|---|---|
| long |
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 |
CrossDeviceLink
Cross-device link (EXDEV)
Declaration
public static long CrossDeviceLink { get; }
Property Value
| Type | Description |
|---|---|
| long |
DecoderNotFound
Decoder not found.
Declaration
public static long DecoderNotFound { get; }
Property Value
| Type | Description |
|---|---|
| long |
DemuxerNotFound
Demuxer not found.
Declaration
public static long DemuxerNotFound { get; }
Property Value
| Type | Description |
|---|---|
| long |
DeviceOrResourceBusy
Device or resource busy (EBUSY)
Declaration
public static long DeviceOrResourceBusy { get; }
Property Value
| Type | Description |
|---|---|
| long |
EncoderNotFound
Encoder not found.
Declaration
public static long EncoderNotFound { get; }
Property Value
| Type | Description |
|---|---|
| long |
EndOfFile
End of file.
Declaration
public static long EndOfFile { get; }
Property Value
| Type | Description |
|---|---|
| long |
ExecFormatError
Exec format error (ENOEXEC)
Declaration
public static long ExecFormatError { get; }
Property Value
| Type | Description |
|---|---|
| long |
Exit
Immediate exit was requested; the called function should not be restarted.
Declaration
public static long Exit { get; }
Property Value
| Type | Description |
|---|---|
| long |
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 |
ExternalError
Generic error in an external library.
Declaration
public static long ExternalError { get; }
Property Value
| Type | Description |
|---|---|
| long |
FileExists
File exists (EEXIST)
Declaration
public static long FileExists { get; }
Property Value
| Type | Description |
|---|---|
| long |
FileTooLarge
File too large (EFBIG)
Declaration
public static long FileTooLarge { get; }
Property Value
| Type | Description |
|---|---|
| long |
FilterNotFound
Filter not found.
Declaration
public static long FilterNotFound { get; }
Property Value
| Type | Description |
|---|---|
| long |
HttpBadRequest
HTTP 400 Bad Request.
Declaration
public static long HttpBadRequest { get; }
Property Value
| Type | Description |
|---|---|
| long |
HttpForbidden
HTTP 403 Forbidden.
Declaration
public static long HttpForbidden { get; }
Property Value
| Type | Description |
|---|---|
| long |
HttpNotFound
HTTP 404 Not Found.
Declaration
public static long HttpNotFound { get; }
Property Value
| Type | Description |
|---|---|
| long |
HttpOther4xx
HTTP other 4xx errors.
Declaration
public static long HttpOther4xx { get; }
Property Value
| Type | Description |
|---|---|
| long |
HttpServerError
HTTP server error (5xx).
Declaration
public static long HttpServerError { get; }
Property Value
| Type | Description |
|---|---|
| long |
HttpTooManyRequests
HTTP 429 Too Many Requests.
Declaration
public static long HttpTooManyRequests { get; }
Property Value
| Type | Description |
|---|---|
| long |
HttpUnauthorized
HTTP 401 Unauthorized.
Declaration
public static long HttpUnauthorized { get; }
Property Value
| Type | Description |
|---|---|
| long |
IOError
I/O error (EIO)
Declaration
public static long IOError { get; }
Property Value
| Type | Description |
|---|---|
| long |
IllegalSeek
Illegal seek (ESPIPE)
Declaration
public static long IllegalSeek { get; }
Property Value
| Type | Description |
|---|---|
| long |
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 |
InterruptedSystemCall
Interrupted system call (EINTR)
Declaration
public static long InterruptedSystemCall { get; }
Property Value
| Type | Description |
|---|---|
| long |
InvalidArgument
Invalid argument (EINVAL)
Declaration
public static long InvalidArgument { get; }
Property Value
| Type | Description |
|---|---|
| long |
InvalidData
Invalid data found when processing input.
Declaration
public static long InvalidData { get; }
Property Value
| Type | Description |
|---|---|
| long |
IsADirectory
Is a directory (EISDIR)
Declaration
public static long IsADirectory { get; }
Property Value
| Type | Description |
|---|---|
| long |
IsError
Gets a value indicating whether the result represents an error.
Declaration
public bool IsError { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
MuxerNotFound
Muxer not found.
Declaration
public static long MuxerNotFound { get; }
Property Value
| Type | Description |
|---|---|
| long |
NoChildProcesses
No child processes (ECHILD)
Declaration
public static long NoChildProcesses { get; }
Property Value
| Type | Description |
|---|---|
| long |
NoSpaceLeftOnDevice
No space left on device (ENOSPC)
Declaration
public static long NoSpaceLeftOnDevice { get; }
Property Value
| Type | Description |
|---|---|
| long |
NoSuchDevice
No such device (ENODEV)
Declaration
public static long NoSuchDevice { get; }
Property Value
| Type | Description |
|---|---|
| long |
NoSuchDeviceOrAddress
No such device or address (ENXIO)
Declaration
public static long NoSuchDeviceOrAddress { get; }
Property Value
| Type | Description |
|---|---|
| long |
NoSuchFileOrDirectory
No such file or directory (ENOENT)
Declaration
public static long NoSuchFileOrDirectory { get; }
Property Value
| Type | Description |
|---|---|
| long |
NoSuchProcess
No such process (ESRCH)
Declaration
public static long NoSuchProcess { get; }
Property Value
| Type | Description |
|---|---|
| long |
NotADirectory
Not a directory (ENOTDIR)
Declaration
public static long NotADirectory { get; }
Property Value
| Type | Description |
|---|---|
| long |
NotATypewriter
Not a typewriter (ENOTTY)
Declaration
public static long NotATypewriter { get; }
Property Value
| Type | Description |
|---|---|
| long |
OperationNotPermitted
Operation not permitted (EPERM)
Declaration
public static long OperationNotPermitted { get; }
Property Value
| Type | Description |
|---|---|
| long |
OptionNotFound
Option not found.
Declaration
public static long OptionNotFound { get; }
Property Value
| Type | Description |
|---|---|
| long |
OutOfMemory
Out of memory (ENOMEM)
Declaration
public static long OutOfMemory { get; }
Property Value
| Type | Description |
|---|---|
| long |
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 |
PatchWelcome
Not yet implemented in FFmpeg, patches welcome.
Declaration
public static long PatchWelcome { get; }
Property Value
| Type | Description |
|---|---|
| long |
PermissionDenied
Permission denied (EACCES)
Declaration
public static long PermissionDenied { get; }
Property Value
| Type | Description |
|---|---|
| long |
ProtocolNotFound
Protocol not found.
Declaration
public static long ProtocolNotFound { get; }
Property Value
| Type | Description |
|---|---|
| long |
ReadOnlyFileSystem
Read-only file system (EROFS)
Declaration
public static long ReadOnlyFileSystem { get; }
Property Value
| Type | Description |
|---|---|
| long |
StreamNotFound
Stream not found.
Declaration
public static long StreamNotFound { get; }
Property Value
| Type | Description |
|---|---|
| long |
TextFileBusy
Text file busy (ETXTBSY)
Declaration
public static long TextFileBusy { get; }
Property Value
| Type | Description |
|---|---|
| long |
TooManyLinks
Too many links (EMLINK)
Declaration
public static long TooManyLinks { get; }
Property Value
| Type | Description |
|---|---|
| long |
TooManyOpenFiles
Too many open files (EMFILE)
Declaration
public static long TooManyOpenFiles { get; }
Property Value
| Type | Description |
|---|---|
| long |
TooManyOpenFilesInSystem
Too many open files in system (ENFILE)
Declaration
public static long TooManyOpenFilesInSystem { get; }
Property Value
| Type | Description |
|---|---|
| long |
TryAgain
Try again (EAGAIN)
Declaration
public static long TryAgain { get; }
Property Value
| Type | Description |
|---|---|
| long |
UnknownError
Unknown error, typically from an external library.
Declaration
public static long UnknownError { get; }
Property Value
| Type | Description |
|---|---|
| long |
Methods
View SourceEquals(AVResult64)
Declaration
public bool Equals(AVResult64 other)
Parameters
| Type | Name | Description |
|---|---|---|
| AVResult64 | other |
Returns
| Type | Description |
|---|---|
| bool |
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |
Overrides
View SourceThrowIfError()
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. |
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |
Overrides
Operators
View Sourceoperator ==(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 |
|
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 |
|
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 |
|
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. |
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. |
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. |
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. |
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. |
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. |
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 |
|
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 |
|
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 |
|