Mercurial > libavcodec.hg
comparison dnxhdenc.h @ 10387:19a4f1ecd8fe libavcodec
Move dnxhdenc to execute2 multithreading API.
This allows for some simplifications like removing some outer loops
and gives much better performance for thread_count > number of idle CPUs.
author | reimar |
---|---|
date | Mon, 12 Oct 2009 14:43:57 +0000 |
parents | bf6a78c6697b |
children | 34a65026fa06 |
comparison
equal
deleted
inserted
replaced
10386:98501365c3aa | 10387:19a4f1ecd8fe |
---|---|
44 AVFrame frame; | 44 AVFrame frame; |
45 int cid; | 45 int cid; |
46 const CIDEntry *cid_table; | 46 const CIDEntry *cid_table; |
47 uint8_t *msip; ///< Macroblock Scan Indexes Payload | 47 uint8_t *msip; ///< Macroblock Scan Indexes Payload |
48 uint32_t *slice_size; | 48 uint32_t *slice_size; |
49 uint32_t *slice_offs; | |
49 | 50 |
50 struct DNXHDEncContext *thread[MAX_THREADS]; | 51 struct DNXHDEncContext *thread[MAX_THREADS]; |
51 | 52 |
52 unsigned dct_y_offset; | 53 unsigned dct_y_offset; |
53 unsigned dct_uv_offset; | 54 unsigned dct_uv_offset; |