Lines Matching refs:encoding_thread_count
201 x->src.y_buffer += 16 * x->src.y_stride * (cpi->encoding_thread_count + 1) - 16 * cm->mb_cols;
202 x->src.u_buffer += 8 * x->src.uv_stride * (cpi->encoding_thread_count + 1) - 8 * cm->mb_cols;
203 x->src.v_buffer += 8 * x->src.uv_stride * (cpi->encoding_thread_count + 1) - 8 * cm->mb_cols;
205 xd->mode_info_context += xd->mode_info_stride * cpi->encoding_thread_count;
206 x->partition_info += xd->mode_info_stride * cpi->encoding_thread_count;
208 if (ithread == (cpi->encoding_thread_count - 1) || mb_row == cm->mb_rows - 1)
422 cpi->encoding_thread_count = cpi->processor_core_count - 1;
424 cpi->encoding_thread_count = cpi->oxcf.multi_threaded - 1;
427 encoding_thread_count));
428 CHECK_MEM_ERROR(cpi->h_event_mbrencoding, vpx_malloc(sizeof(sem_t) * cpi->encoding_thread_count));
429 CHECK_MEM_ERROR(cpi->mb_row_ei, vpx_memalign(32, sizeof(MB_ROW_COMP) * cpi->encoding_thread_count));
430 vpx_memset(cpi->mb_row_ei, 0, sizeof(MB_ROW_COMP) * cpi->encoding_thread_count);
431 CHECK_MEM_ERROR(cpi->en_thread_data, vpx_malloc(sizeof(ENCODETHREAD_DATA) * cpi->encoding_thread_count));
437 //printf("[VP8:] multi_threaded encoding is enabled with %d threads\n\n", (cpi->encoding_thread_count +1));
439 for (ithread = 0; ithread < cpi->encoding_thread_count; ithread++)
477 for (i = 0; i < cpi->encoding_thread_count; i++)
484 for (i = 0; i < cpi->encoding_thread_count; i++)