Lines Matching refs:h_event_start_encoding
55 if (vp8_sem_wait(&cpi->h_event_start_encoding[ithread]) == 0) { in thread_encoding_proc()
517 CHECK_MEM_ERROR(&cpi->common.error, cpi->h_event_start_encoding, in vp8cx_create_encoder_threads()
542 vp8_sem_init(&cpi->h_event_start_encoding[ithread], 0, 0); in vp8cx_create_encoder_threads()
558 vp8_sem_post(&cpi->h_event_start_encoding[ithread]); in vp8cx_create_encoder_threads()
561 vp8_sem_destroy(&cpi->h_event_start_encoding[ithread]); in vp8cx_create_encoder_threads()
566 vpx_free(cpi->h_event_start_encoding); in vp8cx_create_encoder_threads()
567 cpi->h_event_start_encoding = NULL; in vp8cx_create_encoder_threads()
594 vp8_sem_post(&cpi->h_event_start_encoding[ithread]); in vp8cx_create_encoder_threads()
597 vp8_sem_destroy(&cpi->h_event_start_encoding[ithread]); in vp8cx_create_encoder_threads()
604 vpx_free(cpi->h_event_start_encoding); in vp8cx_create_encoder_threads()
605 cpi->h_event_start_encoding = NULL; in vp8cx_create_encoder_threads()
631 vp8_sem_post(&cpi->h_event_start_encoding[i]); in vp8cx_remove_encoder_threads()
636 vp8_sem_destroy(&cpi->h_event_start_encoding[i]); in vp8cx_remove_encoder_threads()
652 vpx_free(cpi->h_event_start_encoding); in vp8cx_remove_encoder_threads()
653 cpi->h_event_start_encoding = NULL; in vp8cx_remove_encoder_threads()