Home
last modified time | relevance | path

Searched refs:protected_read (Results 1 – 3 of 3) sorted by relevance

/external/libvpx/libvpx/vp8/common/
Dthreading.h202 static INLINE int protected_read(pthread_mutex_t *const mutex, const int *p) { in protected_read() function
217 while (mb_col > (protected_read(mutex, last_row_current_mb_col) - nsync)) { in sync_read()
/external/libvpx/libvpx/vp8/encoder/
Dethreading.c28 if (protected_read(&cpi->mt_mutex, &cpi->b_multi_threaded) == 0) break; in thread_loopfilter()
32 if (protected_read(&cpi->mt_mutex, &cpi->b_multi_threaded) == 0) break; in thread_loopfilter()
50 if (protected_read(&cpi->mt_mutex, &cpi->b_multi_threaded) == 0) break; in thread_encoding_proc()
68 if (protected_read(&cpi->mt_mutex, &cpi->b_multi_threaded) == 0) break; in thread_encoding_proc()
615 if (protected_read(&cpi->mt_mutex, &cpi->b_multi_threaded)) { in vp8cx_remove_encoder_threads()
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c572 if (protected_read(&pbi->mt_mutex, &pbi->b_multithreaded_rd) == 0) break; in thread_decoding_proc()
575 if (protected_read(&pbi->mt_mutex, &pbi->b_multithreaded_rd) == 0) { in thread_decoding_proc()
727 if (protected_read(&pbi->mt_mutex, &pbi->b_multithreaded_rd)) { in vp8mt_alloc_temp_buffers()
796 if (protected_read(&pbi->mt_mutex, &pbi->b_multithreaded_rd)) { in vp8_decoder_remove_threads()