FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
opusenc.h File Reference
#include "internal.h"
#include "opus_celt.h"
#include "libavfilter/bufferqueue.h"

Go to the source code of this file.

Data Structures

struct  OpusEncOptions
 
struct  OpusPacketInfo
 

Macros

#define FF_BUFQUEUE_SIZE   145
 
#define OPUS_MAX_LOOKAHEAD   ((FF_BUFQUEUE_SIZE - 1)*2.5f)
 
#define OPUS_MAX_CHANNELS   2
 
#define OPUS_MAX_FRAMES_PER_PACKET   48
 
#define OPUS_BLOCK_SIZE(x)   (2 * 15 * (1 << ((x) + 2)))
 
#define OPUS_SAMPLES_TO_BLOCK_SIZE(x)   (ff_log2((x) / (2 * 15)) - 2)
 

Macro Definition Documentation

#define FF_BUFQUEUE_SIZE   145

Definition at line 29 of file opusenc.h.

#define OPUS_MAX_LOOKAHEAD   ((FF_BUFQUEUE_SIZE - 1)*2.5f)

Definition at line 32 of file opusenc.h.

#define OPUS_MAX_CHANNELS   2

Definition at line 34 of file opusenc.h.

#define OPUS_MAX_FRAMES_PER_PACKET   48

Definition at line 37 of file opusenc.h.

#define OPUS_BLOCK_SIZE (   x)    (2 * 15 * (1 << ((x) + 2)))
#define OPUS_SAMPLES_TO_BLOCK_SIZE (   x)    (ff_log2((x) / (2 * 15)) - 2)

Definition at line 41 of file opusenc.h.

Referenced by psy_output_groups().