FFmpeg  4.0
Data Fields
ParseContext Struct Reference

#include <libavcodec/parser.h>

Data Fields

uint8_tbuffer
 
int index
 
int last_index
 
unsigned int buffer_size
 
uint32_t state
 contains the last few bytes in MSB order More...
 
int frame_start_found
 
int overread
 the number of bytes which where irreversibly read from the next frame More...
 
int overread_index
 the index into ParseContext.buffer of the overread bytes More...
 
uint64_t state64
 contains the last 8 bytes in MSB order More...
 

Detailed Description

Definition at line 28 of file parser.h.

Field Documentation

◆ buffer

uint8_t* ParseContext::buffer

◆ index

int ParseContext::index

◆ last_index

int ParseContext::last_index

◆ buffer_size

unsigned int ParseContext::buffer_size

Definition at line 32 of file parser.h.

Referenced by ff_combine_frame(), and ff_mpv_common_end().

◆ state

uint32_t ParseContext::state

◆ frame_start_found

int ParseContext::frame_start_found

◆ overread

int ParseContext::overread

the number of bytes which where irreversibly read from the next frame

Definition at line 35 of file parser.h.

Referenced by ff_combine_frame(), ff_mpeg_flush(), mlp_parse(), pnm_parse(), and tak_parse().

◆ overread_index

int ParseContext::overread_index

the index into ParseContext.buffer of the overread bytes

Definition at line 36 of file parser.h.

Referenced by ff_combine_frame(), ff_mpeg_flush(), mlp_parse(), and pnm_parse().

◆ state64

uint64_t ParseContext::state64

contains the last 8 bytes in MSB order

Definition at line 37 of file parser.h.

Referenced by adx_parse(), bmp_parse(), dca_find_frame_end(), dnxhd_find_frame_end(), ff_combine_frame(), hevc_find_frame_end(), and png_parse().


The documentation for this struct was generated from the following file: