|
TUT HEVC Encoder
|
Data Fields | |
| pthread_mutex_t | lock |
| threadqueue_job_state | state |
| int | ndepends |
| Number of dependencies that have not been completed yet. | |
| struct threadqueue_job_t ** | rdepends |
| Reverse dependencies. | |
| int | rdepends_count |
| Number of elements in rdepends. | |
| int | rdepends_size |
| Allocated size of rdepends. | |
| int | refcount |
| Reference count. | |
| void(* | fptr )(void *arg) |
| Pointer to the function to execute. | |
| void * | arg |
| Argument for fptr. | |
| struct threadqueue_job_t * | next |
| Pointer to the next job in the queue. | |
| void* threadqueue_job_t::arg |
| pthread_mutex_t threadqueue_job_t::lock |
| int threadqueue_job_t::ndepends |
| struct threadqueue_job_t* threadqueue_job_t::next |
| struct threadqueue_job_t** threadqueue_job_t::rdepends |
Array of pointers to jobs that depend on this one. They have to exist when the thread finishes, because they cannot be run before.
| int threadqueue_job_t::rdepends_count |
| int threadqueue_job_t::rdepends_size |
| int threadqueue_job_t::refcount |
| threadqueue_job_state threadqueue_job_t::state |