FFmpeg
Macros | Typedefs | Enumerations | Functions
coverity.c File Reference

Go to the source code of this file.

Macros

#define  NULL   (void *)0
 

Typedefs

typedef long long  int64_t
 

Enumerations

 

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...
 
  Rescale a 64-bit integer with specified rounding. More...
 

Macro Definition Documentation

NULL

#define NULL   (void *)0
Examples
avio_http_serve_files.c, avio_list_dir.c, avio_read_callback.c, decode_audio.c, decode_filter_audio.c, decode_filter_video.c, decode_video.c, demux_decode.c, encode_audio.c, encode_video.c, extract_mvs.c, ffhash.c, filter_audio.c, hw_decode.c, mux.c, qsv_decode.c, qsv_transcode.c, remux.c, resample_audio.c, scale_video.c, show_metadata.c, transcode.c, transcode_aac.c, vaapi_encode.c, and vaapi_transcode.c.

Definition at line 32 of file coverity.c.

Typedef Documentation

int64_t

typedef long long int64_t

Definition at line 34 of file coverity.c.

Enumeration Type Documentation

AVRounding

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 INT64_MIN/MAX through unchanged, avoiding special cases for AV_NOPTS_VALUE.

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.

AV_ROUND_UP
@ AV_ROUND_UP
Round toward +infinity.
Definition: mathematics.h:134
AV_ROUND_PASS_MINMAX
@ AV_ROUND_PASS_MINMAX
Flag telling rescaling functions to pass INT64_MIN/MAX through unchanged, avoiding special cases for ...
Definition: mathematics.h:159
av_rescale_rnd
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.
Definition: mathematics.c:58
AV_NOPTS_VALUE
#define AV_NOPTS_VALUE
Undefined timestamp value.
Definition: avutil.h:247

Generated on Thu Oct 16 2025 19:24:25 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /