MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / avcodec_thread_execute2

Function avcodec_thread_execute2

libavcodec/w32thread.c:119–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119static int avcodec_thread_execute2(AVCodecContext *s, int (*func)(AVCodecContext *c2, void *arg2, int, int),void *arg, int *ret, int count){
120 ThreadContext *c= s->thread_opaque;
121 int i;
122 for(i=0; i<s->thread_count; i++)
123 c[i].func2 = func;
124 avcodec_thread_execute(s, NULL, arg, ret, count, 0);
125}
126
127int avcodec_thread_init(AVCodecContext *s, int thread_count){
128 int i;

Callers

nothing calls this directly

Calls 1

avcodec_thread_executeFunction · 0.70

Tested by

no test coverage detected