FFmpeg
Data Fields
Decoder Struct Reference

Data Fields

AVFrameframe
 
AVPacketpkt
 
enum AVPixelFormat hwaccel_pix_fmt
 
int64_t last_frame_pts
 
int64_t last_frame_duration_est
 
AVRational last_frame_tb
 
int64_t last_filter_in_rescale_delta
 
int last_frame_sample_rate
 
AVFramesub_prev [2]
 
AVFramesub_heartbeat
 
pthread_t thread
 
ThreadQueuequeue_in
 Queue for sending coded packets from the main thread to the decoder thread. More...
 
ThreadQueuequeue_out
 Queue for sending decoded frames from the decoder thread to the main thread. More...
 
PacketQueuequeue
 
AVCodecContextavctx
 
int pkt_serial
 
int finished
 
int packet_pending
 
SDL_cond * empty_queue_cond
 
int64_t start_pts
 
AVRational start_pts_tb
 
int64_t next_pts
 
AVRational next_pts_tb
 
SDL_Thread * decoder_tid
 

Detailed Description

Definition at line 35 of file ffmpeg_dec.c.

Field Documentation

◆ frame

AVFrame* Decoder::frame

Definition at line 36 of file ffmpeg_dec.c.

Referenced by dec_alloc(), and dec_free().

◆ pkt

AVPacket * Decoder::pkt

Definition at line 37 of file ffmpeg_dec.c.

Referenced by dec_alloc(), and dec_free().

◆ hwaccel_pix_fmt

enum AVPixelFormat Decoder::hwaccel_pix_fmt

Definition at line 39 of file ffmpeg_dec.c.

Referenced by dec_alloc().

◆ last_frame_pts

int64_t Decoder::last_frame_pts

Definition at line 44 of file ffmpeg_dec.c.

Referenced by dec_alloc().

◆ last_frame_duration_est

int64_t Decoder::last_frame_duration_est

Definition at line 45 of file ffmpeg_dec.c.

◆ last_frame_tb

AVRational Decoder::last_frame_tb

Definition at line 46 of file ffmpeg_dec.c.

Referenced by dec_alloc().

◆ last_filter_in_rescale_delta

int64_t Decoder::last_filter_in_rescale_delta

Definition at line 47 of file ffmpeg_dec.c.

Referenced by dec_alloc().

◆ last_frame_sample_rate

int Decoder::last_frame_sample_rate

Definition at line 48 of file ffmpeg_dec.c.

◆ sub_prev

AVFrame* Decoder::sub_prev[2]

Definition at line 51 of file ffmpeg_dec.c.

Referenced by dec_free().

◆ sub_heartbeat

AVFrame* Decoder::sub_heartbeat

Definition at line 52 of file ffmpeg_dec.c.

Referenced by dec_free().

◆ thread

pthread_t Decoder::thread

Definition at line 54 of file ffmpeg_dec.c.

◆ queue_in

ThreadQueue* Decoder::queue_in

Queue for sending coded packets from the main thread to the decoder thread.

An empty packet is sent to flush the decoder without terminating decoding.

Definition at line 62 of file ffmpeg_dec.c.

◆ queue_out

ThreadQueue* Decoder::queue_out

Queue for sending decoded frames from the decoder thread to the main thread.

An empty frame is sent to signal that a single packet has been fully processed.

Definition at line 70 of file ffmpeg_dec.c.

◆ queue

PacketQueue* Decoder::queue

Definition at line 190 of file ffplay.c.

◆ avctx

AVCodecContext* Decoder::avctx

Definition at line 191 of file ffplay.c.

◆ pkt_serial

int Decoder::pkt_serial

Definition at line 192 of file ffplay.c.

◆ finished

int Decoder::finished

Definition at line 193 of file ffplay.c.

◆ packet_pending

int Decoder::packet_pending

Definition at line 194 of file ffplay.c.

◆ empty_queue_cond

SDL_cond* Decoder::empty_queue_cond

Definition at line 195 of file ffplay.c.

◆ start_pts

int64_t Decoder::start_pts

Definition at line 196 of file ffplay.c.

◆ start_pts_tb

AVRational Decoder::start_pts_tb

Definition at line 197 of file ffplay.c.

◆ next_pts

int64_t Decoder::next_pts

Definition at line 198 of file ffplay.c.

◆ next_pts_tb

AVRational Decoder::next_pts_tb

Definition at line 199 of file ffplay.c.

◆ decoder_tid

SDL_Thread* Decoder::decoder_tid

Definition at line 200 of file ffplay.c.


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