FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
cbs_internal.h File Reference
#include "avcodec.h"
#include "cbs.h"
#include "get_bits.h"
#include "put_bits.h"

Go to the source code of this file.

Data Structures

struct  CodedBitstreamType
 

Macros

#define MAX_UINT_BITS(length)   ((UINT64_C(1) << (length)) - 1)
 

Functions

void ff_cbs_trace_header (CodedBitstreamContext *ctx, const char *name)
 
void ff_cbs_trace_syntax_element (CodedBitstreamContext *ctx, int position, const char *name, const int *subscripts, const char *bitstring, int64_t value)
 
int ff_cbs_read_unsigned (CodedBitstreamContext *ctx, GetBitContext *gbc, int width, const char *name, const int *subscripts, uint32_t *write_to, uint32_t range_min, uint32_t range_max)
 
int ff_cbs_write_unsigned (CodedBitstreamContext *ctx, PutBitContext *pbc, int width, const char *name, const int *subscripts, uint32_t value, uint32_t range_min, uint32_t range_max)
 

Variables

const CodedBitstreamType ff_cbs_type_h264
 
const CodedBitstreamType ff_cbs_type_h265
 
const CodedBitstreamType ff_cbs_type_jpeg
 
const CodedBitstreamType ff_cbs_type_mpeg2
 
const CodedBitstreamType ff_cbs_type_vp9
 

Macro Definition Documentation

#define MAX_UINT_BITS (   length)    ((UINT64_C(1) << (length)) - 1)

Function Documentation

void ff_cbs_trace_header ( CodedBitstreamContext ctx,
const char *  name 
)

Definition at line 361 of file cbs.c.

void ff_cbs_trace_syntax_element ( CodedBitstreamContext ctx,
int  position,
const char *  name,
const int subscripts,
const char *  bitstring,
int64_t  value 
)
int ff_cbs_read_unsigned ( CodedBitstreamContext ctx,
GetBitContext gbc,
int  width,
const char *  name,
const int subscripts,
uint32_t *  write_to,
uint32_t  range_min,
uint32_t  range_max 
)

Definition at line 420 of file cbs.c.

int ff_cbs_write_unsigned ( CodedBitstreamContext ctx,
PutBitContext pbc,
int  width,
const char *  name,
const int subscripts,
uint32_t  value,
uint32_t  range_min,
uint32_t  range_max 
)

Definition at line 463 of file cbs.c.

Variable Documentation

const CodedBitstreamType ff_cbs_type_h264

Definition at line 1464 of file cbs_h2645.c.

const CodedBitstreamType ff_cbs_type_h265

Definition at line 1477 of file cbs_h2645.c.

const CodedBitstreamType ff_cbs_type_jpeg

Definition at line 509 of file cbs_jpeg.c.

const CodedBitstreamType ff_cbs_type_mpeg2

Definition at line 395 of file cbs_mpeg2.c.

const CodedBitstreamType ff_cbs_type_vp9

Definition at line 668 of file cbs_vp9.c.