FFmpeg
|
Go to the source code of this file.
Macros | |
#define | NULL (void *)0 |
Typedefs | |
typedef long long | int64_t |
Enumerations | |
enum | AVRounding { AV_ROUND_ZERO = 0, AV_ROUND_INF = 1, AV_ROUND_DOWN = 2, AV_ROUND_UP = 3, AV_ROUND_NEAR_INF = 5, AV_ROUND_PASS_MINMAX = 8192, AV_ROUND_ZERO = 0, AV_ROUND_INF = 1, AV_ROUND_DOWN = 2, AV_ROUND_UP = 3, AV_ROUND_NEAR_INF = 5, AV_ROUND_PASS_MINMAX = 8192 } |
Functions | |
void * | av_malloc (size_t size) |
Allocate a memory block with alignment suitable for all memory accesses (including vectors if available on the CPU). More... | |
void * | av_mallocz (size_t size) |
Allocate a memory block with alignment suitable for all memory accesses (including vectors if available on the CPU) and zero all the bytes of the block. More... | |
void * | av_realloc (void *ptr, size_t size) |
Allocate, reallocate, or free a block of memory. More... | |
void * | av_free (void *ptr) |
Free a memory block which has been allocated with a function of av_malloc() or av_realloc() family. More... | |
int64_t | av_rescale_rnd (int64_t a, int64_t b, int64_t c, enum AVRounding rnd) |
Rescale a 64-bit integer with specified rounding. More... | |
#define NULL (void *)0 |
Definition at line 32 of file coverity.c.
typedef long long int64_t |
Definition at line 34 of file coverity.c.
enum AVRounding |
Enumerator | |
---|---|
AV_ROUND_ZERO | Round toward zero. |
AV_ROUND_INF | Round away from zero. |
AV_ROUND_DOWN | Round toward -infinity. |
AV_ROUND_UP | Round toward +infinity. |
AV_ROUND_NEAR_INF | Round to nearest and halfway cases away from zero. |
AV_ROUND_PASS_MINMAX | Flag telling rescaling functions to pass Unlike other values of the enumeration AVRounding, this value is a bitmask that must be used in conjunction with another value of the enumeration through a bitwise OR, in order to set behavior for normal cases. // Rescaling 3:
// Calculating 3 * 1 / 2
// 3 / 2 is rounded up to 2
// => 2
// Rescaling AV_NOPTS_VALUE:
// AV_NOPTS_VALUE == INT64_MIN
// AV_NOPTS_VALUE is passed through
// => AV_NOPTS_VALUE
|
AV_ROUND_ZERO | |
AV_ROUND_INF | |
AV_ROUND_DOWN | |
AV_ROUND_UP | |
AV_ROUND_NEAR_INF | |
AV_ROUND_PASS_MINMAX |
Definition at line 36 of file coverity.c.