FFmpeg
Loading...
Searching...
No Matches
evc_parse.h File Reference

EVC decoder/parser shared code. More...

#include <stdint.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
#include "evc.h"
#include "evc_ps.h"

Go to the source code of this file.

Data Structures

struct  EVCParserSliceHeader
 
struct  EVCParserPoc
 

Functions

static uint32_t evc_read_nal_unit_length (const uint8_t *bits, int bits_size, void *logctx)
 
int ff_evc_parse_slice_header (GetBitContext *gb, EVCParserSliceHeader *sh, const EVCParamSets *ps, enum EVCNALUnitType nalu_type)
 
int ff_evc_derive_poc (const EVCParamSets *ps, const EVCParserSliceHeader *sh, EVCParserPoc *poc, enum EVCNALUnitType nalu_type, int tid)
 

Detailed Description

EVC decoder/parser shared code.

Definition in file evc_parse.h.

Function Documentation

◆ evc_read_nal_unit_length()

static uint32_t evc_read_nal_unit_length ( const uint8_t * bits,
int bits_size,
void * logctx )
inlinestatic

◆ ff_evc_parse_slice_header()

int ff_evc_parse_slice_header ( GetBitContext * gb,
EVCParserSliceHeader * sh,
const EVCParamSets * ps,
enum EVCNALUnitType nalu_type )

Definition at line 24 of file evc_parse.c.

Referenced by parse_nal_unit(), and parse_nal_unit().

◆ ff_evc_derive_poc()

int ff_evc_derive_poc ( const EVCParamSets * ps,
const EVCParserSliceHeader * sh,
EVCParserPoc * poc,
enum EVCNALUnitType nalu_type,
int tid )

Definition at line 140 of file evc_parse.c.

Referenced by parse_nal_unit(), and parse_nal_unit().