FFmpeg
Loading...
Searching...
No Matches
celt.c File Reference
#include <stdint.h>
#include "celt.h"
#include "pvq.h"
#include "tab.h"

Go to the source code of this file.

Macros

#define NORMC(bits)
 

Functions

void ff_celt_quant_bands (CeltFrame *f, OpusRangeCoder *rc)
 
void ff_celt_bitalloc (CeltFrame *f, OpusRangeCoder *rc, int encode)
 

Macro Definition Documentation

◆ NORMC

#define NORMC ( bits)
Value:
((bits) << (f->channels - 1) << f->size >> 2)
#define f(width, name)
Definition cbs_vp8.c:236
static const uint8_t bits[8]
Definition fastaudio.c:100

Definition at line 135 of file celt.c.

Referenced by ff_celt_bitalloc().

Function Documentation

◆ ff_celt_quant_bands()

void ff_celt_quant_bands ( CeltFrame * f,
OpusRangeCoder * rc )

Definition at line 28 of file celt.c.

Referenced by celt_encode_frame(), and ff_celt_decode_frame().

◆ ff_celt_bitalloc()

void ff_celt_bitalloc ( CeltFrame * f,
OpusRangeCoder * rc,
int encode )

Definition at line 137 of file celt.c.

Referenced by bands_dist(), celt_encode_frame(), and ff_celt_decode_frame().