#include <inttypes.h>Go to the source code of this file.
Defines | |
| #define | av_always_inline inline |
| #define | attribute_deprecated |
| #define | INT64_C(c) (c ## LL) |
| #define | UINT64_C(c) (c ## ULL) |
| #define | RSHIFT(a, b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b)) |
| #define | ROUNDED_DIV(a, b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b)) |
| #define | FFABS(a) ((a) >= 0 ? (a) : (-(a))) |
| #define | FFSIGN(a) ((a) > 0 ? 1 : -1) |
| #define | FFMAX(a, b) ((a) > (b) ? (a) : (b)) |
| #define | FFMIN(a, b) ((a) > (b) ? (b) : (a)) |
| #define | FFSWAP(type, a, b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) |
| #define | MKTAG(a, b, c, d) (a | (b << 8) | (c << 16) | (d << 24)) |
| #define | MKBETAG(a, b, c, d) (d | (c << 8) | (b << 16) | (a << 24)) |
| #define | GET_UTF8(val, GET_BYTE, ERROR) |
| #define | PUT_UTF8(val, tmp, PUT_BYTE) |
| #define | START_TIMER |
| #define | STOP_TIMER(id) {} |
| #define | DECLARE_ALIGNED(n, t, v) __declspec(align(n)) t v |
Functions | |
| static int | av_log2 (unsigned int v) |
| static int | av_log2_16bit (unsigned int v) |
| static int | mid_pred (int a, int b, int c) |
| static int | clip (int a, int amin, int amax) |
| static uint8_t | clip_uint8 (int a) |
| int64_t | ff_gcd (int64_t a, int64_t b) |
| static int | ff_get_fourcc (const char *s) |
| void * | av_malloc (unsigned int size) |
| void * | av_realloc (void *ptr, unsigned int size) |
| void | av_free (void *ptr) |
| void * | av_mallocz (unsigned int size) |
| char * | av_strdup (const char *s) |
| void | av_freep (void *ptr) |
Variables | |
| const uint8_t | ff_log2_tab [256] |
| #define attribute_deprecated |
Definition at line 58 of file common.h.
Referenced by av_encode(), do_audio_out(), and output_packet().
Definition at line 59 of file common.h.
Referenced by av_fifo_generic_read(), av_fifo_write(), and do_video_out().
| #define GET_UTF8 | ( | val, | |||
| GET_BYTE, | |||||
| ERROR | ) |
| #define PUT_UTF8 | ( | val, | |||
| tmp, | |||||
| PUT_BYTE | ) |
Value:
| void av_free | ( | void * | ptr | ) |
Referenced by av_encode(), av_fifo_free(), av_fifo_realloc(), ConvertMediaFile(), do_video_out(), new_audio_stream(), output_packet(), and pre_process_video_frame().
| void av_freep | ( | void * | ptr | ) |
Referenced by av_encode(), and output_packet().
| static int av_log2 | ( | unsigned int | v | ) | [inline, static] |
| static int av_log2_16bit | ( | unsigned int | v | ) | [inline, static] |
| void* av_malloc | ( | unsigned int | size | ) |
Referenced by av_encode(), av_fifo_init(), do_audio_out(), do_subtitle_out(), and pre_process_video_frame().
| void* av_mallocz | ( | unsigned int | size | ) |
Referenced by av_encode().
| void* av_realloc | ( | void * | ptr, | |
| unsigned int | size | |||
| ) |
Referenced by do_audio_out().
| char* av_strdup | ( | const char * | s | ) |
| static int clip | ( | int | a, | |
| int | amin, | |||
| int | amax | |||
| ) | [inline, static] |
| static int ff_get_fourcc | ( | const char * | s | ) | [inline, static] |
| static int mid_pred | ( | int | a, | |
| int | b, | |||
| int | c | |||
| ) | [inline, static] |
| const uint8_t ff_log2_tab[256] |
Referenced by av_log2(), and av_log2_16bit().
1.5.6