66 "Application has requested %d threads. Using a thread count greater than %d is not recommended.\n",
Libavcodec external API header.
#define FF_THREAD_FRAME
Decode more than one frame at once.
#define FF_THREAD_SLICE
Decode more than one part of a single frame at once.
#define AV_CODEC_FLAG_TRUNCATED
Input bitstream might be truncated at a random location instead of only at frame boundaries.
#define AV_CODEC_CAP_SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
#define AV_CODEC_FLAG_LOW_DELAY
Force low delay.
#define AV_CODEC_FLAG2_CHUNKS
Input bitstream might be truncated at a packet boundaries instead of only at frame boundaries.
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
#define AV_LOG_WARNING
Something somehow does not look correct.
#define FF_CODEC_CAP_AUTO_THREADS
Codec handles avctx->thread_count == 0 (auto) internally.
int ff_thread_init(AVCodecContext *avctx)
void ff_thread_free(AVCodecContext *avctx)
static void validate_thread_parameters(AVCodecContext *avctx)
Set the threading algorithms used.
common internal API header
void ff_frame_thread_free(AVCodecContext *avctx, int thread_count)
int ff_frame_thread_init(AVCodecContext *avctx)
void ff_slice_thread_free(AVCodecContext *avctx)
int ff_slice_thread_init(AVCodecContext *avctx)
main external API structure.
int flags2
AV_CODEC_FLAG2_*.
int active_thread_type
Which multithreading methods are in use by the codec.
const struct AVCodec * codec
int thread_type
Which multithreading methods to use.
int thread_count
thread count is used to decide how many independent tasks should be passed to execute()
int flags
AV_CODEC_FLAG_*.
int caps_internal
Internal codec capabilities.
int capabilities
Codec capabilities.