|
FFmpeg
|
Slice multithreading support functions. More...
#include "config.h"#include "avcodec.h"#include "internal.h"#include "pthread_internal.h"#include "thread.h"#include "libavutil/avassert.h"#include "libavutil/common.h"#include "libavutil/cpu.h"#include "libavutil/mem.h"#include "libavutil/thread.h"#include "libavutil/slicethread.h"Classes | |
| struct | SliceThreadContext |
Typedefs | |
| typedef int( | action_func) (AVCodecContext *c, void *arg) |
| typedef int( | action_func2) (AVCodecContext *c, void *arg, int jobnr, int threadnr) |
| typedef int( | main_func) (AVCodecContext *c) |
| typedef struct SliceThreadContext | SliceThreadContext |
Functions | |
| void | ff_slice_thread_free (AVCodecContext *avctx) |
| int | ff_slice_thread_execute_with_mainfunc (AVCodecContext *avctx, action_func2 *func2, main_func *mainfunc, void *arg, int *ret, int job_count) |
| int | ff_slice_thread_init (AVCodecContext *avctx) |
| void | ff_thread_report_progress2 (AVCodecContext *avctx, int field, int thread, int n) |
| void | ff_thread_await_progress2 (AVCodecContext *avctx, int field, int thread, int shift) |
| int | ff_alloc_entries (AVCodecContext *avctx, int count) |
| void | ff_reset_entries (AVCodecContext *avctx) |
Slice multithreading support functions.
1.8.12