diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2008-11-12 17:47:23 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2008-11-12 17:47:23 +0000 |
commit | 3a84713aaa5a0f83cbb3fdca62c83df609822c9c (patch) | |
tree | fb2e3a6047cc289f35bcb451bd82e85e5b2a18f1 /libavcodec/avcodec.h | |
parent | 52ece4105788c533625600b887e6bc762a97508d (diff) | |
download | ffmpeg-3a84713aaa5a0f83cbb3fdca62c83df609822c9c.tar.gz |
Making it easier to send arbitrary structures as work orders to MT workers
Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 1b165ded1c..7d0cf0ed37 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1876,7 +1876,7 @@ typedef struct AVCodecContext { * - encoding: Set by libavcodec, user can override. * - decoding: Set by libavcodec, user can override. */ - int (*execute)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg), void **arg2, int *ret, int count); + int (*execute)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg), void *arg2, int *ret, int count, int size); /** * thread opaque @@ -2642,8 +2642,8 @@ enum PixelFormat avcodec_default_get_format(struct AVCodecContext *s, const enum int avcodec_thread_init(AVCodecContext *s, int thread_count); void avcodec_thread_free(AVCodecContext *s); -int avcodec_thread_execute(AVCodecContext *s, int (*func)(AVCodecContext *c2, void *arg2),void **arg, int *ret, int count); -int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2),void **arg, int *ret, int count); +int avcodec_thread_execute(AVCodecContext *s, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size); +int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2),void *arg, int *ret, int count, int size); //FIXME func typedef /** |