Searched refs:ithread (Results 1 – 4 of 4) sorted by relevance
56 int ithread = ((ENCODETHREAD_DATA *)p_data)->ithread; in thread_encoding_proc() local70 if (sem_wait(&cpi->h_event_start_encoding[ithread]) == 0) in thread_encoding_proc()84 … for (mb_row = ithread + 1; mb_row < cm->mb_rows; mb_row += (cpi->encoding_thread_count + 1)) in thread_encoding_proc()466 int ithread; in vp8cx_create_encoder_threads() local501 for (ithread = 0; ithread < th_count; ithread++) in vp8cx_create_encoder_threads()503 ENCODETHREAD_DATA * ethd = &cpi->en_thread_data[ithread]; in vp8cx_create_encoder_threads()505 sem_init(&cpi->h_event_start_encoding[ithread], 0, 0); in vp8cx_create_encoder_threads()506 ethd->ithread = ithread; in vp8cx_create_encoder_threads()508 ethd->ptr2 = (void *)&cpi->mb_row_ei[ithread]; in vp8cx_create_encoder_threads()510 pthread_create(&cpi->h_encoding_thread[ithread], 0, thread_encoding_proc, ethd); in vp8cx_create_encoder_threads()
210 int ithread; member216 int ithread; member
219 int ithread = ((DECODETHREAD_DATA *)p_data)->ithread; in thread_decoding_proc() local230 if (sem_wait(&pbi->h_event_start_decoding[ithread]) == 0) in thread_decoding_proc()244 … for (mb_row = ithread+1; mb_row < pc->mb_rows; mb_row += (pbi->decoding_thread_count + 1)) in thread_decoding_proc()259 pbi->mb_row_di[ithread].mb_row = mb_row; in thread_decoding_proc()260 pbi->mb_row_di[ithread].mbd.current_bc = &pbi->mbc[mb_row%num_part]; in thread_decoding_proc()428 int ithread; in vp8_decoder_create_threads() local445 for (ithread = 0; ithread < pbi->decoding_thread_count; ithread++) in vp8_decoder_create_threads()447 sem_init(&pbi->h_event_start_decoding[ithread], 0, 0); in vp8_decoder_create_threads()449 pbi->de_thread_data[ithread].ithread = ithread; in vp8_decoder_create_threads()450 pbi->de_thread_data[ithread].ptr1 = (void *)pbi; in vp8_decoder_create_threads()[all …]
23 int ithread; member