Searched refs:th_count (Results 1 – 1 of 1) sorted by relevance
497 int th_count = cpi->oxcf.multi_threaded - 1; in vp8cx_create_encoder_threads() local502 th_count = cm->processor_core_count - 1; in vp8cx_create_encoder_threads()507 if (th_count > ((cm->mb_cols / cpi->mt_sync_range) - 1)) { in vp8cx_create_encoder_threads()508 th_count = (cm->mb_cols / cpi->mt_sync_range) - 1; in vp8cx_create_encoder_threads()511 if (th_count == 0) return 0; in vp8cx_create_encoder_threads()514 vpx_malloc(sizeof(pthread_t) * th_count)); in vp8cx_create_encoder_threads()516 vpx_malloc(sizeof(sem_t) * th_count)); in vp8cx_create_encoder_threads()518 vpx_malloc(sizeof(sem_t) * th_count)); in vp8cx_create_encoder_threads()520 vpx_memalign(32, sizeof(MB_ROW_COMP) * th_count)); in vp8cx_create_encoder_threads()521 memset(cpi->mb_row_ei, 0, sizeof(MB_ROW_COMP) * th_count); in vp8cx_create_encoder_threads()[all …]