Home
last modified time | relevance | path

Searched refs:row_mt_sync (Results 1 – 6 of 6) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_ethread.c256 void vp9_row_mt_sync_mem_alloc(VP9RowMTSync *row_mt_sync, VP9_COMMON *cm, in vp9_row_mt_sync_mem_alloc() argument
258 row_mt_sync->rows = rows; in vp9_row_mt_sync_mem_alloc()
263 CHECK_MEM_ERROR(cm, row_mt_sync->mutex_, in vp9_row_mt_sync_mem_alloc()
264 vpx_malloc(sizeof(*row_mt_sync->mutex_) * rows)); in vp9_row_mt_sync_mem_alloc()
265 if (row_mt_sync->mutex_) { in vp9_row_mt_sync_mem_alloc()
267 pthread_mutex_init(&row_mt_sync->mutex_[i], NULL); in vp9_row_mt_sync_mem_alloc()
271 CHECK_MEM_ERROR(cm, row_mt_sync->cond_, in vp9_row_mt_sync_mem_alloc()
272 vpx_malloc(sizeof(*row_mt_sync->cond_) * rows)); in vp9_row_mt_sync_mem_alloc()
273 if (row_mt_sync->cond_) { in vp9_row_mt_sync_mem_alloc()
275 pthread_cond_init(&row_mt_sync->cond_[i], NULL); in vp9_row_mt_sync_mem_alloc()
[all …]
Dvp9_ethread.h51 void vp9_row_mt_sync_read(VP9RowMTSync *const row_mt_sync, int r, int c);
52 void vp9_row_mt_sync_write(VP9RowMTSync *const row_mt_sync, int r, int c,
55 void vp9_row_mt_sync_read_dummy(VP9RowMTSync *const row_mt_sync, int r, int c);
56 void vp9_row_mt_sync_write_dummy(VP9RowMTSync *const row_mt_sync, int r, int c,
60 void vp9_row_mt_sync_mem_alloc(VP9RowMTSync *row_mt_sync, struct VP9Common *cm,
64 void vp9_row_mt_sync_mem_dealloc(VP9RowMTSync *row_mt_sync);
Dvp9_multi_thread.c84 vp9_row_mt_sync_mem_alloc(&this_tile->row_mt_sync, cm, jobs_per_tile_col); in vp9_row_mt_mem_alloc()
102 this_tile->row_mt_sync = this_col_tile->row_mt_sync; in vp9_row_mt_mem_alloc()
138 vp9_row_mt_sync_mem_dealloc(&this_tile->row_mt_sync); in vp9_row_mt_mem_dealloc()
171 memset(this_tile->row_mt_sync.cur_col, -1, in vp9_multi_thread_tile_init()
172 sizeof(*this_tile->row_mt_sync.cur_col) * jobs_per_tile_col); in vp9_multi_thread_tile_init()
Dvp9_encoder.h285 VP9RowMTSync row_mt_sync; member
Dvp9_firstpass.c916 (*(cpi->row_mt_sync_read_ptr))(&tile_data->row_mt_sync, mb_row, c); in vp9_first_pass_encode_tile_mb_row()
1332 (*(cpi->row_mt_sync_write_ptr))(&tile_data->row_mt_sync, mb_row, c, in vp9_first_pass_encode_tile_mb_row()
Dvp9_encodeframe.c3354 (*(cpi->row_mt_sync_read_ptr))(&tile_data->row_mt_sync, sb_row, in encode_rd_sb_row()
3408 (*(cpi->row_mt_sync_write_ptr))(&tile_data->row_mt_sync, sb_row, in encode_rd_sb_row()
4132 (*(cpi->row_mt_sync_read_ptr))(&tile_data->row_mt_sync, sb_row, in encode_nonrd_sb_row()
4216 (*(cpi->row_mt_sync_write_ptr))(&tile_data->row_mt_sync, sb_row, in encode_nonrd_sb_row()