FFmpeg
Data Structures | Macros | Enumerations | Functions
defs.h File Reference
libavcodec
#include <stdint.h>
#include <stdlib.h>

Go to the source code of this file.

Data Structures

struct   AVPanScan
  Pan Scan area. More...
 
struct   AVCPBProperties
  This structure describes the bitrate properties of an encoded bitstream. More...
 
  This structure supplies correlation between a packet timestamp and a wall clock production time. More...
 

Macros

#define  AV_INPUT_BUFFER_PADDING_SIZE   64
 

Enumerations

 
 

Functions

  Allocate a CPB properties structure and initialize its fields to default values. More...
 
unsigned int  av_xiphlacing (unsigned char *s, unsigned int v)
  Encode extradata length to a buffer. More...
 

Detailed Description

Misc types and constants that do not belong anywhere else.

Definition in file defs.h.

Enumeration Type Documentation

AVAudioServiceType

Enumerator
AV_AUDIO_SERVICE_TYPE_MAIN 
AV_AUDIO_SERVICE_TYPE_EFFECTS 
AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED 
AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED 
AV_AUDIO_SERVICE_TYPE_DIALOGUE 
AV_AUDIO_SERVICE_TYPE_COMMENTARY 
AV_AUDIO_SERVICE_TYPE_EMERGENCY 
AV_AUDIO_SERVICE_TYPE_VOICE_OVER 
AV_AUDIO_SERVICE_TYPE_KARAOKE 
AV_AUDIO_SERVICE_TYPE_NB 

Not part of ABI.

Definition at line 57 of file defs.h.

Function Documentation

av_cpb_properties_alloc()

AVCPBProperties* av_cpb_properties_alloc ( size_t *  size )

Allocate a CPB properties structure and initialize its fields to default values.

Parameters
size if non-NULL, the size of the allocated struct will be written here. This is useful for embedding it in side data.
Returns
the newly allocated struct or NULL on failure

Definition at line 1018 of file utils.c.

Referenced by ff_add_cpb_side_data(), and ff_mpv_encode_picture().

av_xiphlacing()

unsigned int av_xiphlacing ( unsigned char *  s,
unsigned int  v 
)

Encode extradata length to a buffer.

Used by xiph codecs.

Parameters
s buffer to write to; must be at least (v/255+1) bytes long
v size of extradata in bytes
Returns
number of bytes written to the buffer.

Definition at line 858 of file utils.c.

Referenced by fixup_vorbis_headers(), libvorbis_encode_init(), parse_packed_headers(), put_main_header(), and track_header().


Generated on Wed Aug 24 2022 21:42:31 for FFmpeg by   doxygen 1.8.17

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