FFmpeg
|
Data Fields | |
AVFrame * | frame |
AVPacket * | pkt |
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 |
AVFrame * | sub_prev [2] |
AVFrame * | sub_heartbeat |
pthread_t | thread |
ThreadQueue * | queue_in |
Queue for sending coded packets from the main thread to the decoder thread. More... | |
ThreadQueue * | queue_out |
Queue for sending decoded frames from the decoder thread to the main thread. More... | |
PacketQueue * | queue |
AVCodecContext * | avctx |
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 |
Definition at line 35 of file ffmpeg_dec.c.
AVFrame* Decoder::frame |
Definition at line 36 of file ffmpeg_dec.c.
Referenced by dec_alloc(), and dec_free().
AVPacket * Decoder::pkt |
Definition at line 37 of file ffmpeg_dec.c.
Referenced by dec_alloc(), and dec_free().
enum AVPixelFormat Decoder::hwaccel_pix_fmt |
Definition at line 39 of file ffmpeg_dec.c.
Referenced by dec_alloc().
int64_t Decoder::last_frame_pts |
Definition at line 44 of file ffmpeg_dec.c.
Referenced by dec_alloc().
int64_t Decoder::last_frame_duration_est |
Definition at line 45 of file ffmpeg_dec.c.
AVRational Decoder::last_frame_tb |
Definition at line 46 of file ffmpeg_dec.c.
Referenced by dec_alloc().
int64_t Decoder::last_filter_in_rescale_delta |
Definition at line 47 of file ffmpeg_dec.c.
Referenced by dec_alloc().
int Decoder::last_frame_sample_rate |
Definition at line 48 of file ffmpeg_dec.c.
AVFrame* Decoder::sub_prev[2] |
Definition at line 51 of file ffmpeg_dec.c.
Referenced by dec_free().
AVFrame* Decoder::sub_heartbeat |
Definition at line 52 of file ffmpeg_dec.c.
Referenced by dec_free().
pthread_t Decoder::thread |
Definition at line 54 of file ffmpeg_dec.c.
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.
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.
PacketQueue* Decoder::queue |
AVCodecContext* Decoder::avctx |
AVRational Decoder::start_pts_tb |
AVRational Decoder::next_pts_tb |