Searched defs:PerThreadContext (Results 1 – 1 of 1) sorted by relevance
76 typedef struct PerThreadContext { struct86 pthread_mutex_t mutex; ///< Mutex used to protect the contents of the PerThreadContext. argument87 …pthread_mutex_t progress_mutex; ///< Mutex used to protect frame progress values and progress_cond.89 AVCodecContext *avctx; ///< Context used to decode packets passed to this thread.91 AVPacket *avpkt; ///< Input packet (for decoding) or output (for encoding).93 AVFrame *frame; ///< Output frame (for decoding) or input (for encoding).94 …t_frame; ///< The output of got_picture_ptr from the last avcodec_decode_video() call.95 int result; ///< The result of the last codec decode/encode() call.97 atomic_int state;121 } PerThreadContext; argument