Home
last modified time | relevance | path

Searched defs:PerThreadContext (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dpthread_frame.c78 typedef struct PerThreadContext { struct
88 pthread_mutex_t mutex; ///< Mutex used to protect the contents of the PerThreadContext. argument
89 …pthread_mutex_t progress_mutex; ///< Mutex used to protect frame progress values and progress_cond.
91 AVCodecContext *avctx; ///< Context used to decode packets passed to this thread.
93 AVPacket *avpkt; ///< Input packet (for decoding) or output (for encoding).
95 AVFrame *frame; ///< Output frame (for decoding) or input (for encoding).
96 …t_frame; ///< The output of got_picture_ptr from the last avcodec_decode_video() call.
97 int result; ///< The result of the last codec decode/encode() call.
99 atomic_int state;
123 } PerThreadContext; argument