FFmpeg
Macros
pcm_tablegen.h File Reference
#include <stdint.h>
#include "config_components.h"
#include "libavutil/attributes.h"

Go to the source code of this file.

Macros

#define SIGN_BIT   (0x80) /* Sign bit for a A-law byte. */
 
#define QUANT_MASK   (0xf) /* Quantization field mask. */
 
#define NSEGS   (8) /* Number of A-law segments. */
 
#define SEG_SHIFT   (4) /* Left shift for segment number. */
 
#define SEG_MASK   (0x70) /* Segment field mask. */
 
#define BIAS   (0x84) /* Bias for linear code. */
 
#define VIDC_SIGN_BIT   (1)
 
#define VIDC_QUANT_MASK   (0x1E)
 
#define VIDC_QUANT_SHIFT   (1)
 
#define VIDC_SEG_SHIFT   (5)
 
#define VIDC_SEG_MASK   (0xE0)
 

Macro Definition Documentation

◆ SIGN_BIT

#define SIGN_BIT   (0x80) /* Sign bit for a A-law byte. */

Definition at line 32 of file pcm_tablegen.h.

◆ QUANT_MASK

#define QUANT_MASK   (0xf) /* Quantization field mask. */

Definition at line 33 of file pcm_tablegen.h.

◆ NSEGS

#define NSEGS   (8) /* Number of A-law segments. */

Definition at line 34 of file pcm_tablegen.h.

◆ SEG_SHIFT

#define SEG_SHIFT   (4) /* Left shift for segment number. */

Definition at line 35 of file pcm_tablegen.h.

◆ SEG_MASK

#define SEG_MASK   (0x70) /* Segment field mask. */

Definition at line 36 of file pcm_tablegen.h.

◆ BIAS

#define BIAS   (0x84) /* Bias for linear code. */

Definition at line 38 of file pcm_tablegen.h.

◆ VIDC_SIGN_BIT

#define VIDC_SIGN_BIT   (1)

Definition at line 40 of file pcm_tablegen.h.

◆ VIDC_QUANT_MASK

#define VIDC_QUANT_MASK   (0x1E)

Definition at line 41 of file pcm_tablegen.h.

◆ VIDC_QUANT_SHIFT

#define VIDC_QUANT_SHIFT   (1)

Definition at line 42 of file pcm_tablegen.h.

◆ VIDC_SEG_SHIFT

#define VIDC_SEG_SHIFT   (5)

Definition at line 43 of file pcm_tablegen.h.

◆ VIDC_SEG_MASK

#define VIDC_SEG_MASK   (0xE0)

Definition at line 44 of file pcm_tablegen.h.