comparison avcodec.h @ 1857:00a6bfc81010 libavcodec

count > thread_count for execute()
author michael
date Wed, 03 Mar 2004 19:29:00 +0000
parents ed6eb3e304cc
children ea2a4058441c
comparison
equal deleted inserted replaced
1856:ed6eb3e304cc 1857:00a6bfc81010
15 #include "rational.h" 15 #include "rational.h"
16 #include <sys/types.h> /* size_t */ 16 #include <sys/types.h> /* size_t */
17 17
18 #define FFMPEG_VERSION_INT 0x000408 18 #define FFMPEG_VERSION_INT 0x000408
19 #define FFMPEG_VERSION "0.4.8" 19 #define FFMPEG_VERSION "0.4.8"
20 #define LIBAVCODEC_BUILD 4706 20 #define LIBAVCODEC_BUILD 4707
21 21
22 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT 22 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
23 #define LIBAVCODEC_VERSION FFMPEG_VERSION 23 #define LIBAVCODEC_VERSION FFMPEG_VERSION
24 24
25 #define AV_STRINGIFY(s) AV_TOSTRING(s) 25 #define AV_STRINGIFY(s) AV_TOSTRING(s)
1545 1545
1546 /** 1546 /**
1547 * the codec may call this to execute several independant things. it will return only after 1547 * the codec may call this to execute several independant things. it will return only after
1548 * finishing all tasks, the user may replace this with some multithreaded implementation, the 1548 * finishing all tasks, the user may replace this with some multithreaded implementation, the
1549 * default implementation will execute the parts serially 1549 * default implementation will execute the parts serially
1550 * @param count the number of functions this will be identical to thread_count if possible 1550 * @param count the number of things to execute
1551 * - encoding: set by lavc, user can override 1551 * - encoding: set by lavc, user can override
1552 * - decoding: set by lavc, user can override 1552 * - decoding: set by lavc, user can override
1553 */ 1553 */
1554 int (*execute)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg), void **arg2, int *ret, int count); 1554 int (*execute)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg), void **arg2, int *ret, int count);
1555 1555