FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
utils.c File Reference

various utility functions More...

#include "config.h"
#include "avutil.h"
#include "avassert.h"
#include "samplefmt.h"
#include "internal.h"
#include "libavutil/ffversion.h"

Go to the source code of this file.

Macros

#define LICENSE_PREFIX   "libavutil license: "
 
#define LIST_LENGTH(type)   { type t = term, *l = (type *)list; for (i = 0; l[i] != t; i++); }
 

Functions

const char * av_version_info (void)
 Return an informative version string. More...
 
unsigned avutil_version (void)
 Return the LIBAVUTIL_VERSION_INT constant. More...
 
const char * avutil_configuration (void)
 Return the libavutil build-time configuration. More...
 
const char * avutil_license (void)
 Return the libavutil license. More...
 
const char * av_get_media_type_string (enum AVMediaType media_type)
 Return a string describing the media_type enum, NULL if media_type is unknown. More...
 
char av_get_picture_type_char (enum AVPictureType pict_type)
 Return a single letter to describe the given picture type pict_type. More...
 
unsigned av_int_list_length_for_size (unsigned elsize, const void *list, uint64_t term)
 Compute the length of an integer list. More...
 
char * av_fourcc_make_string (char *buf, uint32_t fourcc)
 Fill the provided buffer with a string containing a FourCC (four-character code) representation. More...
 
AVRational av_get_time_base_q (void)
 Return the fractional representation of the internal time base. More...
 
void av_assert0_fpu (void)
 Assert that floating point opperations can be executed. More...
 

Variables

const char av_util_ffversion [] = "FFmpeg version " FFMPEG_VERSION
 

Detailed Description

various utility functions

Definition in file utils.c.

Macro Definition Documentation

#define LICENSE_PREFIX   "libavutil license: "

Referenced by avutil_license().

#define LIST_LENGTH (   type)    { type t = term, *l = (type *)list; for (i = 0; l[i] != t; i++); }

Function Documentation

void av_assert0_fpu ( void  )

Assert that floating point opperations can be executed.

This will av_assert0() that the cpu is not in MMX state on X86

Definition at line 152 of file utils.c.

Variable Documentation

const char av_util_ffversion[] = "FFmpeg version " FFMPEG_VERSION

Definition at line 31 of file utils.c.