Variables | |
int(* | AVCodec::init_thread_copy )(AVCodecContext *) |
If defined, called on thread contexts when they are created. | |
int(* | AVCodec::update_thread_context )(AVCodecContext *dst, const AVCodecContext *src) |
Copy necessary context variables from a previous thread context to the current one. |
Descriptive name for the codec, meant to be more human readable than name. You should use the NULL_IF_CONFIG_SMALL() macro to define it. array of supported audio samplerates, or NULL if unknown, array is terminated by 0 array of supported sample formats, or NULL if unknown, array is terminated by -1 array of support channel layouts, or NULL if unknown. array is terminated by 0 maximum value for lowres supported by the decoder AVClass for the private context array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN}
int(* AVCodec::init_thread_copy)(AVCodecContext *) [inherited] |
If defined, called on thread contexts when they are created.
If the codec allocates writable tables in init(), re-allocate them here. priv_data will be set to a copy of the original.
Referenced by frame_thread_init().
int(* AVCodec::update_thread_context)(AVCodecContext *dst, const AVCodecContext *src) [inherited] |
Copy necessary context variables from a previous thread context to the current one.
If not defined, the next thread will start automatically; otherwise, the codec must call ff_thread_finish_setup().
dst and src will (rarely) point to the same context, in which case memcpy should be skipped.
Referenced by ff_thread_get_buffer(), frame_worker_thread(), and update_context_from_thread().