Searched refs:loop_res_sync (Results 1 – 1 of 1) sorted by relevance
526 AV1LrSync *const loop_res_sync = (AV1LrSync *)lr_sync; in lr_sync_read() local527 const int nsync = loop_res_sync->sync_range; in lr_sync_read()530 pthread_mutex_t *const mutex = &loop_res_sync->mutex_[plane][r - 1]; in lr_sync_read()533 while (c > loop_res_sync->cur_sb_col[plane][r - 1] - nsync) { in lr_sync_read()534 pthread_cond_wait(&loop_res_sync->cond_[plane][r - 1], mutex); in lr_sync_read()549 AV1LrSync *const loop_res_sync = (AV1LrSync *)lr_sync; in lr_sync_write() local550 const int nsync = loop_res_sync->sync_range; in lr_sync_write()563 pthread_mutex_lock(&loop_res_sync->mutex_[plane][r]); in lr_sync_write()565 loop_res_sync->cur_sb_col[plane][r] = cur; in lr_sync_write()567 pthread_cond_broadcast(&loop_res_sync->cond_[plane][r]); in lr_sync_write()[all …]