Expand description
Everything related to libavutil
.
Structs§
- Context for an Audio FIFO Buffer.
- Iterate over all standard channel layouts.
- Iterator over
AVDictionary
by reference. - It’s a
AVFrame
bound withAVImage
, theAVFrame
references the buffer owned by theAVImage
. - This struct describes a set or pool of “hardware” frames (i.e. those with data not located in normal system memory). All the frames in the pool are assumed to be allocated in the same way and interchangeable.
- non exhaustive wrapper of AVMediaType
- A read-only file buffer, the file is mmaped when available.
- Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes of an image. It also stores the subsampling factors and number of components.
- Rational number (pair of numerator and denominator).
Functions§
- Add two rationals. Returns
b+c
. - Compare two rationals.
- Convert a double precision floating point number to a rational. In case of infinity, the returned value is expressed as {1, 0} or {-1, 0} depending on the sign.
- Divide one rational by another. Returns
b/c
. - Return the best rational so that a and b are multiple of it. If the resulting denominator is larger than max_den, return def.
- Setup the data pointers and linesizes based on the specified image parameters and the provided array.
- Invert a rational. @param q value @return 1 / q
- Create an AVRational.
- Multiply two rationals. Returns
b*c
. - Find which of the two rationals is closer to another rational.
- Convert an AVRational to a
double
. @param a AVRational to convert @returna
in floating-point form @see av_d2q() - Convert an AVRational to a IEEE 32-bit float expressed in fixed-point format.
- Rescale a 64-bit integer by 2 rational numbers.
- Rescale a 64-bit integer by 2 rational numbers with specified rounding.
- Subtract one rational from another. Returns
b-c
. - Return a description of the AVERROR code errnum.
- Return number of bytes per sample, return
None
when sample format is unknown. - Return a string describing the media_type enum, NULL if media_type is unknown.
- Get the packed alternative form of the given sample format, return
None
on error. - Get the planar alternative form of the given sample format. return
None
on error. - Return a sample format corresponding to name, or None on error.
- Return the name of given sample_fmt, or
None
if sample_fmt is not recognized. name
: the name of the field to setval
: if the field is not of a string type, then the given string is parsed. SI postfixes and some named scalars are supported. If the field is of a numeric type, it has to be a numeric or named scalar. Behavior with more than one scalar and +- infix operators is undefined. If the field is of a flags type, it has to be a sequence of numeric scalars or named flags separated by ‘+’ or ‘-’. Prefixing a flag with ‘+’ causes it to be set without affecting the other flags; similarly, ‘-’ unsets a flag. If the field is of a dictionary type, it has to be a ‘:’ separated list of key=value parameters. Values containing ‘:’ special characters must be escaped.search_flags
: flags passed toav_opt_find2
. I.e. if `AV_OPT_SEARCH_CHILDREN`` is passed here, then the option may be set on a child of obj.- Safety
- Safety
- Safety
- Safety
- Safety
- Safety
- Safety
- return
AVRational: num / den
; - Check if the sample format is planar.
- Get a string containing a timestamp representation.
- Get a string containing a timestamp time representation.
Type Aliases§
- Pixel format.