Home
last modified time | relevance | path

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

/external/libxcam/xcore/
Dfake_poll_thread.cpp71 if (_buf_pool.ptr ()) in stop()
72 _buf_pool->stop (); in stop()
113 if (!_buf_pool.ptr () && init_buffer_pool () != XCAM_RETURN_NO_ERROR) in poll_buffer_loop()
116 SmartPtr<VideoBuffer> buf = _buf_pool->get_buffer (_buf_pool); in poll_buffer_loop()
149 _buf_pool = new DrmBoBufferPool (drm_disp); in init_buffer_pool()
150 XCAM_ASSERT (_buf_pool.ptr ()); in init_buffer_pool()
152 if (_buf_pool->set_video_info (info) && _buf_pool->reserve (DEFAULT_FPT_BUF_COUNT)) in init_buffer_pool()
Dv4l2_device.cpp411 SmartPtr<V4l2Buffer> &buf = _buf_pool [i]; in start()
548 _buf_pool.clear (); in init_buffer_pool()
549 _buf_pool.reserve (_buf_count); in init_buffer_pool()
557 _buf_pool.push_back (new_buf); in init_buffer_pool()
560 if (_buf_pool.empty()) { in init_buffer_pool()
578 _buf_pool.clear (); in fini_buffer_pool()
610 buf = _buf_pool [v4l2_buf.index]; in dequeue_buffer()
Dfake_poll_thread.h54 SmartPtr<BufferPool> _buf_pool; variable
Dv4l2_device.h141 BufferPool _buf_pool; variable
/external/libxcam/modules/ocl/
Dcl_image_handler.cpp125 SmartPtr<DrmBoBufferPool> pool = _buf_pool.dynamic_cast_ptr<DrmBoBufferPool> (); in enable_buf_pool_swap_flags()
167 if (_buf_pool.ptr ()) in create_buffer_pool()
207 _buf_pool = buffer_pool; in create_buffer_pool()
215 if (!_buf_pool.ptr ()) //execute not triggered in is_ready()
217 if (_buf_pool->has_free_buffers ()) in is_ready()
266 if (!_buf_pool.ptr ()) { in prepare_output_buf()
284 output = _buf_pool->get_buffer (_buf_pool); in prepare_output_buf()
306 if (_buf_pool.ptr ()) in emit_stop()
307 _buf_pool->stop (); in emit_stop()
Dcl_image_handler.h145 return _buf_pool; in get_buffer_pool()
159 SmartPtr<BufferPool> _buf_pool; variable