Searched refs:th_count (Results 1 – 1 of 1) sorted by relevance
523 int th_count = cpi->oxcf.multi_threaded - 1; in vp8cx_create_encoder_threads() local528 th_count = cm->processor_core_count - 1; in vp8cx_create_encoder_threads()532 if(th_count > ((cm->mb_cols / cpi->mt_sync_range) - 1)) in vp8cx_create_encoder_threads()534 th_count = (cm->mb_cols / cpi->mt_sync_range) - 1; in vp8cx_create_encoder_threads()537 if(th_count == 0) in vp8cx_create_encoder_threads()541 vpx_malloc(sizeof(pthread_t) * th_count)); in vp8cx_create_encoder_threads()543 vpx_malloc(sizeof(sem_t) * th_count)); in vp8cx_create_encoder_threads()545 vpx_memalign(32, sizeof(MB_ROW_COMP) * th_count)); in vp8cx_create_encoder_threads()546 memset(cpi->mb_row_ei, 0, sizeof(MB_ROW_COMP) * th_count); in vp8cx_create_encoder_threads()548 vpx_malloc(sizeof(ENCODETHREAD_DATA) * th_count)); in vp8cx_create_encoder_threads()[all …]