FFmpeg
Data Fields
DecodeContext Struct Reference

#include <decode_simple.h>

Data Fields

AVCodecInternal avci
 
int nb_draining_errors
 
int draining_started
 The caller has submitted a NULL packet on input. More...
 
int64_t pts_correction_num_faulty_pts
 
int64_t pts_correction_num_faulty_dts
 Number of incorrect PTS values so far. More...
 
int64_t pts_correction_last_pts
 Number of incorrect DTS values so far. More...
 
int64_t pts_correction_last_dts
 PTS of the last frame. More...
 
uint64_t side_data_pref_mask
 DTS of the last frame. More...
 
AVFormatContextdemuxer
 
AVStreamstream
 
AVCodecContextdecoder
 
AVPacketpkt
 
AVFrameframe
 
int(* process_frame )(struct DecodeContext *dc, AVFrame *frame)
 
void * opaque
 
AVDictionarydecoder_opts
 
int max_frames
 

Detailed Description

Definition at line 54 of file decode.c.

Field Documentation

◆ avci

AVCodecInternal DecodeContext::avci

Definition at line 55 of file decode.c.

◆ nb_draining_errors

int DecodeContext::nb_draining_errors

Definition at line 58 of file decode.c.

Referenced by decode_simple_internal().

◆ draining_started

int DecodeContext::draining_started

The caller has submitted a NULL packet on input.

Definition at line 63 of file decode.c.

◆ pts_correction_num_faulty_pts

int64_t DecodeContext::pts_correction_num_faulty_pts

Definition at line 65 of file decode.c.

◆ pts_correction_num_faulty_dts

int64_t DecodeContext::pts_correction_num_faulty_dts

Number of incorrect PTS values so far.

Definition at line 66 of file decode.c.

◆ pts_correction_last_pts

int64_t DecodeContext::pts_correction_last_pts

Number of incorrect DTS values so far.

Definition at line 67 of file decode.c.

◆ pts_correction_last_dts

int64_t DecodeContext::pts_correction_last_dts

PTS of the last frame.

Definition at line 68 of file decode.c.

◆ side_data_pref_mask

uint64_t DecodeContext::side_data_pref_mask

DTS of the last frame.

Bitmask indicating for which side data types we prefer user-supplied (global or attached to packets) side data over bytestream.

Definition at line 74 of file decode.c.

◆ demuxer

AVFormatContext* DecodeContext::demuxer

Definition at line 34 of file decode_simple.h.

◆ stream

AVStream* DecodeContext::stream

Definition at line 35 of file decode_simple.h.

◆ decoder

AVCodecContext* DecodeContext::decoder

Definition at line 36 of file decode_simple.h.

◆ pkt

AVPacket* DecodeContext::pkt

Definition at line 38 of file decode_simple.h.

◆ frame

AVFrame* DecodeContext::frame

Definition at line 39 of file decode_simple.h.

◆ process_frame

int(* DecodeContext::process_frame) (struct DecodeContext *dc, AVFrame *frame)

Definition at line 41 of file decode_simple.h.

◆ opaque

void* DecodeContext::opaque

Definition at line 42 of file decode_simple.h.

◆ decoder_opts

AVDictionary* DecodeContext::decoder_opts

Definition at line 44 of file decode_simple.h.

◆ max_frames

int DecodeContext::max_frames

Definition at line 45 of file decode_simple.h.


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