Lines Matching defs:ithread
622 int ithread = ((DECODETHREAD_DATA *)p_data)->ithread;
632 if (sem_wait(&pbi->h_event_start_decoding[ithread]) == 0)
641 mt_decode_mb_rows(pbi, xd, ithread+1);
653 unsigned int ithread;
675 for (ithread = 0; ithread < pbi->decoding_thread_count; ithread++)
677 sem_init(&pbi->h_event_start_decoding[ithread], 0, 0);
679 vp8_setup_block_dptrs(&pbi->mb_row_di[ithread].mbd);
681 pbi->de_thread_data[ithread].ithread = ithread;
682 pbi->de_thread_data[ithread].ptr1 = (void *)pbi;
683 pbi->de_thread_data[ithread].ptr2 = (void *) &pbi->mb_row_di[ithread];
685 pthread_create(&pbi->h_decoding_thread[ithread], 0, thread_decoding_proc, (&pbi->de_thread_data[ithread]));