Home
last modified time | relevance | path

Searched refs:lf_sync (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_thread_common.c37 static INLINE void sync_read(VP9LfSync *const lf_sync, int r, int c) { in sync_read() argument
39 const int nsync = lf_sync->sync_range; in sync_read()
42 pthread_mutex_t *const mutex = &lf_sync->mutex_[r - 1]; in sync_read()
45 while (c > lf_sync->cur_sb_col[r - 1] - nsync) { in sync_read()
46 pthread_cond_wait(&lf_sync->cond_[r - 1], mutex); in sync_read()
51 (void)lf_sync; in sync_read()
57 static INLINE void sync_write(VP9LfSync *const lf_sync, int r, int c, in sync_write() argument
60 const int nsync = lf_sync->sync_range; in sync_write()
74 mutex_lock(&lf_sync->mutex_[r]); in sync_write()
76 lf_sync->cur_sb_col[r] = cur; in sync_write()
[all …]
Dvp9_thread_common.h43 void vp9_loop_filter_alloc(VP9LfSync *lf_sync, struct VP9Common *cm, int rows,
47 void vp9_loop_filter_dealloc(VP9LfSync *lf_sync);
56 VP9LfSync *lf_sync);