1.在Encoder的create中创建了,lookAheadThreadPool线程池以及Lookahead。
if (m_param->lookaheadThreads > 0)
{
lookAheadThreadPool = ThreadPool::allocThreadPools(p, pools, 1);
}
else
lookAheadThreadPool = m_threadPool;
m_lookahead = new Lookahead(m_param, lookAheadThreadPool);