FFmpeg
Data Fields
DecodeContext Struct Reference

#include <decode_simple.h>

Data Fields

AVCodecInternal avci
 
int intra_only_flag
 This is set to AV_FRAME_FLAG_KEY for decoders of intra-only formats (those whose codec descriptor has AV_CODEC_PROP_INTRA_ONLY set) to set the flag generically. More...
 
enum AVPictureType initial_pict_type
 This is set to AV_PICTURE_TYPE_I for intra only video decoders and to AV_PICTURE_TYPE_NONE for other decoders. More...
 
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...
 
FFLCEVCContextlcevc
 
int lcevc_frame
 
int width
 
int height
 
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 60 of file decode.c.

Field Documentation

◆ avci

AVCodecInternal DecodeContext::avci

Definition at line 61 of file decode.c.

◆ intra_only_flag

int DecodeContext::intra_only_flag

This is set to AV_FRAME_FLAG_KEY for decoders of intra-only formats (those whose codec descriptor has AV_CODEC_PROP_INTRA_ONLY set) to set the flag generically.

Definition at line 68 of file decode.c.

◆ initial_pict_type

enum AVPictureType DecodeContext::initial_pict_type

This is set to AV_PICTURE_TYPE_I for intra only video decoders and to AV_PICTURE_TYPE_NONE for other decoders.

It is used to set the AVFrame's pict_type before the decoder receives it.

Definition at line 75 of file decode.c.

◆ nb_draining_errors

int DecodeContext::nb_draining_errors

Definition at line 78 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 83 of file decode.c.

◆ pts_correction_num_faulty_pts

int64_t DecodeContext::pts_correction_num_faulty_pts

Definition at line 85 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 86 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 87 of file decode.c.

◆ pts_correction_last_dts

int64_t DecodeContext::pts_correction_last_dts

PTS of the last frame.

Definition at line 88 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 94 of file decode.c.

◆ lcevc

FFLCEVCContext* DecodeContext::lcevc

Definition at line 96 of file decode.c.

Referenced by ff_decode_internal_sync().

◆ lcevc_frame

int DecodeContext::lcevc_frame

Definition at line 97 of file decode.c.

◆ width

int DecodeContext::width

Definition at line 98 of file decode.c.

◆ height

int DecodeContext::height

Definition at line 99 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: